problem scrobbling to libre.fm

Bug #534428 reported by kookcomputer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Listen
Fix Committed
Medium
Unassigned

Bug Description

hi,
well when listening to music i like to scrobble to libre.fm. so handshake succeed, but then i get the following output:

Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/listen/audioscrobbler_manager.py", line 162, in submit
    if self.submit_songs(tmp_queue):
  File "/usr/lib/listen/audioscrobbler_manager.py", line 194, in submit_songs
    (host, file) = self.submit_url[7:].split("/")
ValueError: too many values to unpack

i installed version 0.6.4
running debian squeeze
sorry for any circumstances.
thanks

Mehdi Abaakouk (sileht)
Changed in listen:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Mehdi Abaakouk (theli48)
milestone: none → 0.6.6
Revision history for this message
Mehdi Abaakouk (sileht) wrote :

=== modified file 'src/audioscrobbler_manager.py'
--- src/audioscrobbler_manager.py 2010-02-27 16:23:48 +0000
+++ src/audioscrobbler_manager.py 2010-03-08 15:06:33 +0000
@@ -188,9 +188,7 @@
             data["r[%d]" % i] = "".encode('utf-8')

-
- (host, file) = self.submit_url[7:].split("/")
- url = "http://" + host + "/" + file
+ url = self.submit_url
         resp = None
         try:
                 data_str = urlencode(data)

Changed in listen:
status: Confirmed → Fix Committed
Revision history for this message
kookcomputer (kookcomputer) wrote :

pretty fast. thats it! thanks.

Mehdi Abaakouk (sileht)
Changed in listen:
assignee: Mehdi Abaakouk (sileht) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.