Blacklisted Artists
rdricco opened this issue · 3 comments
rdricco commented
Can you help me to create a script to blacklist some artists? I don't know but maybe this one can be a nice built-in feature.
InputUsername commented
Thanks for the suggestion, that would definitely be a useful feature. Currently, if the filter script doesn't return artist, title and album (ie. one or more are missing), the original artist/title/album are used.
I could change this into not submitting songs where the filtered info is missing. That way the filter script could filter songs by outputting nothing. Python example:
import sys
artist, title, album = (l.rstrip() for l in sys.stdin.readlines())
ignored_artists = {'Queen', 'Justin Bieber'}
if artist not in ignored_artists:
print(artist, title, album, sep='\n')
Does that sound reasonable to you?
rdricco commented
Looks great, I think will work fine.
InputUsername commented