0.3b1 not importing m3u file on Intrepid

Bug #416771 reported by RgnKjnVA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Unassigned

Bug Description

Per this thread (http://exaile.org/forum/viewtopic.php?f=4&t=438) I'm submitting one of my m3u files that won't import into Exaile 0.3b1 on Intrepid. I built from source and confirmed I have all dependencies on the Requirements page. When I try to open my m3u files nothing happens in the UI. The m3u file was generated by Winamp, it works with Amarok on this machine.

Attempting to open a local file:

Traceback (most recent call last):
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 240, in open_dialog
    self.open_uri(file, play=False)
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 246, in open_uri
    self._open_uri(uri, play)
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 255, in _open_uri
    pl = playlist.import_playlist(uri)
  File "/usr/local/lib/exaile/xl/playlist.py", line 340, in import_playlist
    return import_from_m3u(path)
  File "/usr/local/lib/exaile/xl/playlist.py", line 116, in import_from_m3u
    length = float(comma_separated[0])
ValueError: empty string for float()

Attempting to open an URL:

Traceback (most recent call last):
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 199, in open_url
    self.open_uri(url, play=False)
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 246, in open_uri
    self._open_uri(uri, play)
  File "/usr/local/lib/exaile/xlgui/__init__.py", line 255, in _open_uri
    pl = playlist.import_playlist(uri)
  File "/usr/local/lib/exaile/xl/playlist.py", line 340, in import_playlist
    return import_from_m3u(path)
  File "/usr/local/lib/exaile/xl/playlist.py", line 116, in import_from_m3u
    length = float(comma_separated[0])
ValueError: empty string for float()

#EXTM3U
#EXTINF:0,1080.FM - The Planet * The New Rock Alternative
http://scfire-mtc-aa02.stream.aol.com:80/stream/1030
#EXTINF:0,181.FM - The Buzz
http://scfire-ntc-aa06.stream.aol.com:80/stream/1022
#EXTINF:0,1.FM - Channel X
http://209.51.161.54:8070
#EXTINF:0,.977 The Alternative Channel
http://64.237.49.76:8015
#EXTINF:0,idobi Radio:Music that doesn't suck
http://72.13.82.34:80
#EXTINF:0,Big R Radio - 90s Alternative
http://66.90.121.7:10015
#EXTINF:0,ChroniX Radio: Grit
http://216.218.159.157:10010
#EXTINF:0,Big R Radio - Alternative Rock
http://66.90.121.11:10017
#EXTINF:0,AOL Radio - Top Alternative
http://208.80.52.160:80/CBS_R20_921P_F128CMP3
#EXTINF:0,AOL Radio - Alternative Mix
http://208.80.52.128:80/CBS_R20_752P_F128CMP3
#EXTINF:0,AOL Radio - New Alternative First
http://208.80.54.89:80/CBS_R20_860P_F128CMP3
#EXTINF:0,AOL Radio - Xtreme Alt Rock
http://208.80.54.106:80/CBS_R20_944P_F128CMP3
#EXTINF:0,106.7 The Fan
http://208.80.52.68:80/WJFKFMCMP3

RgnKjnVA (rgnkjnva)
description: updated
description: updated
description: updated
Revision history for this message
reacocard (reacocard) wrote :

fixed in r2383

Changed in exaile:
importance: Undecided → Medium
milestone: none → 0.3.0
status: New → Fix Committed
RgnKjnVA (rgnkjnva)
description: updated
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
Revision history for this message
RgnKjnVA (rgnkjnva) wrote :

Verified fix in 0.3.0 here. Thanks!

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.