![]() |
|
|||
|
|
||||
|
||||||
| Dreambox Section All things dreambox here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Developer
UkCvs Member
Join Date: Sep 2010
Posts: 35
iTrader: (0)
Casino cash: $18500
Thanks: 16
Thanked 31 Times in 15 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
Final Release - Rytec UK EPG for Neutrino (DM500) -> Version 2 14-Sep-2010
Right guys, Total overhaul of the prototype on the other post but it was useful for a proof of concept ![]() This script downloads the uk satellite epg listings from the Rytec website and converts it into Neutrino xml format so that it can be loaded in. The image I used is one of the old Russian ones and at the moment it has a limit of 15999 programs/events that can be loaded. I have also ignored the descriptions at the moment and will think about adding these in at a later date. The script can be run from telnet however I’m going to create an EPG menu in the FlexMenu that can make different calls to the script, including an option to setup/remove a cron job. For example by typing the script name followed by fta, only the fta channels will be loaded with epg details. I have similar options for films, sport, music, factual. Just type the script name into telnet to see all the usage options. I have also added a ‘most’ option which loads the epg for most of the channels and tries not to go over the 15999 programs/events. Compatibility -> Plug and play with older images such as rudbox as they have the old date function. For newer images, the script will need a tweak. See other posts below for workarounds until I have created a separate script for newer images. Performance -> It takes around 20 seconds to process/load epg info for 1 channel so if you select the ‘most’ option, it extracts about 93 channels (15791 events), it takes around 30 mins to load all the info into the EPG. The script will tell give you an estimated time of completion when it starts and also creates a performance log that you can have a look at. Storage -> No external storage is required, all processing is done in /tmp. Channel Mapping -> You don’t need a local channel mapping file to get the script running as the script downloads the Rytec version from the server, however it’s a good idea to create a one and have few entries in it as I can see that the Rytec version has a few channels missing etc. So without a manual mapping for these channels, they will not be loaded into Neutrino. The script will tell you what channels can’t be loaded etc so you can then create a manual mapping file. Comments/Suggestions welcome. I’ll probably get around to using LraiZer’s small busybox that he created which has the printf function. This would allow me to create all event ids in hex and thus have up to 65k events. Last edited by hotbaws11; 20-09-2010 at 10:53 AM.. Reason: Updated post with compatibility section. |
|
|
|
|
|
#2 (permalink) |
|
Developer
UkCvs Senior Member
Join Date: Oct 2008
Posts: 971
iTrader: (0)
Casino cash: $312240
Thanks: 346
Thanked 1,622 Times in 731 Posts
Nominated 19 Times in 7 Posts
TOTW/F/M Award(s): 7Groans: 0
Groaned at 0 Times in 0 Posts
|
be aware that the small busybox i made installs a newer date function to make the old russian image compatible with the newer neutrino date functions used in the NeuXmlEPG plugin. you can either update your code for the newer date function or simply remove the /var/bin/date symlink after small busybox install.
|
|
|
|
| The Following User Says Thank You to LraiZer For This Useful Post: | hotbaws11 (14-09-2010) |
|
|
#3 (permalink) |
|
Moderator
UkCvs Senior Member
Join Date: Sep 2008
Posts: 353
iTrader: (0)
Casino cash: $118297
Thanks: 185
Thanked 334 Times in 207 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 1
Groaned at 0 Times in 0 Posts
|
Looks like a great script!
I had a quick look through it and the only suggestion I can make (apart from having more European channels data, I only have hotbird/astra 19.2) is to use the neutrino.conf for some of the settings like Code:
epg_cache_time=1 epg_dir= epg_extendedcache_time=6 epg_max_events=12000 epg_old_events=0 |
|
|
|
| The Following User Says Thank You to FreddyFr0g For This Useful Post: | hotbaws11 (14-09-2010) |
|
|
#4 (permalink) | |
|
Developer
UkCvs Member
Join Date: Sep 2010
Posts: 35
iTrader: (0)
Casino cash: $18500
Thanks: 16
Thanked 31 Times in 15 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
Quote:
On the european channels front, the beauty about Rytec is that he has xml files for most european providers so that script can be easily adapted by chaning RYTEC_ZIP, RYTEC_CHANNEL_MAP_ZIP and CHANNELREGEXP. In fact it might already work if you change they variables! I've already adapted my Enigma code to get the epg for the other sats so when I get a chance, I'll do the same for the neutrino version ![]() @LraiZer, I thought that would be the case. How did you create that busy box anyway as I'd be interested in using some other functions (i.e. bc). Note I don't have any compiling background, just what I learn on google for scripting lol! |
|
|
|
|
|
|
#5 (permalink) |
|
Developer
UkCvs Member
Join Date: Sep 2010
Posts: 35
iTrader: (0)
Casino cash: $18500
Thanks: 16
Thanked 31 Times in 15 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
guys... silly me, I was testing the script in /tmp and when I tested it in /var/bin it just crashed on me. Hopefully that's me fixed it. sorry about that!
If you ran the original script in /tmp it would have worked fine
|
|
|
|
| The Following User Says Thank You to hotbaws11 For This Useful Post: | FreddyFr0g (15-09-2010) |
|
|
#6 (permalink) |
|
Developer
UkCvs Senior Member
Join Date: Oct 2008
Posts: 971
iTrader: (0)
Casino cash: $312240
Thanks: 346
Thanked 1,622 Times in 731 Posts
Nominated 19 Times in 7 Posts
TOTW/F/M Award(s): 7Groans: 0
Groaned at 0 Times in 0 Posts
|
the busybox was compiled in standard tuxbox-cvs build after editing the busybox.config.m4 file so that only (printf cut date) were added to the final busybox binary. if you let me know what busybox functions you want i could add them.
|
|
|
|
| The Following User Says Thank You to LraiZer For This Useful Post: | hotbaws11 (19-09-2010) |
|
|
#7 (permalink) |
|
Junior Member
UkCvs Newbie
Join Date: Sep 2010
Posts: 2
iTrader: (0)
Casino cash: $6300
Thanks: 3
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
Hello i am new here and would like to try this, will this work on any Neutrino image?
Thanks in advance. |
|
|
|
|
|
#8 (permalink) |
|
Northern Git Admin
Team-UkCvs Senior Member
Join Date: Aug 2008 ![]()
Posts: 5,098
iTrader: (0)
Casino cash: $326774
Thanks: 1,126
Thanked 1,271 Times in 538 Posts
Nominated 8 Times in 6 Posts
TOTW/F/M Award(s): 4Groans: 1
Groaned at 0 Times in 0 Posts
|
@Hotbaws I've run your script from /var/bin using ./Rytec_EPG_UK_Neutrino.sh most
It downloads the rytec files and does some bits then I'm getting a constant stream from telnet of the following (I've got an image with a busybox containing printf) Code:
date: invalid date '092104152010' date: invalid date '092104302010' date: invalid date '092104302010' date: invalid date '092105002010' date: invalid date '092105002010' date: invalid date '092105302010' date: invalid date '092105302010' date: invalid date '092106002010' date: invalid date '092106002010' date: invalid date '092109152010' date: invalid date '092109152010' date: invalid date '092110002010' date: invalid date '092110002010' date: invalid date '092111002010' date: invalid date '092111002010' date: invalid date '092111452010' date: invalid date '092111452010' date: invalid date '092112152010' date: invalid date '092112152010' date: invalid date '092113002010' date: invalid date '092113002010' date: invalid date '092113302010' date: invalid date '092113302010' date: invalid date '092113452010' |
|
|
|
|
|
#9 (permalink) | |
|
Developer
UkCvs Senior Member
Join Date: Oct 2008
Posts: 971
iTrader: (0)
Casino cash: $312240
Thanks: 346
Thanked 1,622 Times in 731 Posts
Nominated 19 Times in 7 Posts
TOTW/F/M Award(s): 7Groans: 0
Groaned at 0 Times in 0 Posts
|
Quote:
the newer date function you are using needs the date to be passed as '2010-09-21 1345 ' not '092113452010' |
|
|
|
|
| The Following User Says Thank You to LraiZer For This Useful Post: | renwich (19-09-2010) |
|
|
#10 (permalink) |
|
Developer
UkCvs Member
Join Date: Sep 2010
Posts: 35
iTrader: (0)
Casino cash: $18500
Thanks: 16
Thanked 31 Times in 15 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
|
yeah that's what I was about to say
![]() basically you just need to modify the long sed statement to change the date format into '2010-09-21 1345 ' instead of '092113452010'. I didn't have a box with a new image to test it with when I was writing it. I'll have a look at the exact bit that needs changed when I get a min and point it out to you. |
|
|
|
| The Following User Says Thank You to hotbaws11 For This Useful Post: | renwich (19-09-2010) |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|