View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Feb 10, 2006 11:26 pm 
Offline
Joined: Thu Feb 09, 2006 8:16 pm
Posts: 1
i installed knoppmyth on a pc with no internet conection. i have read that you can get the program guide info loaded by running
"mythfilldatabase --file <sourceid=1> <offest=-1> filename".
i obtained a file of tv listings by using xmltv.exe(which runs tv_grab_na_dd) on a windows machine and putting the file on a cd-rw. however when i run mythfilldatabase the program
runs then tells me "Don't use tv_grab_na_dd, use the internal datadirect grabber". then when i run mythtv i does not have any guide info. any help on loading the tv listings without an internet connection?

also the tv starts tuned to channel 3 and i then i can't change channels. is this problem related to being able to fill mythdatabase?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 11, 2006 1:44 pm 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
I do something very similar. Note that this is customized to my setup, you may need to modify it. Also, the parameter parsing is hard coded, so you may need to change the parameter number of the file name.

I created the following file. I then symlinked (or replaced) tv_grab_de_tvtoday to this file. It assumes that there is a usb stick with the file a.xml in the top level directory. It also assumes /mnt/usb has been set up in fstab.

[EDIT]I forgot to mention, I then set my grabber to tv_grab_de_tvtoday and run mythfilldatabase normally. It then runs the following script instead.

Code:
#!/user/bin/perl

$file_param_num = 9;
$in_file_name = "/mnt/usb/a.xml"
$out_file_name = $ARGV[$file_param_num - 1];

system "mount /mnt/usb";
system "cat $in_file_name | grep -v '<icon ' >> $out_file_name";
system "umount /mnt/usb";

exit;

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu