MythTV

Aus Shea Wiki
Zur Navigation springen Zur Suche springen

MythTV

SQL-Befehle zur Kanalliste

SELECT chanid, channum, callsign, name, visible, xmltvid FROM mythconverg.channel WHERE visible = 1 ORDER BY name; -- channum;
UPDATE mythconverg.channel SET useonairguide = 0 WHERE visible = 0;


Channel-Backup

myth_save_channels.pl > ~/.mythtv/myth_save_channels.txt
myth_restore_channels.pl myth_save_channels.txt | mysql mythconverg


Shell-Befehle

SleepCommand

sudo /public/scripts/stop_mythtv &>/tmp/stop_mythtv


Videos Transkodieren

cd "/data/Videos/Aufnahmen - geordnet/Länder"
for i in *.mpg; do j=$(readlink "$i"); transcode-h264-v2.py $(perl -e 'printf "--chanid=%d --starttime=%d", $ARGV[0] =~ /\/(\d+)_(\d+)/' $j) --tzoffset=1; done



KategorieWissen