config settings now just have url and port

fixed bug where multi download mode would not allow file card link clicking
This commit is contained in:
Isaac Grynsztein
2020-02-28 00:14:46 -05:00
parent 09bdae90e2
commit 5e331b9ffa
8 changed files with 28 additions and 35 deletions

View File

@@ -58,11 +58,7 @@ export class PlayerComponent implements OnInit {
this.baseStreamPath = result['YoutubeDLMaterial']['Downloader']['path-base'];
this.audioFolderPath = result['YoutubeDLMaterial']['Downloader']['path-audio'];
this.videoFolderPath = result['YoutubeDLMaterial']['Downloader']['path-video'];
const backendUrl = result['YoutubeDLMaterial']['Host']['backendurl'];
this.postsService.path = backendUrl + 'api/';
this.postsService.startPath = backendUrl;
this.postsService.startPathSSL = backendUrl;
let fileType = null;
if (this.type === 'audio') {