mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-10 00:43:02 +01:00
Check for entries with matching url and filename
This commit is contained in:
parent
8add924dd4
commit
89b6aba98a
4
bot.ts
4
bot.ts
@ -155,8 +155,8 @@ export const bot: ApplicationFunction = (app) => {
|
|||||||
|
|
||||||
let urlEntriesToRenameText = '';
|
let urlEntriesToRenameText = '';
|
||||||
const urlFilenameEntries = playlistLookupResults.filter(
|
const urlFilenameEntries = playlistLookupResults.filter(
|
||||||
({ found, filename }) => {
|
({ found, filename, url }) => {
|
||||||
found && getPlaylistIdFromUrl(filename);
|
found && filename === url;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user