getepg

Status
Not open for further replies.

hilton

Registered
Messages
7,622
getepg 2.0 by morser

Code:
Bien, aqui os dejo la ultima version del plugin para instalar en cualquier firm desde el 4890 (KGD o no).

La principal novedad de esta version es el uso del archivo epg.dat, se ha sustituido la funcion de carga del EPG por la creacion del archivo epg.dat lo que necesita en principio de menos memoria y es mas rapido, despues de la creacion del archivo se libera memoria y luego carga el EPG desde el archivo, lo cual es muy rapido, como consecuencia de esto, el uso de memoria es menor, la velocidad de carga es por lo menos 6 veces mas rapida, tenemos el archivo generado para la recarga posterior en un script de inicio con el fin de no perderlo al reiniciar y la info se carga en el campo correspondiente permitiendo mas caracteres.

Algunos ejemplos aproximados de la velocidad:
Carga de EPG de Digital+ (140 canales) para 2 dias - 45 segundos
Carga de EPG de Digital+ (140 canales) para una semana - 1:30 minutos
Carga de EPG de Sky Italia (530 canales) para una semana - 3:30 minutos.

Ademas de esto, se han hecho algunas correcciones en la parte de xml (por ejemplo se ha arreglado el bug que no eliminaba el xml anterior) y alguna cosa mas en el tema de memoria y se le ha añadido al getepg el parametro -A para convertir todo el EPG cargado a mayusculas (para los que tenemos problemas de vista, jejeje) y el parametro -l para cargar los archivos epg.dat generados (cuando se lanza el getepg ya carga los archivos pero si solo se quiere cargarlos sin que haga todo el proceso, con este parametro lo hace).

Instalacion en firm 4890 KGD
1 - Descomprimir el contenido del zip en nuestro disco duro.
2 - Copiar los archivos getepg, DaemonEPG y getepg.conf de la carpeta epg a /PLUGINS/PanelKGD/epg en nuestro Azbox y darle permisos 755 a getepg y DaemonEPG
3 - Modificar el getepg.conf al gusto de cada uno
4 - Si tenemos un script dentro de /DISk2/etc/start.d para la recarga del EPG con el antiguo programa epgdat, borrarlo.
5 - Copiar el script contenido en la carpeta start.d del archivo que hemos bajado y descomprimido a /DISk2/etc/start.d y darle permisos 755
6 - Como supongo que tendreis el daemon cargado desde el menu del panelKGD o lanzais el getepg a traves del crond, modificar este ultimo script de arranque y quitar la linea que pone ./DaemonEPG.

Instalacion en firm no KGD >4890
1 - Descomprimir el contenido del zip en nuestro disco duro.
2 - En el Azbox generar en /PLUGINS una carpeta llamada PanelKGD (respetar las mayusculas) y dentro de esta otra llamada epg
3 - Copiar todos los archivos de la carpeta epg del archivo que hemos bajado y descomprimido a /PLUGINS/PanelKGD/epg (que habremos creado antes en nuestro Azbox) y darle permisos 755 a getepg y DaemonEPG
4 - Modificar el getepg.conf al gusto de cada uno
5 - Copiar el script contenido en la carpeta start.d del archivo que hemos bajado y descomprimido a /DISk2/etc/start.d y darle permisos 755
6 - Conectarse por telnet al Azbox y escribir:

cd /PLUGINS/PanelKGD/epg
./DaemonEPG
./getepg

La segunda instruccion pone en memoria el daemon para que cargue automaticamente todas las noches y la tercera carga el epg.

Nota: He comprobado que casi siempre da error al final cuando carga el archivo epg.dat en memoria pero aparentemente el EPG se carga sin problemas, asi que no le deis mucha importancia.

Nota2: He modificado el tuto segun estos cambios.
 

gorski

Registered
Messages
1,553
GetEPG v. 2.1 by Morser!!!

Spanish to English translation

2.1 getepg

Well, here you have the latest version of the plugin to install on any firm since 4890 (KGD or not).

The main novelty of this version is the use of epg.dat file has been replaced load the EPG function for the creation of epg.dat file you need in principle less memory and is faster, after the creation of free file memory and then loads the EPG from the archive, which is very fast, as a result, use less memory, speed of loading is at least 6 times faster, we have generated for the file subsequent charging a startup script in order to restart and not lose the info is loaded into the appropriate field, allowing more characters.

Examples approximate speed:
Digital EPG Loading (140 channels) for 2 days - 45 seconds
Digital EPG Loading (140 channels) for a week - 1:30 minutes
Loading EPG from Sky Italia (channel 530) for a week - 3:30 minutes.

Besides this, there have been some fixes in the xml (for example, has fixed the bug that did not eliminate the previous xml) and something more on the topic of memory and has been added to getepg the parameter-A EPG convert all charged with capital letters (for those who have vision problems, lol) and the-l parameter to load the files generated epg.dat (when getepg launches and loads the files but if you just want to do load without the whole process, this parameter does).

KGD 4890 Installation on firm
1 - Unzip the contents of the zip file to your hard drive.
2 - Copy files getepg, and getepg.conf DaemonEPG the epg folder to / PLUGINS / PanelKGD / epg Azbox and give our 755 licenses and DaemonEPG getepg
3 - Change getepg.conf to everyone's taste
4 - If we have a script in / DISk2/etc/start.d to recharge the old EPG epgdat program, delete it.
5 - Copy the script files into the folder the file start.d have downloaded and unzipped to / DISk2/etc/start.dy give 755 permits
6 - As I suppose you will have the daemon loaded from the menu of the getepg panelKGD or you throw through the crond, to amend the last startup script and remove the line it says. / DaemonEPG.

Installation on non-firm KGD> 4890
1 - Unzip the contents of the zip file to your hard drive.
2 - In Azbox generate / PLUGINS a folder called PanelKGD (respecting upper) and within this another call epg
3 - Copy all files from the epg file we downloaded and unzipped to / PLUGINS / PanelKGD / epg (which we created before our Azbox) and give 755 permissions and DaemonEPG getepg
4 - Change getepg.conf to everyone's taste
5 - Copy the script files into the folder the file start.d have downloaded and unzipped to / DISk2/etc/start.dy give 755 permits
6 - Connect via telnet to Azbox and type:

cd /PLUGINS/PanelKGD/epg
./DaemonEPG
./getepg

The second instruction sets in memory the daemon to load automatically every night and the third loading the epg.

Note: I found that almost always fails in the end when epg.dat file loads into memory but apparently the EPG is loaded with no problems, so do not give him much importance.

Note 2: I modified the tutorial according to these changes.

=============================================
Changes version 2.1
- Fixed a bug in mediahigway with the time difference
- Fixed bug with negative offset values in the getepg.conf
- Now add events in mediahigway 1 retransmissions
- Added support for multiple character sets.

(The files that change are the getepg.conf getepg and the rest remained even though I placed the last epg.equiv and epg.excl published).
What's missing in the HOW TO:

As Morser advised me, one must create an XMLTV folder on your USB memory stick, so Rytec EPG has somewhere to go to. So...

1) FileZilla Client -> log into AZbox HD -> DATA -> USB1 [or 2] -> sda1 -> Create Directory [folder] -> XMLTV [where rytec files for EPG will be saved, as opposed to MHW 1 & 2 EPG, which go into the AZbox HD memory]. I give it CHMOD 755.

1a) Similarly, one can Copy&Paste the whole epg folder into AZbox HD -> PLUGINS folder -> PanelKGD [which you need to create by right clicking on PLUGINS folder -> Create Directory etc.], from your HDD.

Just make sure it's CHMOD -> 755, as well as the content of the folder [by right clicking on the folder/file -> Attributes -> 755 -> Save]!

2) If you haven't sufficient signal, like I don't at the moment [lots of leaves on trees in front of my dish], go for rytec EPG, not for MHW...

3) You need SWAP File for your AZbox HD to work properly!

There are 3 possibilities:

-DOM SWAP file [small 16MB or so in original DOMs or 100/200MB in larger capacity DOMs, if you replaced the original one]

-USB SWAP file [100 or 200 MB, using either SWAPON Script or Priority Manager 1.8 by BuyukBang! See the relevant threads for instructions]

-HDD SWAP file [for non-KGD Images use as above or for KGD Images use built-in KGD on-screen function to create it]

4) Morser, even if I go for rytec I still have a lot of green warnings in PuTTy that channels couldn't be found. Is it due to discrepancy in names of channels or something completely different? Can this be fixed, please? Btw, I have a list done with your MaZ, updated from Kingofsat, in all aspects.
 
Last edited:

hilton

Registered
Messages
7,622
getepg 2.4

=============================================
Cambios en version 2.3
- Arreglado Bug en Sky
- Añadida mas informacion en las redifusiones en MHW2 (Digital+)
- Añadida la extraccion del EPG de la TDT española (17 canales) enviada por Digital+ en Astra.
=============================================
Cambios en version 2.4
- Arreglado el bug en TDTmhw2
 

gorski

Registered
Messages
1,553
GetEPG 2.5by Morser

Well, here I leave the last version of the plugin to install on any firm from the 4890 (KGD or not).

The main novelty of this version is the use of epg.dat file has been replaced load the EPG function for the creation of epg.dat file you need in principle less memory and is faster, after the creation of frees memory file and then loads the EPG from the file, which is very fast, as a result, memory usage is lower, the upload speed is at least 6 times faster, we have the file generated for subsequent charging a startup script in order not to lose the restart and the info is loaded into the appropriate field allowing more characters.

Some examples approximate speed:
Loading EPG Digital + (140 channels) for 2 days - 45 seconds
Loading EPG Digital + (140 channels) for a week - 1:30 minutes
Loading EPG Sky Italia (530 channels) for a week - 3:30 minutes.

Beyond this, there have been some fixes in the xml (for example, has fixed the bug that did not eliminate the previous xml) and any thing else in the field of memory and has been added to getepg the parameter-A EPG convert all charged with capital letters (for those who have vision problems, lol) and the parameter-l for loading epg.dat generated (when getepg launches and loads the files but if you just want to do load without the whole process, this parameter does).

Installation into KGD 4890 FW
1 - Unzip the contents of the zip on your hard disk.
2 - Copy files getepg, and getepg.conf DaemonEPG the epg folder to / plugins / PanelKGD / epg in our Azbox and give permissions 755 to getepg and DaemonEPG
3 - Modify the getepg.conf to everyone's taste
4 - If you have a script in / DISk2/etc/start.d to recharge the old EPG epgdat program, delete it.
5 - Copy the script start.d content of the file folder that have been downloaded and unzipped to / DISk2/etc/start.dy give permissions 755
6 - As I suppose you will have the daemon loaded from the menu of the getepg PanelKGD or you throw through the crond, modify this script last boot and remove the line it says. / DaemonEPG.

Installation into non-KGD 4890 FW, latter than 4890
1 - Unzip the contents of the zip on your hard disk.
2 - generate Azbox / PLUGINS a folder called PanelKGD (respecting upper) and within this another call epg
3 - Copy all files in the file epg that have been downloaded and unzipped to / plugins / PanelKGD / epg (to be created before our Azbox) and give permissions 755 to getepg and DaemonEPG
4 - Modify the getepg.conf to everyone's taste
5 - Copy the script start.d content of the file folder that have been downloaded and unzipped to / DISk2/etc/start.dy give permissions 755
6 - Connecting via telnet to Azbox and type:

cd /PLUGINS/PanelKGD/epg
./DaemonEPG
./getepg


The second instruction memory, the daemon starts to load automatically every night and the third loading the epg.

Note: I checked it almost always fails finally when loading the file in memory epg.dat but apparently the EPG is loaded without problems, so do not bear much significance.

Note 2: I modified the tutorial according to these changes.

=============================================
Version 2.1 changes
- Fixed bug in MediaHighway 1 with the time difference
- Fixed bug with negative offset values in the getepg.conf
- Now add events in MediaHighway 1 retransmissions
- Added support for multiple character sets.
=============================================
Changes in version 2.2
- Added standard protocol (Supplier Tivusat added in conf)
- Added protocol Nova (using standard protocol but sent by a different pid)
- For those who use MediaHighway 2 (Digital +) a surprise to see who is the first thing is, jejejeje
=============================================
Changes in version 2.3
- Fixed Bug in Sky
- Added more information in the retransmissions in MHW2 (Digital +)
- Added the extraction of Spanish DTT EPG (17 channels) sent by Digital + on Astra.
=============================================
Changes in Version 2.4
- Fixed bug in TDTmhw2
=============================================
Changes in version 2.5
- Fixed bug in XMLTV

(Files that change are the getepg.conf getepg and the rest remained even though I placed the last epg.excl epg.equiv and published.)

There is 10 lines rytec limit to the packages you can DL!

If you want to DL only on some days use Cron plugin, not the GetEPG routines in the script..

If you want to DL more than 2 days of EPG visit the AZbox dot es forum, to see the details...

Good luck! :cool:
 
Last edited:
Status
Not open for further replies.
Top