web-scrobbler icon indicating copy to clipboard operation
web-scrobbler copied to clipboard

Regex-based filters

Open awsms opened this issue 3 years ago • 9 comments

Recently, another great scrobbling service I use on my smartphone added a way to remove unwanted parts to scrobble thanks to regexes. For example, removing ' (Album Version)', ' (Original Mix)' etc from the tracknames; or letting the user set custom filters for the album and artist names. As you imagine, manually editing every single 'Original Mix' is quite redundant.

I think it would be great if web-scrobbler could implement something similar.

awsms avatar Jul 29 '21 21:07 awsms

Which scrobbler does this? (Interested both to see the implementation and for personal use.)

jaccarmac avatar Aug 02 '21 19:08 jaccarmac

This would be an amazing feature, as it stands right now I have to manually edit (almsot) every YT Music track to remove the "(feat. xxxxx)

landenpls avatar Aug 02 '21 22:08 landenpls

Which scrobbler does this? (Interested both to see the implementation and for personal use.)

It's https://github.com/kawaiiDango/pScrobbler

This would be an amazing feature, as it stands right now I have to manually edit (almsot) every YT Music track to remove the "(feat. xxxxx)

Same here..

awsms avatar Aug 03 '21 05:08 awsms

Doesn't web-scrobbler already do this? The key functionality was spun out into a library that you can install and use separately:

https://github.com/web-scrobbler/metadata-filter

I've also ported it to python:

https://github.com/djmattyg007/music-metadata-filter

djmattyg007 avatar Aug 15 '21 12:08 djmattyg007

Doesn't web-scrobbler already do this? The key functionality was spun out into a library that you can install and use separately:

https://github.com/web-scrobbler/metadata-filter

I've also ported it to python:

https://github.com/djmattyg007/music-metadata-filter

Can this be implemented in the scrobbler addon itself with an UI for easier use?

flickur avatar Sep 06 '21 19:09 flickur

Bumping this since I've been using pano scrobbler on my phone for some time now and the pattern filter is awesome. It would fix most of my problems with webscrobbler. Please make this happen.

flickur avatar Sep 18 '21 16:09 flickur

It isn't clear exactly what you're asking for. The metadata-filter package is already integrated into web-scrobbler.

Are you after the ability to define custom patterns?

djmattyg007 avatar Sep 19 '21 01:09 djmattyg007

Same thing OP is suggesting. Ability to set pattern filters that apply to all your scrobbles. There is no such function in the webscrobbler options, only the list of your edited single tracks. Here's an example from pano scrobbler where it gets rid of every "- radio edit" that appears in the track name.

image

flickur avatar Sep 19 '21 12:09 flickur

So, yes, you’re after the ability to define custom patterns 👍

djmattyg007 avatar Sep 19 '21 14:09 djmattyg007