<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>Hello all, I had the
idea lately to use telnet to improve my mythtv menu.</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>I've got lots of
recordings that i've been archiving away, like season series (all from live tv
recordings). I wanted to clean up the watch recordings screen so that we could
choose from the menu which type of recordings to view (we have "myth wish",
"default", and "archived" as the options)</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>I checked out this
page in the wiki: <A
href="http://www.mythtv.org/wiki/index.php/Creating_a_TV_Bouquet">http://www.mythtv.org/wiki/index.php/Creating_a_TV_Bouquet</A> to
help me with my ideas.</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>When you hit watch
recordings it now goes to an xml menu that has 3 options:</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>watch
recordings</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>new
recordings</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>tv show
archives</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>The xml file looks
like this:</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2><SPAN
class=843053621-14032008><FONT face=Arial
size=2>____________________________________________</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2><mythmenu
name="MAIN"></FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>
<button><BR>
<type>TV_WATCH_RECORDINGS</type><BR>
<text>All Recordings</text><BR>
<action>TV_WATCH_RECORDING</action><BR>
</button></FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>
<button><BR>
<type>TV_WATCH_RECORDINGS</type><BR>
<text>New Recordings</text><BR>
<action>EXEC
/home/steve/Desktop/mythscripts/newrecordings.sh</action><BR>
</button></FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>
<button><BR>
<type>TV_WATCH_RECORDINGS</type><BR>
<text>TV Show Archives</text><BR>
<action>EXEC
/home/steve/Desktop/mythscripts/archivedrecordings.sh</action><BR>
</button><BR><BR></mythmenu></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2>____________________________________________</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=843053621-14032008><FONT face=Arial size=2>The newrecordings.sh
file looks like this:</FONT></DIV>
<DIV><BR><FONT face=Arial><FONT size=2>#!/bin/bash<BR>#This takes you to
the <SPAN class=843053621-14032008>New (Default)</SPAN><SPAN
class=843053621-14032008> </SPAN>Recordings<BR>echo "jump playbackbox" |
telnet 192.168.1.3 6546<BR>echo "key n" | telnet 192.168.1.3
6546</FONT></FONT></DIV>
<DIV><SPAN class=843053621-14032008></SPAN><FONT face=Arial><FONT size=2>#<SPAN
class=843053621-14032008>sleep is used cause it takes a while to get into the
watch recordings view</SPAN><BR>sleep 2<BR>echo "key enter" | telnet 192.168.1.3
6546</FONT></FONT></DIV>
<DIV><FONT><SPAN class=843053621-14032008></SPAN><FONT face=Arial><FONT
size=2>#<SPAN class=843053621-14032008>again, sleep is used incase it takes time
to pop up the menu</SPAN><BR>sleep 0.5<BR><SPAN class=843053621-14032008>#Pageup
brings you to the top of the menu</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial>echo "key page<SPAN class=843053621-14032008>up</SPAN>" |
telnet 192.168.1.3 6546<BR>echo "key page<SPAN
class=843053621-14032008>up</SPAN>" | telnet 192.168.1.3 6546<BR>echo "key
page<SPAN class=843053621-14032008>up</SPAN>" | telnet 192.168.1.3 6546<BR><SPAN
class=843053621-14032008><FONT size=2>#down down get's you to
default</FONT></SPAN></FONT></DIV>
<DIV>echo "key down" | telnet 192.168.1.3 6546<BR>echo "key down" | telnet
192.168.1.3 6546<BR>echo "key enter" | telnet 192.168.1.3 6546<BR>exit
0<BR></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>M<SPAN class=843053621-14032008>y issue is that it
doesn't seem to work from the myth gui, but works perfectly from the command
line.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843053621-14032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843053621-14032008>If I can get this to
work, i'll create more menues so i can do something like this: TV Show Archives
> The Simpsons > Season 1</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843053621-14032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843053621-14032008>Then i'll do a
movies one where you can choose the genre right in the xml menu
file.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843053621-14032008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843053621-14032008>I just find this
easier than pressing the "n" button ("enter" on my remote), and i think the waf
factor will go way up, especially for the movies, cause we have a couple hundred
movies and it's often hard to find a movie to watch.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843053621-14032008></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=843053621-14032008><FONT face=Arial size=2>Any
ideas?</FONT></SPAN></DIV>
<DIV><SPAN class=843053621-14032008></SPAN><FONT face=Arial size=2>-<SPAN
class=843053621-14032008>Thanks</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=843053621-14032008></SPAN><SPAN
class=843053621-14032008></SPAN><FONT face=Arial size=2>-<SPAN
class=843053621-14032008>Steve</SPAN><BR></FONT></DIV></FONT></FONT></SPAN></BODY></HTML>