[Plugin] fuer mehr now & next

Das Original Benutzerinterface Neutrino-SD incl. zapit, sectionsd, yWeb etc...
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

[Plugin] fuer mehr now & next

Beitrag von PT-1 »

Das ganze stammt von Freddy Frog und laeuft momentan nur ueber HDD oder NAS !!!

EDIT:

Erklaerung auf deutsch. Das Program/Script rennt auf der Dbox und sammelt die Daten von z.B. tv_grab_de . Man muss in diesem Fall das Ini File anpassen und einen Zeit Offset einbauen um +1 z.B. fuer Deutschland zu erreichen.

A little while ago on World of Digital, pt-1 had an idea about how to go about having more than 24 hours for cable and more than now and next for sat boxes .

I did a little Perl script at that time to try to achieve this. But it was a bit complicated to use as you had to have a computer connected to your dbox... and thought it would be much nicer if it could run it out of a dbox with hdd!
And so I have now done it... it's still very experimental and it's more a proof of concept rather than a working script at the moment! You will need 3 libraries that you can copy in a folder called /hdd/lib (you obvisouly need a hdd... might work with a NAS).

The scripts stops sectionsd so that the EPG is not conflicting (it duplicates entries) with the generated XML files... but you can just reboot your box to put everything back to normal or

Code: Alles auswählen

sectionsdcontrol --nopause;sectionsdcontrol --freemem
if you feel motivated.
That could help peeps having problems with sky epg... has this is downloaded straight from the bleb website with my script.

Feel free to comment - I put a readme file to help..
Praktisch fuer die nicht Englisch Versteher mit diesem Script/Libs kann man externe EPG Daten direkt auf die Box laden.

Momentan ist nur die groesse der Libs ein Problem.

Hintergrund
1
2
3 am ende dieses Post's habe ich auch mal eine Datei angehaengt die eventuell fuer OpenTV helfen koennte


http://pt-1.net/uk_epg/lib.zip

http://pt-1.net/uk_epg/freddyfr0g1.2.zip
Zuletzt geändert von PT-1 am Donnerstag 11. Oktober 2007, 15:19, insgesamt 1-mal geändert.
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Update:
Thanks for the initial feedback!
On my initial observation of sectionsd, I can see that are using a light version of libxml2 - so that probably can go. I had problems with libz - the script complaining about gzopen (or something) so I didn't have the strength to look any further and got the complete lib but I have a feeling it was because of the use of libxml2.
I can't remember why I included libcurl! I'll try to run the script without it (or you can now!) and see if it complains!

I didn't try to get the libs down because I thought that the space needed by the epg xml files *had to mean* hdd/nas and therefore large amount of space!

Forgot to mention, the path to the epg needs to exists otherwise it just prints what it's doing without writing anything.
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Update ;-)

Code: Alles auswählen

libcurl.so is not needed! The default one on the dbox is fine - couldn't remember why I included it but running the script on both my boxes worked without the extra lib. 

BTW, it *should* work with an xml output from tv_grab_de (need to adjust the gmt offset option though) for your dbox sat pointed on astra 19.2
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Update,

dieses mal ohne Python scripts use !

FreddyFrog hat es mit dem Dbox Compiler durchlaufen lassen. Den eigentlichen Fund hat Houdini gemacht.

Es geht also um Programme die via OpenTV das EPG senden.

Beispiel unten ist TPS (Klar das die Dbox das nicht entschluesseln kann es ist aber eher ein proof of concept!!!)

Via Hotbird auf den Transponder 10873 (bei meinem scan ist der zwar 10872) aber es ist der folgende Transponer:

Code: Alles auswählen

		<transponder id="2e18" onid="00b0" frequency="10872000" inversion="2" symbol_rate="27500000" fec_inner="3" polarization="1">
			<channel service_id="05dd" name="M6 Music Rock" service_type="01"/>
			<channel service_id="05df" name="Equidia" service_type="01"/>
			<channel service_id="05e0" name="ESPN CLASSIC" service_type="01"/>
			<channel service_id="05e1" name="FRANCE 4" service_type="01"/>
			<channel service_id="05e2" name="USHUAIA TV" service_type="01"/>
			<channel service_id="05e3" name="TV Breizh" service_type="01"/>
			<channel service_id="05e4" name="FRANCE 5" service_type="01"/>
			<channel service_id="05e5" name="France Ô" service_type="01"/>
			<channel service_id="05e6" name="La Chaîne Parlementaire" service_type="01"/>
			<channel service_id="05e9" name="Equidia Alpha" service_type="01"/>
			<channel service_id="05eb" name="M6 Music Black" service_type="01"/>
			<channel service_id="0c1d" name="EUROPE 1" service_type="02"/>
			<channel service_id="0c1e" name="EUROPE 2" service_type="02"/>
			<channel service_id="0c1f" name="RFM" service_type="02"/>
			<channel service_id="0c21" name="RTL" service_type="02"/>
			<channel service_id="0c23" name="RADIO CLASSIQUE" service_type="02"/>
			<channel service_id="0c25" name="FUN RADIO" service_type="02"/>
			<channel service_id="0c26" name="RTL 2" service_type="02"/>
			<channel service_id="0c83" name="MFM" service_type="02"/>
			<channel service_id="0c86" name="RMC" service_type="02"/>
			<channel service_id="0c88" name="ALOUETTE" service_type="02"/>
			<channel service_id="0ce8" name="HIT WEST" service_type="02"/>
		</transponder>
Von FreddyFrog:
This is to test on a dbox sat I think as I don't think that VMedia is using openTV.

This page says http://vdr.bluox.org/multiepg.htm that you'll need to put your box on a channel located on 10873 (transponder) as it's apparently the transponder where TPS broadcast the EPG.

I just had time to compile this last night and try to run it on my dbox, it gave me a can't find EPG error but I didn't understand at the time that I needed to be on transponder 10873!

Default output file will be under the /hdd folder but you can specify it (try multiepg -h for help!).

I didn't have any warnings or complains when I compiled it and it for fairly straightforward... so that makes me think that there's still a possibility for the script not having being compiled properly!
Ich versuche gerade das mal auf 28.2 oder eventuell via TPS zu testen.

Das File benoetigt eine /HDD Directory und wird die Files dort ablegen falls es daten findet.

File ist -->hier<--
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

OK,

EPG von France 4 z.B. bekommt man mit diesem Program. Die senden normal nur Now & Next und gleichzeitig werden auf dem Provider auch noch das EPG fuer die folgenden Programme uebertragen.

Code: Alles auswählen

C 76 BABY TV
C 108 XXL
C 15 TF6
C 18 TÉVA
C 2 FRANCE 3
C 20 TMC
C 22 W9
C 25 NRJ 12
C 28 I TELE
 29 LCI
C 3 CANAL+
C 32 BFM TV
C 33 CNN
C 35 CNBC
C 4 FRANCE 5
C 57 PREMIER
C 65 CINÉ FX
C 47 SPORT +
C 5 M6
C 50 EQUIDIA
C 41 ESCALES
C 56 OL TV
C 0 TF1
C 58 FRISSON
C 83 AB1
C 6 ARTE
C 60 FAMIZ
C 61 STAR
C 62 CULTE
C 63 CLASSIC
C 59 EMOTION
C 66 ACTION
C 67 TIJI
C 40 ODYSSÉE
C 69 CANAL J
C 73 GULLI
C 75 TFOU
C 68 PIWI
C 55 OM TV
C 85 MANGAS
C 86 FUN TV
T 88 MINUTES
C 90 MTV
C 92 MEZZO
C 94 VH1
C 96 KTO
C 98 LUXE TV
C 99 BEUR TV
C 14 COMEDIE !
C 72 PLANETE JUNIORS
C 44 BEST OF SHOP.
C 46 LIBERTY TV
C 39 USHUAÏA TV
C 111 PLAYIN TV.
C 97 DEMAIN !
C 42 CHASSE & PÊCHE
C 1  FRANCE 2
C 91 EUROPE 2 TV
C 19 FRANCE 4
C 27 DIRECT 8
C 77 BANDIAGARA
C 37 P. THALASSA
C 89 M6 MUSIC BLACK
C 87 M6 MUSIC HITS
C 88 M6 MUSIC ROCK
C 26 TV5 MONDE
C 10 CANAL+ DECALE
C 84 GAME ONE
C 38 HISTOIRE
C 107 PRIVATE SPICE
T 90' ENQUÊTES
C 7 CANAL+ HI-TECH
C 8 CANAL+ CINEMA
C 43 M6 BOUTIQUE
C 100 MULTIVISION 1
C 101 MULTIVISION 2
C 102 MULTIVISION 3
C 103 MULTIVISION 4
C 104 MULTIVISION 5
C 105 MULTIVISION 6
C 106 MULTIVISION 7
C 64 CINÉ POLAR
C 34 BBC WORLD
C 93 TÉLÉ MELODY
C 16 SÉRIE CLUB
C 70 TÉLÉTOON
C 71 TÉLÉTOON+1
C 74 BOOMERANG
C 23 RTC 24 NT1
C 78 JEUX TFOU
C 80 JEUX TFOU
C 9 CANAL+ SPORT
C 45 TELESHOPPING
C 11 TPS STAR
C 21 PARIS PREMIERE
C 49 INFOSPORT
C 48 EUROSPORT
C 51 EUROSPORT 2
C 30 EURONEWS
C 31 LCP-P. SENAT
C 12 MULTIVISION
C 54 TPS FOOT
C 81 PLAYIN TV
C 53 MOTORS TV
C 79 PLAYIN TV
C 13 13EME RUE
C 52 AB MOTEURS
C 82 FILLE TV
C 109 PINK TV / PINK X
C 110 TPS & VOUS
C 36 MÉTÉO EXPRESS
C 17 TV BREIZH
T 13 ASSEMBLÉE
T 13 ASSEMBLÉE
C 95 FRANCE Ô
Wenn man sich dann nochmal die Sourcen von
hier durch schaut findet man in der si_tables.h z.B. dies:

Code: Alles auswählen

//////////////////////////////////////////////////////////////
///                                                        ///
/// si_tables.h: definitions for data structures of the    ///
///              incoming SI data stream                   ///
///                                                        ///
//////////////////////////////////////////////////////////////

// $Revision: 13 $
// $Date: 2006-01-01 21:38:54 +0100 (dim, 01 jan 2006) $
// $Author: jmichault $
//
//   (C) 2001 Rolf Hakenes <hakenes@hippomi.de>, under the GNU GPL.
//
Das Ergebnis meines France 4 Hotbird Scans liegt hier

Example:

Code: Alles auswählen

C 0 TF1 
E 
X 1192708200 
T LES FEUX DE L'AMOUR 
D Avec S.Case, J.Morrow, M.Thomas Scott| 2004|Sharon et Nick confient à Nikki qu'ils ont mis Grace au courant de leurs découvertes concernant Cameron. Ils souhaitent se servir d'elle pour lui soutirer des informations... 
L 50 
S Feuilleton sentimental 
e 
E 
X 1192711200 
T UNE SOEUR DANGEREUSE 
D Avec E.Donovan, S.Walters, P.King| de Douglas Jackson| 2007|June a été condamnée à huit ans de prison pour avoir tué son compagnon, qui la trompait et la battait. Après avoir purgé sa peine, elle recouvre enfin la liberté. Elle se réjouit de retrouver son petit garçon, Sammy, et sa soeur, Claire, qui en a lacharge depuis qu'elle a été incarcérée. Et surtout, elle entend bien prouver qu'elle est en réalité innocente du crime dont elle a été accusée. Elle ignore que sa soeur va tout mettre en oeuvre pour l'empêcher de découvrir la vérité... 
L 105 
S TV Film dramatique 
=

Code: Alles auswählen

C <number> <channel-name> 
X <unix-timestamp> 
T <title> 
D <description |=newlinefeed> 
L <duration in minutes> 
S <category> 
e <don't know yet> 
E <don't know yet> 
Ich habe es jetzt mal auf Astra 28.2 FreeToView/FTA BBC 1 London und auch auf mehreren anderen Kanaelen versucht...Leider ohne Erfolg...

Optionen:

Code: Alles auswählen

multiepg -h 

usage: multiepg [options] 
         get EPG data 
     -a number : use given adapter (default 0) 
     -d number : use given demux (default 0) 
     -s string : source (such as S19.2E) 
     -e string : list of equivalent channels 
     -t number : local time offset (in seconds) 
     -l        : send the channels list to stderr 
     -o string : output to file <string> (default /hdd/epg.dat) 
     -p string : path to epg.dat