mrusse / soularr

A Python script that connects Lidarr with Soulseek!
77 stars 7 forks source link

Choose different release and retry if no match is made. #11

Open mrusse opened 1 month ago

mrusse commented 1 month ago

Just noticed a probem when grabbing Mac Demarco - Another One

The script chooses the 16 track release with all the instrumentals.

Selected release for Mac DeMarco: Official, Canada, Digital Media, Mediums: 1, Tracks: 16, ID: 21315

Not many people seem to have the album in this format so the search fails. The problem is that there are plenty of users that have the release that contains 8 tracks. I have thought for a while that if a search fails it should try and search for a separate release. This could be an optional setting in the config of course (maybe even with a number of releases to try before moving on). Another idea is if it checks all the releases and still fails then remove it from the wanted list in Lidarr (to prevent it being tried again on the next run) although I'm not 100% on that idea yet.

Will try to work on this myself when I have time this week but I thought I'd post it here in case anyone wants to take a crack at it.