MythTV: Unterschied zwischen den Versionen

Aus Shea Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 30: Zeile 30:
<pre><nowiki>
<pre><nowiki>
cd "/data/Videos/Aufnahmen - geordnet/Länder"
cd "/data/Videos/Aufnahmen - geordnet/Länder"
for i in *.mpg; do j=$(readlink "$i"); echo transcode-h264-v2.py $(perl -e 'printf "--chanid=%d --starttime=%d", $ARGV[0] =~ /\/(\d+)_(\d+)/' $j) --tzoffset=-1; done
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
</nowiki></pre>
</nowiki></pre>



Version vom 1. Januar 1970, 02:00 Uhr

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