Efter en google-sökning
http://xmltvwiki.timefor.tv/wiki/Mythtv_importer
All kanaldata laddas hem i en stor fil. Det är sedan den mythfilldatabas använder.Kod:#!/bin/bash # Script adding new data for MythTV by grabbing the data from # OnTV # Made by PBJ # # Different Params TVID="Your TimeforTVnumber ID" SRC1="1" SRC2="2" LOG=/tmp/mythfilledatabase.log URL="http://timefor.tv/xmltv/$TVID" DIR="/scripts" # Removing old files rm -rf $LOG # Create the Logfile touch $LOG # Moving to the Directory for Sources cd $DIR rm -rf $TVID # Downloading the datafile From TIMEFOTTV wget $URL #Inserting the Data into MythTV Database mythfilldatabase --update --file --sourceid $SRC1 --xmlfile $TVID >> $LOG mythfilldatabase --update --file --sourceid $SRC2 --xmlfile $TVID >> $LOG # afsender mail mail -s "Mythfilldatabase" <YOUR MAILADDRESS> < $LOG exit 0
Om du öppnar filen i en text-editor, så ser du vill xmltv-id kanalerna har.
De har inte alls logiska namn utan heter något i stil med www.timefor.tv/tv/135.
Dessa måste du matcha mot rätt kanaler.
Detta är väl enklast att göra i mythweb
För mig funkade inte
mythfilldatabase --update --file --sourceid $SRC1 --xmlfile $TVID >> $LOG
jag ändrade till
mythfilldatabase --update --file $SRC1 $TVID
Log och mail-funktionen gjorde inte heller riktigt som de skulle så dessa har jag också inaktiverat.




Svara med citat
