diff --git a/bot.ts b/bot.ts index 6e3d0a1..dc57f86 100644 --- a/bot.ts +++ b/bot.ts @@ -155,8 +155,8 @@ export const bot: ApplicationFunction = (app) => { let urlEntriesToRenameText = ''; const urlFilenameEntries = playlistLookupResults.filter( - ({ found, filename }) => { - found && getPlaylistIdFromUrl(filename); + ({ found, filename, url }) => { + found && filename === url; } );