#EXTVLCOPT in M3U files created by VLC, causes the playlist to fail importing

Bug #175162 reported by jdackle
6
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Unassigned

Bug Description

I have a m3u playlist constructed and saved by vlc in my local home folder.

This playlist consists of three mms: radio streams and always worked well with both vlc and (til recently) audacious (but this one has had other "new" problems...).

The said playlist is neither automatically detected by Exaile (it's in the Library path) nor does it do anything when that file is opened from the "Open Media" dialog.

Revision history for this message
jdackle (jdalinux) wrote :

BTW, version info:
exaile-0.2.10+debian-1.1ubuntu2 (gutsy)
From Gutsy's oficial repos

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Please attach a sample playlist that Exaile cannot read.

Changed in exaile:
status: New → Incomplete
Revision history for this message
jdackle (jdalinux) wrote :

Sorry, I only saw the request for an example playlist today!!! While reordering e-mails...

Attaching the concerned file now.

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Thanks. Assigning the bug to me for now, but if anyone wants to work on this, feel free.

Changed in exaile:
assignee: nobody → sjohannes
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
jstn (justin-pessa) wrote :

I listen to a radio stream of the mms type but also cannot get it to play in Exaile.

Johannes, I can test/verify your fix if needed.

Best,

- j (asdf)

Revision history for this message
Johannes Sasongko (sjohannes) wrote : Re: [Bug 175162] Re: Local m3u playlist not recognized

Note to anyone who wants to work on this:

The problem is in the playlist format:

#EXTM3U
#EXTINF:0,RDP - RDP - ANTENA 3
#EXTVLCOPT:http-caching=1200
mms://rdp.oninet.pt/antena3
#EXTVLCOPT:http-caching=1200
mms://stream.radio.com.pt/ROLI-ENC-098
#EXTINF:0,R?dio Radar
mms://stream.radio.com.pt/ROLI-ENC-201

The regex in Exaile expects an #EXTINF line followed by a path/URL,
which fails here.

Revision history for this message
jdackle (jdalinux) wrote : Re: Local m3u playlist not recognized

Thanks for your reply, Johannes

So, while someone does decide to work on this in the Exaile's code...
... Is it possible to manually "fix" the playlist?
If so, how?

I'm guessing it would be something like:
#EXTM3U
#EXTINF:0,RDP - RDP - ANTENA 3
#EXTVLCOPT:http-caching=1200
#EXTINF:mms://rdp.oninet.pt/antena3

Is my assumption correct?

Revision history for this message
Johannes Sasongko (sjohannes) wrote : Re: [Bug 175162] Re: Local m3u playlist not recognized

Exaile expects something like

#EXTM3U
#EXTINF:...
mms://...
#EXTINF:...
mms://...

Revision history for this message
jdackle (jdalinux) wrote : Re: Local m3u playlist not recognized

So, does that mean the playlist should look just like it is but withOUT the #EXTVLCOPT line?

Something like:

#EXTM3U
#EXTINF:0,RDP - RDP - ANTENA 3
mms://rdp.oninet.pt/antena3

?

Revision history for this message
Johannes Sasongko (sjohannes) wrote : Re: [Bug 175162] Re: Local m3u playlist not recognized

Yeah. The #EXTVLCOPT lines are VLC-specific, that's why we didn't anticipate it.

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Someone else fixed this in the 0.3 branch.

Changed in exaile:
assignee: sjohannes → nobody
milestone: none → 0.3.0
status: Triaged → Fix Committed
reacocard (reacocard)
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.