[mythtv-users] [SOLVED] link to a specific recording

F P zagor.fp at gmail.com
Thu Feb 21 15:59:06 UTC 2008


>  Date: Wed, 20 Feb 2008 06:59:19 -0500
>  From: "Ronald Frazier" <ron at ronfrazier.net>
>  Subject: Re: [mythtv-users] link to a specific recording
>  To: "Discussion about mythtv" <mythtv-users at mythtv.org>
>
>
>  It works fine for me:
>
>    <button>
>       <type>TV_WATCH_RECORDINGS</type>
>       <text>Test</text>
>       <action>EXEC /usr/local/scripts/watch.sh</action>
>    </button>
>
>
>  In the script, you have a single line:
>
>  echo play program 1029 2008-02-12T22:58:00 | telnet localhost 6546
>
>
>  And make sure the script is executable by mythtv:
>
>  chmod 755 /usr/local/scripts/watch.sh

Ok, solved.
I had two mistakes in my procedure:
1. <type> is TV_WATCH_RECORDINGS and not TV_WATCH_RECORDING
2. <action> needs EXEC

Therfore, my button now is:
 <button>
    <type>TV_WATCH_RECORDINGS</type>
    <text>Madagascar</text>
    <action>EXEC echo play program 1029 2008-02-12T22:58:00 | telnet
localhost 6546</action>
 </button>

Everything works.
Thanks Ron, couldn't do it without your help!


More information about the mythtv-users mailing list