Check for entries with matching url and filename

This commit is contained in:
Maciej Pędzich 2023-01-28 12:55:41 +01:00
parent 8add924dd4
commit 89b6aba98a

4
bot.ts
View File

@ -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;
}
);