Merge pull request 'update parsePerformers function to include featured artists in track performers' (#5) from jhoan/lucida:fix/parse-qobuz into main

Reviewed-on: https://codeberg.org/lucida/lucida/pulls/5
This commit is contained in:
lucida 2025-07-20 20:07:16 +02:00
commit b4f4eb259a

View File

@ -148,7 +148,11 @@ function parsePerformers(performers: string, track: Track) {
if (credits.toLowerCase().includes('producer')) track.producers.push(name)
if (credits.toLowerCase().includes('lyricist')) track.lyricists.push(name)
if (credits.toLowerCase().includes('composer')) track.composers.push(name)
if (credits.toLowerCase().includes('performer')) track.performers.push(name)
if (
credits.toLowerCase().includes('performer') ||
credits.toLowerCase().includes('featuredartist')
)
track.performers.push(name)
if (credits.toLowerCase().includes('engineer')) track.engineers.push(name)
}