mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 18:21:47 +00:00
fix: empty title playlist directory path
This commit is contained in:
@ -470,7 +470,7 @@ export async function downloadPlaylist(givenUrl?: string | URL) {
|
|||||||
?.as(YTNodes.MusicResponsiveListItemFlexColumn)
|
?.as(YTNodes.MusicResponsiveListItemFlexColumn)
|
||||||
?.title
|
?.title
|
||||||
?.text ??
|
?.text ??
|
||||||
'';
|
'NO_TITLE';
|
||||||
const isAlbum = !normalPlaylistTitle;
|
const isAlbum = !normalPlaylistTitle;
|
||||||
|
|
||||||
let safePlaylistTitle = filenamify(playlistTitle, { replacement: ' ' });
|
let safePlaylistTitle = filenamify(playlistTitle, { replacement: ' ' });
|
||||||
|
|||||||
Reference in New Issue
Block a user