E1 OpenPLi SQLite XML EPG Plugin (Radio Times) - Page 2 - UkCvs.org
 

Go Back   UkCvs.org > Digital Tv Box Section > Dreambox Section

Dreambox Section All things dreambox here

Reply
 
LinkBack Thread Tools Display Modes
Old 25-06-2011, 07:19 AM   #11 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Here you go, Bob- special edition just for your setup.

Note that the comments I made in point 4. of the upgrade readme apply equally to your setup. It's not a good idea to keep appending to the existing 'fat' epg.db on your Win mount at 06:30 daily. This results in a dbase file larger than necessary, and, nore importantly, takes about 50% longer than needed.

So make sure you have /var/etc/epg.base present (from the upgrade package), so that the EPG load starts afresh. That file is similar to the one you saw yesterday in the /tmp folder. Early on in the script, the existing (large) epp.db gets overwritten with the small 'starter' file, before launching the download / filter/ convert loop.

It basically replicates a standard OpenPLi setup, where a user carries out the recommended reboot prior to Retrieval of the new EPG. So the large /tmp/epg.db vanishes during the reboot, and the new small one automatically appears afterwards. On a mount setup, the large file remains, so we must force things using the overwrite method.

Please post tomorrow morning's log, so I can compare before and after results.

Cheers- AL
Attached Files - Who Downloaded?
File Type: rar bobsylas-rt_uk.rar (2.5 KB, 1 views)

Last edited by PaphosAL; 25-06-2011 at 08:29 AM..
PaphosAL is offline   Reply With Quote
The Following 2 Users Say Thank You to PaphosAL For This Useful Post:
bobsylas (25-06-2011), renwich (25-06-2011)
Old 25-06-2011, 10:40 PM   #12 (permalink)
Developer
UkCvs Senior Member
 
bobsylas's Avatar
 
Join Date: Sep 2008

Age: 45
Posts: 118
iTrader: (0)
Casino cash: $61723
Thanks: 227
Thanked 60 Times in 42 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Thanks for this Al
copied file over & set cron reboot for 05:30
will post the log file tomorrow

Cheers Bob

Bob- please report on the epg.db file size as well, m8. AL

Last edited by PaphosAL; 26-06-2011 at 10:56 AM..
bobsylas is offline   Reply With Quote
Old 26-06-2011, 07:34 PM   #13 (permalink)
Developer
UkCvs Senior Member
 
bobsylas's Avatar
 
Join Date: Sep 2008

Age: 45
Posts: 118
iTrader: (0)
Casino cash: $61723
Thanks: 227
Thanked 60 Times in 42 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Hi Al the epg.db file on my windows machine is 7.386 KB
all is working great

here is the log file

Cheers Bob
Attached Files - Who Downloaded?
File Type: rar rt-uk-load.rar (3.6 KB, 3 views)
bobsylas is offline   Reply With Quote
The Following User Says Thank You to bobsylas For This Useful Post:
PaphosAL (27-06-2011)
Old 27-06-2011, 03:30 PM   #14 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
That's a good result, Bob, with the whole process taking over 2 minutes LESS to complete than before.

Tell you what- while Auntie is being so reliable on a day to day basis now (last Sunday's 24 hour outage being the first blip since before Christmas), you might as well leave your setup like it is for the time being, downloading direct from the RT site.

But if RT becomes 50/50 again, then we'll look at moving you onto the method I use on my server.

Cheers- AL
PaphosAL is offline   Reply With Quote
The Following User Says Thank You to PaphosAL For This Useful Post:
bobsylas (27-06-2011)
Old 05-10-2011, 08:08 PM   #15 (permalink)
Developer
UkCvs Senior Member
 
bobsylas's Avatar
 
Join Date: Sep 2008

Age: 45
Posts: 118
iTrader: (0)
Casino cash: $61723
Thanks: 227
Thanked 60 Times in 42 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Hi Al don't know if it's my set up or not but my EPG stopped working a week or two ago ?

my epg.db file now is only 79 kb as opposed to nearly 9 meg

the only way I can get it to work now is by using the original rt_uk.sh file but can't see what has changed

cheers Bob
bobsylas is offline   Reply With Quote
Old 06-10-2011, 08:17 AM   #16 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Logfile please Bob? All is fine here, but I have a sneaking suspicion what is causing your issue.

Cheers- AL
PaphosAL is offline   Reply With Quote
Old 06-10-2011, 06:57 PM   #17 (permalink)
Developer
UkCvs Senior Member
 
bobsylas's Avatar
 
Join Date: Sep 2008

Age: 45
Posts: 118
iTrader: (0)
Casino cash: $61723
Thanks: 227
Thanked 60 Times in 42 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
A couple of log files from yesterday Al

Cheers
Attached Files - Who Downloaded?
File Type: rar Logs.rar (4.3 KB, 3 views)
bobsylas is offline   Reply With Quote
Old 07-10-2011, 10:23 AM   #18 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Hmmm, this log suggests to me that at 9pm last night, all dat files on Auntie's server were 0 bytes, ie, a technical fault at their end.

Can you repeat this test, first with LraiZer's new script? If this fails, save the log, then try again with the old script. If that succeeds, let us have a rar of both logs AND the new script, so I can compare it with my script here, please.

Also, try running your cron job a bit later in the morning, at a time when nobody is ever watching telly. I suggest this because RT is updated on their server at 06:45 GMT, which is of course 07:45 at the moment.

So it's possible that your 07:00 cron might be catching Auntie with her knickers down, ie: at a maintenace point where all the old dat files are emptied, in readiness for the new 14 Day lot.

Cheers- AL

------------------------

Edit:

Hang on a mo, Bob- here is the command line in LraiZer's new script that actually downloads each of your mapped RT dat files:

Code:
 
process=`time -p wget -q "$url/$chanId.dat" -O "/tmp/$chanId.dat" 2>&1|grep real|sed 's/real.//'`
time is a binary (25kb chmod 755) that should still be in your /var/bin folder. Without it, I would imagine that the whole command line will fail. Have you deleted it, forgetting what it's for, maybe? If so, grab it out of the modded kit and try again!


Last edited by PaphosAL; 07-10-2011 at 02:17 PM..
PaphosAL is offline   Reply With Quote
The Following User Says Thank You to PaphosAL For This Useful Post:
bobsylas (07-10-2011)
Old 07-10-2011, 10:10 PM   #19 (permalink)
Developer
UkCvs Senior Member
 
bobsylas's Avatar
 
Join Date: Sep 2008

Age: 45
Posts: 118
iTrader: (0)
Casino cash: $61723
Thanks: 227
Thanked 60 Times in 42 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Quote:
Originally Posted by PaphosAL View Post
time is a binary (25kb chmod 755) that should still be in your /var/bin folder. Without it, I would imagine that the whole command line will fail. Have you deleted it, forgetting what it's for, maybe? If so, grab it out of the modded kit and try again!

wow looks like your right Al, did an image update a couple of weeks ago & didn't copy the "time" file over
still took about 13 mins so here's the log
Attached Files - Who Downloaded?
File Type: rar logs.rar (4.9 KB, 2 views)
bobsylas is offline   Reply With Quote
Old 08-10-2011, 07:48 AM   #20 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
That's taking it's time, Bob! No rational explanation for the slowness in the log, either- all the download times look fine to me...

My bet is that you're appending new data to the old 'fat' /tmp/epg.db file, because you forgot to copy epg.base (79kb) into /var/etc

PaphosAL is offline   Reply With Quote
The Following User Says Thank You to PaphosAL For This Useful Post:
bobsylas (08-10-2011)
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:04 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! Ukcvs.org cannot be held responsible for the content of any post on this forum.