Results 1 to 4 of 4

Thread: getepg 2.0 by morser

  1. #1
    VIP Member
    Join Date
    04-03-2009
    Posts
    5,494
    Uploads
    980

    getepg 2.0 by morser

    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.
    ENGLISH :

    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.
    Attached Files Attached Files

  2. #2
    Moderator philippe146's Avatar
    Join Date
    25-02-2010
    Location
    canada
    Posts
    206
    Uploads
    116

    Arrow Re: getepg 2.0 by morser

    [ PHP ] Quote:
    2.2 getepg

    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 Has Been Replaced file load the EPG function for the creation of epg.dat file in Principle You Need is faster and less memory , after the creation of file and frees memory Then loads the EPG file from the ss s, 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:
    Digital EPG load (140 channels) for 2 days - 45 seconds
    Digital EPG load (140 channels) for a week - 1:30 minutes
    Loading EPG Sky Italia (530 channels) for a week - 3:30 minutes.

    Beside this , There Have Been Some fixes in the xml (for example , has fixed the bug eliminate.The That Did not the previous xml) and Any thing else in the field of memory and has-been added to the parameter- A getepg 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) .

    KGD 4890 Installation on firm
    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 to 755 and DaemonEPG getepg
    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 755 permissions
    6 - As I suppose you will Have the daemon loaded from the menu of the getepg PanelKGD -through or you throw the crond , modify this script and remove the boot last line it says . / DaemonEPG .

    Installation on non -firm KGD > 4890
    1 - Unzip the contents of the zip on your hard disk.
    2 - generate Azbox / plugins folder Called PanelKGD ( Respecting upper) and Another Within this 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 to 755 and DaemonEPG getepg
    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 755 permissions
    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 Found That Almost Always Fails in the end When the file loading memory epg.dat But Apparently Into the EPG is loaded Without Problems, Do Not Give Him so much importance.

    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 sat by a Different But pid )
    - For Those who use MediaHighway 2 ( Digital) a surprise to see Who is the first thing is , jejejeje

    ( Files That Are the getepg.conf getepg change and the rest Remained Even Though I Placed the last epg.excl epg.equiv and published . ) [ / PHP ] What's missing in the HOW TO:

    As Advised Morser me, One must create an XMLTV folder on your USB memory stick, so you Rytec EPG 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 dog Copy & Paste the whole folder AZbox epg Into 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 Have Not Sufficient signal, like I do at the moment [ lots of leaves on trees in front of my dish ] , go for Rytec EPG, not for MHW ...

    3) You Need SWAP AZbox File for your HD to work Properly !

    There Are 3 possibilities:

    SWAP file- DOM [small 16MB or so in original or SMOs in Large Capacity 100/200MB DOMs , if you Replaced the original one]

    SWAP file- USB [100 or 200 MB, using swapon Either or Priority Script Manager 1.8 by BuyukBang ! See the Relevant threads for Instructions]

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

  3. #3
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: getepg 2.0 by morser

    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
    Attached Files Attached Files

  4. #4
    Super Moderator aguda's Avatar
    Join Date
    09-12-2007
    Posts
    10,343
    Uploads
    2,875

    Re: getepg 2.0 by morser

    GetEPG 2.5by Morser

    Code:
    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!
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •