-
Notifications
You must be signed in to change notification settings - Fork 10
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
Artist-specific suffixes #106
Comments
And on the subject of multiple types of suffixes, apparently some Glee songs have titles like so:
|
Filters (and filter functions) don't know about artists in the context of now playing song. Obviously, you can write a function which uses a hardcoded list of artists, but I don't think it's a good solution. For now, the only solution is to use custom filter functions in client code. For example, in Web Scrobbler we use a filter function to filter YouTube titles conditionally (yes, this filter function is not a pure function). Another possible way is to pass this context to the filter, so filter functions would know about additional information they could use to filter a field value. This way also requires building the context object to pass it to the filter. |
I believe everything that is suffixed by "Version" label should be removed, right? |
Sorry, I didn't explain what I was meaning well enough. I definitely don't think it's a good idea to require supplemental metadata (ie. the artist name) to process track titles. What I'm wondering is whether you'd accept a filter to (for example) remove the specific suffix And if so, how do you want to categorise these kinds of filters?
I don't think so. This is what I get with a quick test on the
|
Aha, I got it. I think it's fine to add such filters.
I see two different options.
Sorry, I confused it with the |
I don't think it would be a good idea to implement a generic "strip Version suffixes" rule, as this would also impact song titles like I guess I'll start by adding these artist-specific filters to the |
As part of my rabbit hole dive I came across a couple of artists for whom basically all song titles have an artist-specific suffix.
Basically all songs by
Glee Cast
are suffixed with(Glee Cast Version)
or- Glee Cast Version
It appears all songs by
Kelsea Ballerini
have titles suffixed with- ballerini album version
Is it appropriate to add artist-specific filters for track titles like this?
The text was updated successfully, but these errors were encountered: