View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Dec 21, 2005 12:26 pm 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi everyone in PAL/DVB-t land, I was wondering is there a way to do as I describe in the subject heading?

I saw someone ask the other day (not sure who or where) about getting the on air guide to show how far through a programme a programme is.

I think this is (sort of) related, because my freeview box does both: gets the time over the air and tells me how long left for a show.

As the information is obviously there, how can it be manipulated to be used within KnoppMyth ?

Any suggestions on how to do this would be appreciated. (Preferable in an idiot proof format as I am still not very knowledgeable on such matters)

Hopefully this starts a discussion to improve what is already a fantastic product!!!!

And if I can do anything I will, but I am away for the holidays tomorrow!

Cheers Chris


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2005 3:48 am 
Offline
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
I found a program called dvbdate on my KnoppMyth box. Not sure which package it belongs to, but it doesn the job. Just put up a cron-job that runs it.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 02, 2006 9:30 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Can anyone help me with running this cron-job as mentioned by nermander?

I've looked into what a cron-job does, but I'm still a little confused as how to implement is. I've googled cron and cron job which has provided a wealth of information but I'm now a little stuck with the implemention.

I know I want to use the dvbdate with a number of paramaters something like and I will want it to run several times a day, everyday (I gain about 8 - 10 mins every 12 hours!!!!).

I think my command needs to look like this:

0 0/4 * * * root /location/of/dvbdate.sh

I'm intending this to run on hte hour, every four hours everyday.

Where would I put this to get it to run? I was thinking this could be put in XF86Conf-4 as I know this runs every time I reboot the machine, but is there anywhere better? Is this the right command?

Thanks

-edit-
I've now had a chance to rummage around, logged on as root. I haven't found this dvbdate. Any suggestions where it is?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2006 12:57 am 
Offline
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
I put the cron job in /etc/crontab (the global crontab file).

The file have some comments in it so you will see how to enter the correct line.

To find dvbdate you can use the command "locate dvbdate". Note that I'm not 100% sure of the name of the command, my Myth-box is not connected to my LAN and I'm at work now so I can't sheck. It might be dvb-date or something else.

I think I found it by typing "dvb" and pressing TAB (then you get all possible commands beginnings with "dvb"), while looking for some other dvb-command.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2006 1:58 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Thanks, I'll have a go later.
Much appreciated.
Chris


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2006 11:36 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Well, the dvbdate works a treat. Thanks Nermander.

I'm going to put my cronjob command in the /etc/crontab directory with the command
Code:
0 0/4 * * * dvbdate -s


Could anyone please confirm this is correct before I kill something! Ta


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 1:35 am 
Offline
Joined: Tue Sep 27, 2005 12:32 pm
Posts: 104
I'm not sure about the 0/4 thing. Quoted from the manpage for crontab(5):
Steps are also permitted after an asterisk, so if you want to say "every two hours'', just use "*/2''.

I guess what you want is */4 then?

You get the right manpage by using "man 5 crontab". Only "man crontab" will get you the manpage for the crontab command, not the crontab configuration file.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 10, 2006 5:40 pm 
Offline
Joined: Thu Jun 16, 2005 2:37 pm
Posts: 116
Location: St. Louis MO.
Hey gys, I got a HD-2000 and I tried to run the command and I just get this:
Code:
root@PVR:~# dvbdate
.........................
dvbdate: timeout - try tuning to a multiplex?
dvbdate: Unable to get time from multiplex.
Could this problem be because mythbackend is using the card while it's running? or do I somehow need to lock the card to a channel that broadcasts time information?
Also, where is the information on how to make myth get guide information from the air?
THANKS!

_________________
Backend: HP NetServer LT 6000r U3; 6 700Mhz Xeon CPUs; 3GB PC133 ECC; LSI Ultra160 SCSI 4 18GB 10kRPM striped system; 7200RPM 160GB recordings; Ubuntu-server 7.04; HDHomeRun box.
Frontend: A64 3000+; 512MB DDR; Hauppauge grey; knoppmyth PXE/NFS.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 11, 2006 5:45 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
To get up the over the air information, you need to go into mythtv-setup.
(Keep both your card and channels settings!!!)
on the fifth menu button, where you did scans etc. you should see in the window the channels you've previously scanned, this is the page where you can select to order you channels by name or number... seelct a channel from you list by pressing return. towards the bottom of the page there is a check box to use OTA I think it's called.
hope that helps (I'm at work and can't check)
But, does HD tv do the over that air stuff like DVB-T?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 11, 2006 8:10 am 
Offline
Joined: Thu Jun 16, 2005 2:37 pm
Posts: 116
Location: St. Louis MO.
Thanks for the info tophee but I actually already found that and tried it but when I got back in the frontend at the guide it showed all my channels but everything was unknown. I think HD is the same as DVB-T except it can do much higher resolution.
Does anyone know if it's suppost to take some time for it to work?
Also, does anyone have an answer to my dvbdate question?

_________________
Backend: HP NetServer LT 6000r U3; 6 700Mhz Xeon CPUs; 3GB PC133 ECC; LSI Ultra160 SCSI 4 18GB 10kRPM striped system; 7200RPM 160GB recordings; Ubuntu-server 7.04; HDHomeRun box.
Frontend: A64 3000+; 512MB DDR; Hauppauge grey; knoppmyth PXE/NFS.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 11, 2006 11:39 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Over the air guide takes a short while 10 min minimun to download... that's the best i can offer.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 11, 2006 2:40 pm 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
AAARRGGGHHH!!!!
Tried to edit the crontab file.

Don't know what I did but I killed MythTV...

I think it was looking in the man 5 crontab file... (I didn't know how to get out of it and pressed some buttons).

Then I edited the /etc/crontab and added the code

45 * * * * /usr/local/bin/dvbdate -s
That should set the dvbdate the 45th minute of every hour right?


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 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