Added max concurrent downloads setting

Fixed issue where navigating to a subscription video would make the player behave like a playlist for the whole sub
This commit is contained in:
Isaac Abadi
2021-09-15 09:44:31 -06:00
parent dbefb66021
commit 775a1766d8
8 changed files with 18 additions and 7 deletions

View File

@@ -184,7 +184,7 @@ export class RecentVideosComponent implements OnInit {
// normal subscriptions
!new_tab ? this.router.navigate(['/player', {uid: file.uid,
type: file.isAudio ? 'audio' : 'video', sub_id: sub.id}])
: window.open(`/#/player;uid=${file.uid};type=${file.isAudio ? 'audio' : 'video'};sub_id=${sub.id}`);
: window.open(`/#/player;uid=${file.uid};type=${file.isAudio ? 'audio' : 'video'}`);
}
} else {
// normal files

View File

@@ -141,10 +141,6 @@ export class UnifiedFileCardComponent implements OnInit {
fullLocation += `&jwt=${this.jwtString}`;
}
if (this.file_obj['sub_id']) {
fullLocation += `&sub_id=${this.file_obj['sub_id']}`;
}
fullLocation += '&t=,10';
return fullLocation;