VDR para el Siemens Gigaset M740/M750
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Proyecto movido a GitHub

Miér 7 Abr 2021 - 19:23 por bittor

Comentarios: 0

Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Flujo RSS


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 



VDR to XBMC

5 participantes

Página 2 de 3. Precedente  1, 2, 3  Siguiente

Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por bittor Jue 21 Feb 2013 - 9:02

bittor
bittor
Desarrollador

Cantidad de envíos : 3662
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por guybrush Sáb 23 Feb 2013 - 11:04

I have cleaned up the code and xvdr-plugin and modified vdr files can be downloaded here:

http://guybrush.bugs3.com/m740av/vdr-ng-em-2013-02-22-release.tar.gz

I did testing with a fresh toolshain and applied the changes from archive above.

Working in XBMC:
- EPG
- create timer from EPG and manually
- delete non-active Timer
- record movies, etc.
- watch recordings
- watch recordings with active timer (e.g. 10s timeshift)
- delete recordings

NOT working in XBMC
- livestreaming
- special German characters (ä, ö, ü, ß)
- delete active timer

KNOWN problems
- sometimes VDR is restarting due to xvdr-plugin crashes

@bittor: Could you upload the files to svn or give me a short teaching how to do this? (I did a registration already)


Última edición por guybrush el Sáb 23 Feb 2013 - 11:10, editado 1 vez

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por guybrush Sáb 23 Feb 2013 - 11:09

Here are some examples from strace when VDR crashes (due to xvdr plugin). If somebody has an idea how to fix this or how to figure out the root cause, please let me know.

Código:

stat("/var/vdr/video0/.update", 0x7fff7970) = -1 ENOENT (No such file or directory)
open("/var/vdr/video0", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 38
fstat(38, {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
fcntl(38, F_SETFD, FD_CLOEXEC)          = 0
getdents64(38, /* 14 entries */, 16384) = 488
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Bus error

Código:

stat("/var/vdr/video0/.update", 0x7fff7970) = -1 ENOENT (No such file or directory)
open("/var/vdr/video0", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 33
fstat(33, {st_mode=S_IFDIR|0777, st_size=0, ...}) = 0
fcntl(33, F_SETFD, FD_CLOEXEC)          = 0
getdents64(33, /* 14 entries */, 16384) = 488
close(33)                              = 0
time(NULL)                              = 1361612120
gettid()                                = 264
accept(37, 0x7fff6a50, [16])            = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1361612120, 550000}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RT_0], 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_0], [RT_0], 16) = 0
gettimeofday({1361612120, 560000}, NULL) = 0
nanosleep({0, 990000000}, NULL)        = -1 EINTR (Interrupted system call)
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Bus error

Código:

time(NULL)                              = 1361612222
time([1361612222])                      = 1361612222
open("/etc/TZ", O_RDONLY)              = 33
read(33, "CET-1CEST,M3.5.0,M10.5.0/03:00:0"..., 68) = 34
read(33, "", 34)                        = 0
close(33)                              = 0
accept(37, 0x7fff6a50, [16])            = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1361612222, 100000}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RT_0], 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_0], [RT_0], 16) = 0
gettimeofday({1361612222, 110000}, NULL) = 0
nanosleep({0, 240000000}, NULL)        = -1 EINTR (Interrupted system call)
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Bus error

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por bittor Lun 25 Feb 2013 - 9:50

Thanks, this is a good work and documented.

I have seen changes in VDR for TS support, but this is in conflict with changes that I had pending for support new 1.7.x recording format.

This is my problem, but if you wait for the weekend, I'll can synchronize our work in VDR.
As you is registered in assembla, I'll give you a short teaching for upload plugin in SVN.
bittor
bittor
Desarrollador

Cantidad de envíos : 3662
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por bittor Sáb 9 Mar 2013 - 13:24

Finally support for VDR 1.7.x recordings is in trunk.

Now I'll check changes for xvdr support.
bittor
bittor
Desarrollador

Cantidad de envíos : 3662
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por guybrush Dom 17 Mar 2013 - 21:13

Thank You bittor. I hope i will find some time to test it next weekend.

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por bittor Lun 18 Mar 2013 - 21:08

Now VDR in trunk has code for xvdr plugin, toolchain will detect if xvdr plugin is compiled and set automatically macro in VDR and add config files (allowed_hosts.conf and xvdr.conf) to RootFS in /etc/vdr/plugins/xvdr.

Only is missing xvdr plugin that you can commit to SVN with these steps:
1) Install RapidSVN and run it, right click in Bookmarks and fill URL with
Código:
http://svn.assembla.com/svn/VDR-M7x0/trunk
and a empty directory in your local drive for destination.
Press Ok and wait it finishes.
Local directory isn't to compile, only to manage SVN files.

2) Copy xvdr's original code in your local "vdr-m7x0-plugins" with a new directory.
I would remove git revision in directory name, only with "xvdr-0.96" is correct.
This step is for to get diff from original code to M7x0 code, so we can update plugin more easily.

3) In RapidSVN do right click in new "xvdr-0.96" directory and select "Add recursive".

4) Right click in "vdr-m7x0-plugins" and "Commit...", write a message as "Original xvdr 0.96 plugin" (you can add multiple lines for git revision and url in github) and "OK".

6) Create the symbolic link "xvdr" in "vdr-m7x0-plugins":
Código:
ln -s xvdr-0.96 xvdr

7) Copy plugin with your changes (vdr-ng-em-2013-02-22-release) to "vdr-m7x0-plugins/xvdr-0.96" overwriting files.

8) I have created a patch for compile with TS records, download it here, copy it in "vdr-m7x0-plugins" and run from command line inside "vdr-m7x0-plugins/xvdr-0.96"
Código:
patch -p1 < ../xvdr-plugin-m7x0.patch
If all is right, you will have xvdr plugin ready and can delete "xvdr-plugin-m7x0.patch".

9) From RapidSVN, select directories, files and symbolic link "xvdr" with unversioned status and right click and add or add recursive if it's a directory.

10) Right click in "vdr-m7x0-plugins" and "Commit...", write a message as "Changes for compile xvdr 0.96 plugin in M7x0" and "OK".

That's all and now you'll can compile trunk in other directory with xvdr plugin.

If you do not understand something or you prefer I do the commit, let me know.
bittor
bittor
Desarrollador

Cantidad de envíos : 3662
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por guybrush Sáb 23 Mar 2013 - 23:17

Thank You for the very good explanation. xvdr-plugin is comitted. I did a fresh check out and compiling is running ...

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por guybrush Dom 24 Mar 2013 - 9:24

Compiling was done successfully over night. Live streaming in XBMC is working for ~3 seconds then m740av-VDR is rebooting. I will do more testing next weekend.

guybrush

Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por bittor Lun 25 Mar 2013 - 9:11

guybrush escribió:Thank You for the very good explanation. xvdr-plugin is comitted. I did a fresh check out and compiling is running ...
You have skipped step 4 with commit from the original code, although it's here, then no problem.

Now you can do changes or fixes in plugin.
bittor
bittor
Desarrollador

Cantidad de envíos : 3662
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

https://github.com/bittor7x0/VDR-M7x0

Volver arriba Ir abajo

VDR to XBMC - Página 3 Empty Re: VDR to XBMC

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Página 2 de 3. Precedente  1, 2, 3  Siguiente

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.