mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 00:33:19 +03:00
Fixed bug where updating an audio playlist would cause it to believe it was a video playlist
This commit is contained in:
@@ -264,7 +264,7 @@ export class PlayerComponent implements OnInit {
|
|||||||
this.playlist_updating = false;
|
this.playlist_updating = false;
|
||||||
if (res['success']) {
|
if (res['success']) {
|
||||||
const fileNamesEncoded = fileNames.join('|nvr|');
|
const fileNamesEncoded = fileNames.join('|nvr|');
|
||||||
this.router.navigate(['/player', {fileNames: fileNamesEncoded, type: 'video', id: this.id}]);
|
this.router.navigate(['/player', {fileNames: fileNamesEncoded, type: this.type, id: this.id}]);
|
||||||
this.openSnackBar('Successfully updated playlist.', '');
|
this.openSnackBar('Successfully updated playlist.', '');
|
||||||
this.original_playlist = JSON.stringify(this.playlist);
|
this.original_playlist = JSON.stringify(this.playlist);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user