Cannot add radio stream

Bug #898068 reported by Vincent Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Mathias Brodala
exaile (Debian)
Fix Released
Unknown

Bug Description

Forwarded from Debian's BTS: http://bugs.debian.org/649371
This bug affects Exaile version 0.3.2.2 on Debian testing/unstable.

When trying to add a radio stream to exaile, I get the following exception:
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/exaile/xlgui/panel/radio.py", line 222, in _do_add_playlist
    pl = playlist.import_playlist(uri)
  File "/usr/lib/exaile/xl/playlist.py", line 372, in import_playlist
    return import_from_asx(path)
  File "/usr/lib/exaile/xl/playlist.py", line 261, in import_from_asx
    tree = ETree.ElementTree(file=urllib.urlopen(path))
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 611, in __init__
    self.parse(file)
  File "<string>", line 35, in parse
ParseError: mismatched tag: line 6, column 2

The stream is not added.

Changed in exaile (Debian):
status: Unknown → Confirmed
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

> File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 611, in __init__
> self.parse(file)
> File "<string>", line 35, in parse
> ParseError: mismatched tag: line 6, column 2

This indicates that the stream playlist is broken (invalid XML). Could you check whether that's the case?

Changed in exaile:
status: New → Incomplete
Revision history for this message
Mathias Brodala (mathbr) wrote :

This should have been fixed by r3488 since a parser error now results in the playlist itself being added as track.

Changed in exaile:
assignee: nobody → Mathias Brodala (mathbr)
importance: Undecided → Low
milestone: none → 0.3.3.0
status: Incomplete → Fix Committed
Changed in exaile (Debian):
status: Confirmed → Fix Released
Changed in exaile:
status: Fix Committed → Fix Released
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.