MythTV: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (6 Versionen importiert) |
(Änderung 106 von Suelmann (Diskussion) rückgängig gemacht.) Markierung: Rückgängigmachung |
||
Zeile 8: | Zeile 8: | ||
UPDATE mythconverg.channel SET useonairguide = 0 WHERE visible = 0; | UPDATE mythconverg.channel SET useonairguide = 0 WHERE visible = 0; | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Channel-Backup === | |||
<pre><nowiki> | |||
myth_save_channels.pl > ~/.mythtv/myth_save_channels.txt | |||
myth_restore_channels.pl myth_save_channels.txt | mysql mythconverg | |||
</nowiki></pre> | |||
=== Shell-Befehle === | |||
[[SleepCommand]] | |||
<pre><nowiki> | |||
sudo /public/scripts/stop_mythtv &>/tmp/stop_mythtv | |||
</nowiki></pre> | |||
Videos Transkodieren | |||
<pre><nowiki> | |||
cd "/data/Videos/Aufnahmen - geordnet" | |||
for i in *; do echo -e "$(ls "$i"/*.mpg 2> /dev/null | wc -l)\t$i"; done| sort -g | |||
cd "Castle" | |||
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> | |||
---- | ---- | ||
[[KategorieWissen]] | [[KategorieWissen]] | ||
Aktuelle Version vom 20. Dezember 2021, 13:58 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
sudo /public/scripts/stop_mythtv &>/tmp/stop_mythtv
Videos Transkodieren
cd "/data/Videos/Aufnahmen - geordnet" for i in *; do echo -e "$(ls "$i"/*.mpg 2> /dev/null | wc -l)\t$i"; done| sort -g cd "Castle" 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