Opened 16 years ago

Closed 16 years ago

#5170 closed enhancement (invalid)

dies on xml menu

Reported by: steve@… Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

so I added a custom menu and Im getting a parse error which I dont understand. the line is:

<action>EXEC /usr/local/sbin/stream_play "http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=9015&file=filename.pls"</action>

its complaining at line: 25 column: 110 msg: error occurred while parsing reference

which is the 'filename=...' part onward. its not a line length issue but just doesnt like either the 2nd '=' sign or the use of filename or something.

Change History (2)

comment:1 Changed 16 years ago by anonymous

The & must be escaped to exist in XML. Easiest solution:

<action>EXEC myscriptname.sh</action>

And have myscriptname.sh run the program you want.

comment:2 Changed 16 years ago by stuartm

Resolution: invalid
Status: newclosed

This isn't a mythtv bug so I'm closing the ticket.

Replace & with &amp;

Note: See TracTickets for help on using tickets.