chore: update public repo

This commit is contained in:
desu-bot 2025-08-14 09:21:11 +00:00
parent ccc5f98f34
commit 728699b3ec
No known key found for this signature in database
8 changed files with 1990 additions and 95 deletions

View file

@ -0,0 +1,22 @@
import { fetchSongsIter } from '../../../utils/navidrome.ts'
const IGNORE_PATHS = [
's3/Electronic/_Compilations/keygenjukebox/',
]
let count = 0
for await (const song of fetchSongsIter()) {
if (IGNORE_PATHS.some(path => song.path.startsWith(path))) {
continue
}
for (const field of ['mbzRecordingID', 'mbzReleaseTrackId', 'mbzAlbumId', 'mbzReleaseGroupId']) {
if (!song[field]) {
console.log('found missing %s: %s - %s (%s)', field, song.artist, song.title, song.path)
count++
break
}
}
}
console.log('found %d tracks without mbz ids', count)

View file

@ -0,0 +1,21 @@
import { fetchSongsIter } from '../../../utils/navidrome.ts'
const WHITELIST_ARTISTS = new Set([
'betwixt & between',
'10th avenue cafe/tak',
'overmind and potatoes',
])
let count = 0
for await (const song of fetchSongsIter()) {
if (
(!song.participants?.artist || song.participants.artist.length === 1)
&& song.artist.match(/, | and | & |\/| x | feat\. /i)
&& !WHITELIST_ARTISTS.has(song.artist.toLowerCase())
) {
console.log('possible multiartist: %s - %s (%s)', song.artist, song.title, song.path)
count++
}
}
console.log('found %d possible multiartists', count)