[mythtv-users] Use shell script to load dvd?

jedi at mishnet.org jedi at mishnet.org
Mon Dec 10 16:38:36 UTC 2007


> Richard Shaw skrev:
>> I had an idea and wanted to run it buy you folks! My myth box doesn't
>> have a keyboard or mouse attached, just a remote, so changing settings
>> that require a typed input can be a real pain. I already started using a
>> config file for mplayer so I can make changes over SSH and not require a
>> reboot (since I haven't got my power button to work to restart
>> mythfrontend). So I created a script called xine-dvd.sh in the home
>> directory. I assume this will work for DVD playback since I'm calling
>> dvd:/ instead of passing a text string of the file name. If I want to
>> set this up for other playback options will the %s pass to the shell
>> script?

    Wrapping your video player in a shell script and calling that
instead of your video player is no big deal really. It works quite
well. You just need to be able to execute your script from a normal
shell.

[deletia]

     Like anything else, the shell script needs to work as advertised
and mythtv needs to be setup to use whatever interface you have defined
for the shell script.

     I do this very thing to create my "CurrentEpisode" "NextEpisode"
interface for my DVD TV collections. It's very handy and much better
than keeping track of 100+ episodes and scrolling through them.



More information about the mythtv-users mailing list