[mythtv-users] two menu EXEC problems

Michael T. Dean mtdean at thirdcontact.com
Wed Jan 9 05:16:05 UTC 2008


On 01/09/2008 12:09 AM, Michelle Dupuis 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 
> <http://38.99.162.179/ciqm1?ext=.asf&al=b&id=1&mount=ciqm%3C/action>>
>    </button>

<action>EXEC script_to_start_mplayer.sh</action>

> 2.  I temporarily create a menu with streaming sources that didn't 
> need an & in the url, and the menu shows fine.  However, when I click 
> the menu item myth just freezes.  I can see from "ps ax" was launched, 
> but it's not on top (or visible), and myth is hung.  Is there 
> something wrong with my config above?

Myth "hangs" while the external process is executing because it's 
waiting for the external process to complete.  When you exit the mplayer 
process, Myth will again respond to your key/button presses.  You may 
not notice mplayer because of the cache size--for some 'net radio 
streams, for example, a 128kB cache would take a while to fill up.

Mike


More information about the mythtv-users mailing list