Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Bias for Original and Extended Versions #2181

Open
Enteee opened this issue Sep 5, 2024 · 2 comments
Open

Filter Bias for Original and Extended Versions #2181

Enteee opened this issue Sep 5, 2024 · 2 comments
Labels
Feature Request Feature Request

Comments

@Enteee
Copy link

Enteee commented Sep 5, 2024

Requested Feature

Most music on spotify are radio edits. Radio edits are shorter versions of the original and or extended version of the same song.

It would be very cool if spotdl filtering could be instructed to prefer original or extended versions using a command line switch and/or config option.

I would be happy to help contribute this feature, but I really don't know how to approach this for now. Opening this issue to collect some ideas.

Possible implementation

I already tried changing the search_query to "{artists} - {title} (Extended Mix)" but this mostly yields very poor results since spotdl will start downloading mostly trash versions of the same song, 10h extended, etc.

I was thinking maybe we could change the query filtering algorithm in a way, so that when extended is true , the filtering algorithm prefers songs which are slightly longer than the song on spotify.

Or we could try to detect radio edits (how?) and then remove those.

But maybe there is an even better way to do this...

@Enteee Enteee added the Feature Request Feature Request label Sep 5, 2024
@maraneder
Copy link

Can I work on this?

@xnetcat
Copy link
Member

xnetcat commented Nov 1, 2024

Can I work on this?

Sure, in my opinion it would be the best to prioritize the search query when matching the songs across the results instead of adding a new flag just for extended mixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants