Home

AZOpen v 1.9.1

  • Iniciador del tema jpbravo
  • Fecha de inicio
J

jpbravo

Invitado
AZOpen - Open source tools for the AZBox
This has only been tested with the latest 0.9.5301 firmware.


The EPG program is now stable and works rather well, even if I say so myself. There have been a number of comments indicating that some people are confused about how to install and run it, despite the detailed instructions in the README file. This is an attempt at providing simple instructions for technophobes, so here goes ...

Installation (v1.9.1)

First, you'll need to get the EPG program from here. Click on the big green button, and it'll download a zip file to your machine. If you're using Windows, do not unzip the file on your PC because it will corrupt the scripts.

Next, you need to copy the zip file to the AZBox: how to do this depends on whether you have a hard disk in the box or you're using a USB memory stick (USB key).

1. USB Key:


  • Copy the zip file to the key and unmount it from your PC.
  • Plug the key into the box.
  • Telnet to the box and change to the USB directory

2. Hard disk


  • Connect to your AZBox using FTP and copy the zip file to the hard disk, i.e. to /DATA/hdb1. You can do this using the ftp command-line tool, or using one of the available tools , e.g. MaZ.
  • Telnet to the box, and change to /DATA/hdb1

Now, the next part is the same for both USB and hard disk - create a new folder to contain the files, unzip the files into this and change to the bin folder:
HTML:
mkdir myEPG
cd myEPG
unzip ../azepgmgr.zip
cd bin
chmod +x install.sh
./install.sh
The program has now been installed.

Running the program

There are a number of possible settings you can use for the program. However, for the sake of simplicity, this will only explain the most important options. The full description is in the README file that's in the zip. Every few days, you'll need to download the latest XMLTV data, i.e. the information for the EPG. Probably the simplest way to run the program is to use its automatic updating feature:
HTML:
./axboxepg -a  # Automatic updates
This will automatically download the EPG data if required, and will load the EPG events into memory.

salu2
 
J

jpbravo

Invitado
Añado el readme para configurar los dias de descarga .........
HTML:
## Version 1.9.1 - March 2011. ##

This program downloads XMLTV data from rytec.be, and uses the control
files there to assist with the application of these data to the EPG of
the AZBox.

Installation
============
I'm a geek and very much at home with computers and I often forget that
this is not the case for everyone. So, here's a simple installation
guide:
1. Download the azepgmgr-x.x.zip file, and copy it to the AZBox. It's
probably a good idea to create a directory on the box into which
you can install it:
cd /DATA/hdb1
mkdir MyEPG
mv azepgmgr-x.x.zip newEPG
cd /MyEPG
unzip azepgmgr-x.x.zip
chmod +x install.sh
./install.sh

If you don't have a hard disk, you can run this from a USB key. The
process is similar - unzip the archive onto the key.

2. At this point, you have a directory called "bin". You have to change
to that directory to run the program - it assumes that everything is
local.

3. Edit the azepgmgr.conf file to enable the channels you want. The default
is for the UK channels to be enabled, but you only have to remove the
comment character "#" from the line you want, in order to enable it.
Remember to comment out the UK entries if you don't want them.

4. Set up the system to reboot every morning at some time between 02:00 and
06:00 (2 a.m. and 6 a.m.). This will automatically call S11ApplyEPG as
part of the boot process, when it will load the EPG without interfering
with your viewing. The latest versions of the firmware supports persisted
EPG data (in /Download/epg.dat) from where it will automatically load it
when the AZBox is rebooted.

5. If the channels and/or sources data are updated, use the "getUpdates"
script to download them. Use the flag "-c" to load channels and/or "-s"
to retrieve sources:
./getUpdates -c -s


Full description
================
There are a number of parameters you can specify on the command line - if
you only use "-a", the program will manage downloading and updating the
EPG itself ("a" for "automatic), so this is probably the best setting to
use. From version 1.8, it will automatically reload the previously
loaded EPG data in a matter of seconds, so this is also a good solution
if you're impatient.

The full set of flags is:
-a           This will use some tests to automatically download the
data files, if the file doesn't exist or if it's old.
-o ssss      Specifies the UTC offset in seconds. For example, this is
3600 in UK/Ireland for Daylight Savings Time. This takes the
value from /DISK2/selene.conf by default, but if the times
are still wrong, set this to an appropriate value for your
locale. The default calculation for the time is:
(time in XMLTV)-(offset in XMLTV)+(offset in selene.conf)
-t           This forces daylight savings time to be taken into account.
It tries to ascertain this for itself, but this forces the
setting to ON.
-l           This will force the download of the XMLTV data from rytec.be.
This should be run only infrequently, to prevent overloading
the Rytec server.  The default is to not download the files,
but to use the files that have already been downloaded instead.
-d days      This restricts the loading of the specified number of days
of EPG events. This must be in the range 1 to 7. The default
is to load 2 days worth of EPG.
-n num       This limits the total number of events loaded to the number
specified. The default is 30000 events.


Development
===========
For information on development, please see the README in the src directory.
salu2
 
J

jpbravo

Invitado
smudger dijo:
_azepgmgr file is missing
Ahi me quedo yo , mañana con mas calma le hecharemos un vistazo a ver donde está el fallo.
salu2
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Go to

Código:
http://azopen.sourceforge.net/

http://sourceforge.net/projects/azopen/files/

for the update... Here:

Código:
http://sourceforge.net/projects/azopen/files/azepgmgr-1.9.1a/
 

hperez

AZmod
Loco por OpenSPA
Fan de OpenSPA
10 Dic 2009
1.659
18
0
Creo que han vuelto a subir otra versión con el _azepgmgr. De todas maneras a mí no me funciona:

ERROR: ChannelSDK_Load:354 mismatch version(10,9) Fail to read the channel_list to '/DISK2/all_channel.dat'
 
J

jpbravo

Invitado
hperez dijo:
Creo que han vuelto a subir otra versión con el _azepgmgr. De todas maneras a mí no me funciona:

ERROR: ChannelSDK_Load:354 mismatch version(10,9) Fail to read the channel_list to '/DISK2/all_channel.dat'

pues tienes razon ahora si está el dichoso archivo , luego lo testeo.
salu2
 
J

jpbravo

Invitado
HTML:
AZBox[myEPG]$ unzip ../azepgmgr.zip      
Archive:  ../azepgmgr.zip                
inflating: azboxepg                    
inflating: _azepgmgr                   
inflating: azepgmgr.conf               
inflating: getupdates                  
inflating: install.sh                  
unzip: Unsupported compression method 0  

AZBox[myEPG]$

aqui se queda ahora , bueno parece que no esta tampoco correcto el archivo, al final lo pondran bien.
salu2
 

okidokiss

Usuario
Amigo OpenSPA
10 Ago 2009
30
0
0
Eu tenho sempre este erro:

+ ./_azepgmgr -d 2 0
0

_azepgmgr ver
1.9

unlink fail!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!: No such file or directory

ERROR: ChannelSDK_LoadNetwork:767 Fail to open
'/DISK2/DVBC.dat'
ERROR:
ChannelSDK_LoadNetwork:767 Fail to open
'/DISK2/ISDBT.dat'
ERROR: ChannelSDK_LoadNetwork:767
Fail to open '/DISK2/ATSC.dat'
 

litomendoza

Usuario
Amigo OpenSPA
31 May 2011
18
0
0
Buenas yo tengo un AZbox HD Elite con firm original 0.9.5306, usando Opencas, pero no logro ver el epg, con lo cuál decidí seguir este tuto, el primer problema que encontré es que no tenía el dir "hdb1" dentro del "DATA", así que lo creé y seguí los pasos, fué cuando me topé con el 2º problema el unzip no me va, desde windows 7 descrompimí el archivo usando Total Commander y los transferí dentr de la carpeta "myEPG", luego:
chmod +x install.sh
./install.sh
Sin problema, pero al intentar iniciar la actualización me daba error, por lo que reinicié el equipo y ya no había ninguno de los directorios creados. La verdad es que no tengo idea de Linux. Esto funciona mejor con KGD, es una buena opción, es que leí que si no tenías problemas era mejor no cambiar.
Bueno compañeros espero me puedan aconsejar.

Saludos
 

norhap

Usuario Destacado
Vip OpenSPA
5 Ene 2010
4.354
994
0
no lo uso, pero el error te puede venir por el directorio donde lo creas, si tienes elite, tienes que coger la opción usb1 (con un pendrive) y no hdb1, según leo ,tendrias que crear una carpeta llamada bin en /DATA/usb1 , meter los archivos, una vez lo tengas, ejecutas orden para instalar:

Código:
/DATA/usb1

y luego:

Código:
mkdir myEPG 
cd myEPG 
unzip ../azepgmgr.zip 
cd bin 
chmod +x install.sh 
./install.sh

con esto debería de estar en marcha.

luego ejecutas para que te actualice:

Código:
./axboxepg -a

pd. es una sugerencia te repito que no lo tengo instalado, también como leerás hay gente que no lo arranca.

suerte.
 
L

leitz

Invitado
si quieres epg, utiliza la de morser, es facil de instalar y funciona perfectamente
 

hperez

AZmod
Loco por OpenSPA
Fan de OpenSPA
10 Dic 2009
1.659
18
0
Lo mismo digo.

Yo he intentado usar varias veces el AZOpen y siempre me da error.

Es más sencillo usar el getepg.
 

litomendoza

Usuario
Amigo OpenSPA
31 May 2011
18
0
0
Probaré con el Morser, sino siempre puedo probar con lo que dice 'fogonero'.

Muchas gracias compañeros, saludos

Lito

Me edito:
Seguí este tuto http://www.azboxhd.es/foro/topic/7722-getepg-25/ y funcionó a la primera, muy facil y rapido.

Solo queda decir Muchas Gracias de Nuevo !!!