miraclx / freyr-js

A tool for downloading songs from music streaming services like Spotify and Apple Music.
https://git.io/freyr-js
Apache License 2.0
1.54k stars 99 forks source link

Ability to force a particular source choice? #428

Open miraclx opened 1 year ago

miraclx commented 1 year ago

Discussed in https://github.com/miraclx/freyr-js/discussions/427

Originally posted by **@bpfaust** February 3, 2023 Hi - not sure if I just can't find the parameter/configuration for this but is there an ability to tell the source selection step to skip/ignore the top ranked source and move to the next one? Having some songs come back as either alt versions, covers, etc. with the log showing multiple sources found, so I would like to have the tool skip the top one and try the next option instead. Most recent example is trying to grab Jesus of Suburbia by Green Day results in the broadway show version coming back, rather than the original: https://open.spotify.com/track/10lT3pp9QERGOWiIzLx4We?si=659a0adbee964fe0 Thanks!
miraclx commented 1 year ago

@bpfaust, looks like this is related to #406, #418.

A potential resolution could be as is documented in https://github.com/miraclx/freyr-js/issues/406#issuecomment-1375863641

One potential approach is to search by ISRC on YouTube Music instead of the current implementation of searching for the title+artist(s) and filtering for best-match. Especially since the classification criteria doesn't include explicitness.

Will investigate

bpfaust commented 1 year ago

Sounds good - thanks for taking a look