mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-12 20:41:37 +02:00
Revert incorrect changes
This commit is contained in:
parent
d8086be5cf
commit
5ce3f92023
2 changed files with 9 additions and 10 deletions
|
@ -92,8 +92,7 @@ export default class implements Command {
|
|||
// YouTube source
|
||||
if (url.searchParams.get('list')) {
|
||||
// YouTube playlist
|
||||
const playlist = await this.getSongs.youtubePlaylist(url.searchParams.get('list')!, playlistLimit);
|
||||
newSongs.push(...playlist);
|
||||
newSongs.push(...await this.getSongs.youtubePlaylist(url.searchParams.get('list')!));
|
||||
} else {
|
||||
// Single video
|
||||
const song = await this.getSongs.youtubeVideo(url.href);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue