-
Notifications
You must be signed in to change notification settings - Fork 98
Enhanced Submission Rules - don't scrobble podcasts / ebooks #127
Comments
How would you determine what a podcast play is? |
Genre? |
Hmm this could work from a little reading that I've done. See this quote:
I don't know if track genre is being served up though. I guess it could be a proposition to extend sls integration mechanism. |
Excellent. Yes, I too have seen Podcast used as the genre in nearly all of those I subscribe to. MediaMonkey maintains a Type field that classifies files as Music, Podcast, Video, and the like but this may be app-specific so I'm unclear on whether this is contained within ID3. |
It isn't certain that SLS can read the genre data, or any other metadata except the track name, artist name, and album name. Perhaps also the duration. Perhaps there is some other way to distinguish these kinds of tracks - duration > 30min? "[podcast]" in the name? Or something else. It might be possible to configure in SLS to "dont scrobble tracks longer than X minutes/seconds". What do you think? |
I guess having the ability to disable scrobbling for tracks that are longer then X would be a work around. Alternatively, in my opinion what feels better would be a blacklist filtering mechanism. For example most podcasts I have seen come in a format similar to: Laravel IO - Episode 15 - ActiveRecord, Laravel Haterade, DHH and Laracon Stuff with Taylor Otwell, Jeffrey Way, Mitchell van W So perhaps allowing the user to specify some regular expressions of what to block. Which for the above would be something like |
@tgwizard A bunch legitimate music and ambient tracks (that are not full albums or compilations) in my library are close to or over 30 minutes:
If all the other data you can get is just track name, artist name, and album name, then unfortunately the best solution seems to just be a manually curated app blacklist (I assume you can figure out which app is sending the now playing notification?). |
How do you think the handling of of a blacklist list feature should be handled? I feel we have one of two options.
Opinions? |
The per-app basis would be pretty complicated for users to use, as I would imagine you would have to combine that with the filtering as you suggested before. I wouldn't be against it, but it would definitely have to be put in some advanced settings menu. I would prefer the global one due to simplicity. This will cover for-purpose apps like podcast apps and audiobook apps like Audible. |
I agree with @eligrey as I also have tracks longer than 30min. I think the regular expression idea by @inverse could work well if reading genre data in SLS is not an option. Probably support for multiple exclusion criteria would be necessary. For example, exclude both |
Also, to add to your filter list if you guys do decide to have default filters: |
Yeah - I think a global one would be a better fit for the app and would certainly complicate things less for the end user. |
Regexps are fine for advanced users, but how do we explain this to regular non-regexp users? Perhaps just a list of "don't scrobble if track contains any of these words"? What about album, and artist? |
If anyone wants to look at the code, they intents broadcasted by the media players (containing the track info) is received by BroadcastReceivers such as https://github.com/tgwizard/sls/blob/master/src/com/adam/aslfms/receiver/AndroidMusicReceiver.java. The logic to filter tracks could perhaps be placed here: https://github.com/tgwizard/sls/blob/master/src/com/adam/aslfms/receiver/AbstractPlayStatusReceiver.java#L99 (after we check if we should scrobble this music app). |
I thought of printing all the keys of bundle received from default android music player and a podcast app . Can anyone find any criteria that we can use from this list to filter normal music from a podcast? " And from a podcast app named "podcast addict" " |
This is a bit of an issue for me too. SLS scrobbles podcasts from Podcast Addict app so I switched to AntennaPod and since recently it also began to scrobble audiobooks from Smart AudioBook Player... |
I might be able to do this with Dikamilo's #50 |
After researching, I don't think there is a method for obtaining which pkg is using audio so no way to control scrobbling except for filters. |
There is no clear cut criteria for detecting podcasts. |
Is it possible to support additional submission criteria such as excluding Podcast plays from scrobbling?
The text was updated successfully, but these errors were encountered: