Finished adding support for audio subscriptions, custom args for subscriptions, and custom output for subscription downloads

This commit is contained in:
Isaac Grynsztein
2020-06-21 23:27:14 -04:00
parent db81120645
commit 319bb0160b
13 changed files with 56 additions and 19 deletions

View File

@@ -195,7 +195,7 @@ export class PlayerComponent implements OnInit {
fullLocation = this.baseStreamPath + baseLocation + encodeURIComponent(fileName);
} else {
// default to video but include subscription name param
baseLocation = 'video/';
baseLocation = this.type === 'audio' ? 'audio/' : 'video/';
fullLocation = this.baseStreamPath + baseLocation + encodeURIComponent(fileName) + '?subName=' + this.subscriptionName +
'&subPlaylist=' + this.subPlaylist;
}