Bugs item #805697, was opened at 2003-09-13 17:36
Message generated for change (Comment added) made by dischi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=805697&group_id=46652

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Brian Enigma (brienigma)
Assigned to: Nobody/Anonymous (nobody)
Summary: XML Processing, MPlayer, and "&"

Initial Comment:
It would appear that either (1) the ampersand is not being 
properly parsed from XML files or (2) the ampersand is not 
being properly escaped when passed to mplayer.  Case in 
point, the following URL ("borrowed" from the iTunes data 
files) goes to an 80's net radio station hosted by Live365:

http://pri.kts-af.net/redir/
index.pls?esid=7fb03b47e14d5529963f40010b103ffd&url_no=
2&client_id=7&uid=68efed4d03ec7e45fd3978262c107180&clic
ksrc=xml

It works perfectly fine using mplayer on the command line 
(of course, putting single-quotes around the URL so that 
bash/tcsh does not try to spawn half a dozen new processes 
from the "&").

The same URL does not work when placed in an fxd file--
neither the "raw" URL, as given exactly above, or the 
escaped URL (with & properly escaped as &).



===== relevant portion of Freevo debug output =====

freevo 

freevo     
title Club 80's With DJ Lex
   (attribute title ends)
0 

0     
audio 

audio       
   (attribute mplayer_options ends)
mplayer_options 

mplayer_options         
url http://pri.kts-af.net/redir/
index.pls?esid=7fb03b47e14d5529963f40010b103ffd
URL: http://pri.kts-af.net/redir/
index.pls?esid=7fb03b47e14d5529963f40010b103ffd
0 &
0 url_no=2
0 &
0 client_id=7
0 &
0 uid=68efed4d03ec7e45fd3978262c107180
0 &
0 clicksrc=xml
   (attribute url ends)
0 

0     
   (attribute audio ends)
0 

0     
info 

info       
genre 80s
   (attribute genre ends)
0 

0       
   (attribute desc ends)
desc 

0     
   (attribute info ends)
0 

   (attribute freevo ends)


===== relevant portion of mplayer_stdout.log =====

Playing http://pri.kts-af.net/redir/
index.pls?esid=7fb03b47e14d5529963f40010b103ffd

Resolving pri.kts-af.net for AF_INET...

Connecting to server pri.kts-af.net[17.254.4.130]:80 ...

Cache size set to 320 KBytes

Connected to server: pri.kts-af.net


Cache fill:  0.00% (0 bytes)    Falling back on trying to parse 
playlist http://pri.kts-af.net/redir/
index.pls?esid=7fb03b47e14d5529963f40010b103ffd...



----------------------------------------------------------------------

>Comment By: Dirk Meyer (dischi)
Date: 2004-07-11 11:02

Message:
Logged In: YES 
user_id=33647

Because of the xml processor, you need to replace all & with
& I know it's not fine, it may be fixed in future versions. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=805697&group_id=46652


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to