[mythtv-users] two menu EXEC problems

Robert Johnston anaerin at gmail.com
Wed Jan 9 21:30:50 UTC 2008


On Jan 8, 2008 11:09 PM, Michelle Dupuis <support at ocg.ca> wrote:
>
>
> I'm building a custom menu to handle my audio streaming and have run into 2
> problems:
>
> 1.  Ampersands:  It seems that if I have an ampersand in my command line,
> Myth chokes on the menu (won't even show entire menu).  But, I need
> ampersands in my URL.  For example below.  How should I handle this?
>    <button>
>       <type>MUSIC</type>
>       <text>97.5 - EZrock</text>
>       <action>EXEC mplayer -cache 128 -playlist
> http://38.99.162.179/ciqm1?ext=.asf&al=b&id=1&mount=ciqm</action>
>    </button>

You're using XML. An & on it's own is invalid in XML. If you wish to
use an ampersand, you need to replace the & character with the code
"&amp;" (Without the quotes)
-- 
Robert "Anaerin" Johnston


More information about the mythtv-users mailing list