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

AttributeError in qlscrobbler.py when trying to scrobble to last.fm #2768

Closed
hell-g opened this Issue Feb 8, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@hell-g

hell-g commented Feb 8, 2018

I set up AudioScrobbler Submission plugin to scrobble to last.fm. The configuration dialog for the AudioScrobbler Submission gives me an authentication successful when I hit the verify account data button. I was expecting, that the songs I play in quodlibet would show up in my last.fm account page. But I could not see any of the songs I played on my last.fm profile page. I tried with other software that I had set up to scrobble to last.fm and those worked.

When starting quodlibet from the terminal, I see the following output after I start playing the first song:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.6/site-packages/quodlibet/ext/events/qlscrobbler.py", line 224, in run
if self.send_submission():
File "/usr/lib/python3.6/site-packages/quodlibet/ext/events/qlscrobbler.py", line 316, in send_submission
data['%s[%d]' % (key, idx)] = val.encode('utf-8')
AttributeError: 'bytes' object has no attribute 'encode'

I am running Quod Libet 4.0.2, Mutagen 1.39 on Arch Linux 4.15.1-2-ARCH #1 SMP x86_64 with python 3.6.4.

Thank you for looking into this!!

@lazka

This comment has been minimized.

Member

lazka commented Feb 8, 2018

thanks

@lazka lazka added the bug label Feb 8, 2018

@lazka lazka added this to the 4.0.3 milestone Feb 8, 2018

luk1337 added a commit to luk1337/quodlibet that referenced this issue Feb 17, 2018

luk1337 added a commit to luk1337/quodlibet that referenced this issue Feb 17, 2018

@lazka

This comment has been minimized.

Member

lazka commented May 15, 2018

for reference: #2778

@lazka lazka closed this in 9f826ce May 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment