InputUsername/rescrobbled

Music submits twice

Closed this issue ยท 4 comments

image
Track submits
image
And in last.fm its twice

Filter:


import sys

# Filter scripts receive the track artist, title, album and comma-separated list of genre(s)
# on separate lines of their standard input...

artist, title, album, genres = (l.rstrip() for l in sys.stdin.readlines())
genres = genres.split(',')

# ...and should provide artist, title and album on the corresponding lines of the
# standard output

print(artist, title, album, sep='\n')```

@dibusure

...
And in last.fm its twice

The top one is the currently playing song - it's not actually submitted ๐Ÿ˜„ Or are you saying all songs actually appear twice?

Filter:
...

Btw, this looks like an example filter script, filter scripts are only useful if you want to change metadata or ignore certain songs.

@InputUsername, oh i'm sorry ๐Ÿ˜…, thank you for explanation.
and how i disable the filter script? filter-script=""?

@dibusure all good ๐Ÿ˜„

And you can just comment it out or remove it. If the script is not defined it will not be used.