getepg 2.0 by morser
ENGLISH :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.
Code: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.




Reply With Quote

