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

Add scrobble_filter to provide a configurable list of URI schemes not… #29

Closed
wants to merge 5 commits into from
Closed

Add scrobble_filter to provide a configurable list of URI schemes not… #29

wants to merge 5 commits into from

Conversation

fatg3erman
Copy link

… not scrobble

This should fix #28, however I've been testing it today and found that even with the Spotify web app scrobbling enabled, I don't see double scrobbles from Mopidy even if mopidy is also scrobbling.

Not sure why this is, perhaps it's only temporary, but adding this as a config value dosn't do any harm.

@fatg3erman
Copy link
Author

The failure appears to be something in pylast that I haven't changed, so I don't know what's failing. It runs on my system.

README.rst Outdated
@@ -41,12 +41,14 @@ found at ``~/.config/mopidy/mopidy.conf``::
[scrobbler]
username = alice
password = secret
scrobble_filer = list
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scrobble_filter?

@jjok
Copy link

jjok commented Nov 11, 2018

Looks good. I think I would call it "blacklist" though, to make it clearer that those extensions won't be scrobbled. It also means that you can add a "whitelist" at some point too.

Maybe backend_blacklist or extension_blacklist?

@fatg3erman
Copy link
Author

I agree. backend_blacklist is better. It's still failing the checks though but I don't know why. It's running fine for me.

@@ -41,12 +41,14 @@ found at ``~/.config/mopidy/mopidy.conf``::
[scrobbler]
username = alice
password = secret
backend_blacklist = list

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth considering a word other than "blacklist". How about "ignorelist"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree.

We also have some "ignore"/"exclude" lists in the config of other extensions, like Mopidy-Local and Mopidy-Files. I'd like this to be aligned with the naming there.

@@ -2,3 +2,4 @@
enabled = true
username =
password =
backend_blacklist =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you're missing a newline at the end of the file here.

@jodal jodal deleted the branch mopidy:master June 21, 2023 20:23
@jodal jodal closed this Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need URI filters for Scrobbles
4 participants