MythTV: Unterschied zwischen den Versionen

Aus Shea Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
K (6 Versionen importiert)
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]]



Version vom 20. Dezember 2021, 13:27 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;

KategorieWissen