Proyecto movido a GitHub
Miér 7 Abr 2021 - 19:23 por bittor
Proyecto movido a GitHub:
https://github.com/bittor7x0/VDR-M7x0
Con muchos cambios y correcciones, Más información
También incluye el plugin epgfixer para corregir la EPG usando expresiones regulares y el plugin xmltv2vdr para descargar la EPG de internet
https://github.com/bittor7x0/VDR-M7x0
Con muchos cambios y correcciones, Más información
También incluye el plugin epgfixer para corregir la EPG usando expresiones regulares y el plugin xmltv2vdr para descargar la EPG de internet
Comentarios: 0
Buscar
VDR to XBMC
5 participantes
Página 1 de 3.
Página 1 de 3. • 1, 2, 3
VDR to XBMC
Hi,
has anybody tried to connect the M740 to XBMC ?
I can connect to the box via streamdev but I really would
like to use the PVR Backend in XBMC and I think for
that I need the XVDR Plugin for the M740.
Did anybody tried to get a setup like that running ?
Regards,
Rainer
has anybody tried to connect the M740 to XBMC ?
I can connect to the box via streamdev but I really would
like to use the PVR Backend in XBMC and I think for
that I need the XVDR Plugin for the M740.
Did anybody tried to get a setup like that running ?
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
Hi,
I'm trying to compile the vnsiserver plugin. Downloaded the source code
and put it in vdr-ng-em/build/vdr-m7x0/PLUGINS/src/vnsiserver
When I run make I get the following error:
Thanks,
Rainer
I'm trying to compile the vnsiserver plugin. Downloaded the source code
and put it in vdr-ng-em/build/vdr-m7x0/PLUGINS/src/vnsiserver
When I run make I get the following error:
- Código:
Plugin vnsiserver:
make[2]: Betrete Verzeichnis '/Buffalo/usbdisk1/M740/vdr-ng-em/build/vdr-m7x0/PLUGINS/src/vnsiserver'
mips-linux-uclibc-g++ -march=mips2 -mtune=vr4120 -mfix-vr4120 -Ofast -msoft-float -fvisibility-inlines-hidden -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fno-exceptions -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DUSE_TUNER_AUTOVALUES -DUSE_DIRECT_IO -DDISABLE_RINGBUFFER_IN_RECEIVER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVNSI_SERVER_VERSION='"0.0.1"' -I../../../include vnsiserver.c
mips-linux-uclibc-g++ -march=mips2 -mtune=vr4120 -mfix-vr4120 -Ofast -msoft-float -fvisibility-inlines-hidden -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fno-exceptions -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DUSE_TUNER_AUTOVALUES -DUSE_DIRECT_IO -DDISABLE_RINGBUFFER_IN_RECEIVER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVNSI_SERVER_VERSION='"0.0.1"' -I../../../include bitstream.c
mips-linux-uclibc-g++ -march=mips2 -mtune=vr4120 -mfix-vr4120 -Ofast -msoft-float -fvisibility-inlines-hidden -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fno-exceptions -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DUSE_TUNER_AUTOVALUES -DUSE_DIRECT_IO -DDISABLE_RINGBUFFER_IN_RECEIVER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVNSI_SERVER_VERSION='"0.0.1"' -I../../../include cmdcontrol.c
make[2]: Verlasse Verzeichnis '/Buffalo/usbdisk1/M740/vdr-ng-em/build/vdr-m7x0/PLUGINS/src/vnsiserver'
*** failed plugins: vnsiserver
Thanks,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
I don't see line with compilation error here.
Error must be in cmdcontrol.c?
Have you checked the plugin dependencies?
Error must be in cmdcontrol.c?
Have you checked the plugin dependencies?
Re: VDR to XBMC
Nope, have to research about that,bittor escribió:Have you checked the plugin dependencies?
Thanks,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
Hi,
after a long time I'm starting over again :-)
I downloaded the sources for the vdr plugin vnsiserver
and put them into
I also modified the .config
Can someone point me into the right direction ?
Regards,
Rainer
after a long time I'm starting over again :-)
I downloaded the sources for the vdr plugin vnsiserver
and put them into
- Código:
/vdr-ng-em/build/vdr-m7x0-PLUGINS/vnsiserver
I also modified the .config
- Código:
CONFIG_VDR-PLUGINS = vnsiserver
CONFIG_VDR-PLUGINS-LIBS = vnsiserver
- Código:
Plugin vnsiserver:
make[2]: Betrete Verzeichnis '/home/spain/vdr-ng-em/build/vdr-m7x0-PLUGINS/vnsiserver'
mips-linux-uclibc-g++ -O2 -g -Wall -Woverloaded-virtual -fPIC -DPIC -Wall -Woverloaded-virtual -Wno-parentheses -funroll-loops -floop-interchange -floop-strip-mine -floop-block -ftree-loop-linear -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DUSE_TUNER_AUTOVALUES -DUSE_DIRECT_IO -DDISABLE_RINGBUFFER_IN_RECEIVER -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -I/home/spain/vdr-ng-em/build/vdr-m7x0/include -I/home/spain/vdr-ng-em/build/vdr-m7x0/include -I/home/spain/vdr-ng-em/build/vdr-m7x0 vnsiclient.c
In file included from vnsiclient.c:40:0:
vnsiclient.h:63:3: error: 'cCharSetConv' does not name a type
In file included from receiver.h:30:0,
from vnsiclient.c:41:
/usr/include/linux/videodev2.h:1453:2: error: '__le32' does not name a type
In file included from vnsiclient.c:43:0:
recplayer.h:73:3: error: 'cVector' does not name a type
vnsiclient.c: In member function 'virtual void cVNSIClient::OsdStatusMessage(const char*)':
vnsiclient.c:302:59: error: 'trVDR' was not declared in this scope
vnsiclient.c: In member function 'bool cVNSIClient::process_Login()':
vnsiclient.c:546:22: error: 'VNSI_SERVER_VERSION' was not declared in this scope
vnsiclient.c: In member function 'bool cVNSIClient::processCHANNELS_GetChannels()':
vnsiclient.c:833:24: error: 'm_toUTF8' was not declared in this scope
vnsiclient.c: In member function 'bool cVNSIClient::processTIMER_Get()':
vnsiclient.c:1030:26: error: 'm_toUTF8' was not declared in this scope
vnsiclient.c: In member function 'bool cVNSIClient::processTIMER_GetList()':
vnsiclient.c:1072:24: error: 'm_toUTF8' was not declared in this scope
vnsiclient.c: In member function 'bool cVNSIClient::processTIMER_Add()':
vnsiclient.c:1111:122: error: no matching function for call to 'cTimer::PrintDay(time_t&, uint32_t&, bool)'
vnsiclient.c:1111:122: note: candidate is:
In file included from /home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/recording.h:18:0,
from vnsiclient.c:29:
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: static cString cTimer::PrintDay(time_t, int)
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: candidate expects 2 arguments, 3 provided
vnsiclient.c:1116:162: error: no matching function for call to 'cTimer::PrintDay(time_t&, uint32_t&, bool)'
vnsiclient.c:1116:162: note: candidate is:
In file included from /home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/recording.h:18:0,
from vnsiclient.c:29:
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: static cString cTimer::PrintDay(time_t, int)
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: candidate expects 2 arguments, 3 provided
vnsiclient.c: In member function 'bool cVNSIClient::processTIMER_Update()':
vnsiclient.c:1263:124: error: no matching function for call to 'cTimer::PrintDay(time_t&, uint32_t&, bool)'
vnsiclient.c:1263:124: note: candidate is:
In file included from /home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/recording.h:18:0,
from vnsiclient.c:29:
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: static cString cTimer::PrintDay(time_t, int)
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: candidate expects 2 arguments, 3 provided
vnsiclient.c:1268:164: error: no matching function for call to 'cTimer::PrintDay(time_t&, uint32_t&, bool)'
vnsiclient.c:1268:164: note: candidate is:
In file included from /home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/recording.h:18:0,
from vnsiclient.c:29:
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: static cString cTimer::PrintDay(time_t, int)
/home/spain/vdr-ng-em/build/vdr-m7x0/include/vdr/timers.h:97:18: note: candidate expects 2 arguments, 3 provided
vnsiclient.c: In member function 'bool cVNSIClient::processRECORDINGS_GetList()':
vnsiclient.c:1385:59: error: 'm_toUTF8' was not declared in this scope
vnsiclient.c: In member function 'bool cVNSIClient::processEPG_GetForChannel()':
vnsiclient.c:1662:24: error: 'm_toUTF8' was not declared in this scope
make[2]: *** [vnsiclient.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/spain/vdr-ng-em/build/vdr-m7x0-PLUGINS/vnsiserver'
*** failed plugins: vnsiserver
Can someone point me into the right direction ?
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
You have many errors, with VDR, coding and UTF8.
Our VDR is old and any functions are different from those used by plugin or non exist.
In EPGSearch plugin you can copy any code for vnsiserver plugin.
For example:
You have to define "VNSI_SERVER_VERSION", but why it is not defined?
Plugin is called vnsiserver, but file is vnsiclient.c.
"cCharSetConv" must be *copied* from the latest VDR-PC and you probably have to add libiconv library to firmware (it's a option in .config).
I haven't plugin source code and don't know what is "m_toUTF8", but our firmware doesn't include UTF8 support, so you have to define it in the plugin.
There are other coding errors that need fixing.
Our VDR is old and any functions are different from those used by plugin or non exist.
In EPGSearch plugin you can copy any code for vnsiserver plugin.
For example:
- Código:
#if APIVERSNUM < 10509
#define trVDR(s) tr(s)
#endif
- Código:
#if VDRVERSNUM < 10503
*Timer->PrintDay(start, Timer->WeekDays()),
#else
*Timer->PrintDay(start, Timer->WeekDays(), true),
#endif
You have to define "VNSI_SERVER_VERSION", but why it is not defined?
Plugin is called vnsiserver, but file is vnsiclient.c.
"cCharSetConv" must be *copied* from the latest VDR-PC and you probably have to add libiconv library to firmware (it's a option in .config).
I haven't plugin source code and don't know what is "m_toUTF8", but our firmware doesn't include UTF8 support, so you have to define it in the plugin.
There are other coding errors that need fixing.
Re: VDR to XBMC
Hi bittor,
thanks for pointing me into the direction, I'll try to get some time during the WE to fix and adjust :-)
Regards,
Rainer
thanks for pointing me into the direction, I'll try to get some time during the WE to fix and adjust :-)
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
Hi bittor,
just another question :
In what file do I have to put these things ?
vnsiserver.h or in the Makefile ?
A little howto on how to compile plugin can be found
here
Thats looks very easy, but I guess not for the vdr for the M740 :-(
Regards,
Rainer
just another question :
In what file do I have to put these things ?
vnsiserver.h or in the Makefile ?
A little howto on how to compile plugin can be found
here
Thats looks very easy, but I guess not for the vdr for the M740 :-(
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
You should not edit Makefile, but if this is a problem you will not be able adapt the plugin for M740 because there are many errors and some will not be easy to fix if you aren't a developer.
Though you can to compile the plugin without errors, it can work incorrectly and need other corrections.
Though you can to compile the plugin without errors, it can work incorrectly and need other corrections.
Re: VDR to XBMC
Hi,
after many hours of trial and error I came to the conclusion :
I'm not a developer :-(
I can do some bash scripting but other than that I'm lost.
So here is my question :
Anybody willing to get into the subject for a little donation ??
To get my new little Multimedia System (raspberry) at home running I need either
the vnsiserver or the xvdr plugin for our sweet little box.
Regards,
Rainer
after many hours of trial and error I came to the conclusion :
I'm not a developer :-(
I can do some bash scripting but other than that I'm lost.
So here is my question :
Anybody willing to get into the subject for a little donation ??
To get my new little Multimedia System (raspberry) at home running I need either
the vnsiserver or the xvdr plugin for our sweet little box.
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
yes, but also no success because of my limited knowlegde :-(
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
xvdr plugin for m740av would be nice. In the past i have tried to compile the plugin, but there are too many error messages ...
@Rainer: You can add a new video source in XBMC: just enter vtp://ip_of_m740 and then you can watch Live TV from m740av with the streamdevserver-plugin.
@Rainer: You can add a new video source in XBMC: just enter vtp://ip_of_m740 and then you can watch Live TV from m740av with the streamdevserver-plugin.
guybrush- Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013
Re: VDR to XBMC
Hi,
yes I know but : no epg and switching channels is very slow plus your recordings will not show up nicely :-)
At the moment I'm trying to get xbmc + xvdr or vnsiserver running on the raspberry pi using Raspbmc and it looks
good so far with vnsiserver. And I can watch my old VDR Recordings :-)
That way could use the M740 just as a Recorder and do all the Rest with the raspberry hooked up to my TV
Regards,
Rainer
P.S. Still it would be nice to have either xvdr or vnsiserver running on the M740
yes I know but : no epg and switching channels is very slow plus your recordings will not show up nicely :-)
At the moment I'm trying to get xbmc + xvdr or vnsiserver running on the raspberry pi using Raspbmc and it looks
good so far with vnsiserver. And I can watch my old VDR Recordings :-)
That way could use the M740 just as a Recorder and do all the Rest with the raspberry hooked up to my TV
Regards,
Rainer
P.S. Still it would be nice to have either xvdr or vnsiserver running on the M740
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
I have solved some more problems with the xvdr plugin, but I can't solve this error: Can anyone help?
- Código:
make[2]: Betrete Verzeichnis '/home/marcus/vdr-ng-em/build/vdr-m7x0-PLUGINS/xvdr'
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/config/config.o src/config/config.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer.o src/demuxer/demuxer.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_ADTS.o src/demuxer/demuxer_ADTS.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_LATM.o src/demuxer/demuxer_LATM.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_AC3.o src/demuxer/demuxer_AC3.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_EAC3.o src/demuxer/demuxer_EAC3.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_H264.o src/demuxer/demuxer_H264.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_MPEGAudio.o src/demuxer/demuxer_MPEGAudio.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_MPEGVideo.o src/demuxer/demuxer_MPEGVideo.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_PES.o src/demuxer/demuxer_PES.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/demuxer_Subtitle.o src/demuxer/demuxer_Subtitle.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/parser.o src/demuxer/parser.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/demuxer/streaminfo.o src/demuxer/streaminfo.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/live/channelcache.o src/live/channelcache.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/live/livepatfilter.o src/live/livepatfilter.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/live/livequeue.o src/live/livequeue.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/live/livestreamer.o src/live/livestreamer.c
src/live/livestreamer.c:484:2: warning: #warning "VDR versions < 1.7.28 do not support all features" [-Wcpp]
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/net/msgpacket.o src/net/msgpacket.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/net/os-config.o src/net/os-config.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/net/socketlock.o src/net/socketlock.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/recordings/recordingscache.o src/recordings/recordingscache.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/recordings/recplayer.o src/recordings/recplayer.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/tools/hash.o src/tools/hash.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/xvdr/xvdr.o src/xvdr/xvdr.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/xvdr/xvdrclient.o src/xvdr/xvdrclient.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/xvdr/xvdrserver.o src/xvdr/xvdrserver.c
mips-linux-uclibc-g++ -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I./src -o src/xvdr/xvdrchannels.o src/xvdr/xvdrchannels.c
mips-linux-uclibc-g++ -Wl,-O1 -shared src/config/config.o src/demuxer/demuxer.o src/demuxer/demuxer_ADTS.o src/demuxer/demuxer_LATM.o src/demuxer/demuxer_AC3.o src/demuxer/demuxer_EAC3.o src/demuxer/demuxer_H264.o src/demuxer/demuxer_MPEGAudio.o src/demuxer/demuxer_MPEGVideo.o src/demuxer/demuxer_PES.o src/demuxer/demuxer_Subtitle.o src/demuxer/parser.o src/demuxer/streaminfo.o src/live/channelcache.o src/live/livepatfilter.o src/live/livequeue.o src/live/livestreamer.o src/net/msgpacket.o src/net/os-config.o src/net/socketlock.o src/recordings/recordingscache.o src/recordings/recplayer.o src/tools/hash.o src/xvdr/xvdr.o src/xvdr/xvdrclient.o src/xvdr/xvdrserver.o src/xvdr/xvdrchannels.o -o libvdr-xvdr.so
/home/marcus/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686/lib/gcc/mips-linux-uclibc/4.7.2/../../../../mips-linux-uclibc/bin/ld: src/config/config.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC
src/config/config.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libvdr-xvdr.so] Fehler 1
make[2]: Verlasse Verzeichnis '/home/marcus/vdr-ng-em/build/vdr-m7x0-PLUGINS/xvdr'
guybrush- Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013
Re: VDR to XBMC
Problem fixed by changing the xvdr-Makefile
- Código:
export CXXFLAGS = -fPIC -W -Woverloaded-virtual -Wno-parentheses
guybrush- Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013
Re: VDR to XBMC
Hi guybrush,
thats look very good.
Does this mean the xvdr plugin is running now ?
If yes, do you mind to share the source code ?
Regards,
Rainer
thats look very good.
Does this mean the xvdr plugin is running now ?
If yes, do you mind to share the source code ?
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
Hi,
just a little update:
running vdr + vnsiser + xbmc on my raspberry is only partialy working :-(
I think that's because the pi maybe has not enough memory.
Mine only has 256 MB. Running vdr on a laptop + vnsiserver everyting looks good. But I don't want to have my laptop running 24 hrs !
So I'm looking forward testing the xvdr server on M740.
Regards,
Rainer
just a little update:
running vdr + vnsiser + xbmc on my raspberry is only partialy working :-(
I think that's because the pi maybe has not enough memory.
Mine only has 256 MB. Running vdr on a laptop + vnsiserver everyting looks good. But I don't want to have my laptop running 24 hrs !
So I'm looking forward testing the xvdr server on M740.
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
xvdr-plugin is not running yet, but i am able to compile it. m740 log:
I have some stupid simple general problems :-(
1) I always do a "full" compile (touch .config && make) How do I only compile the plugin?
2) xvdr-plugin does not find the vdr header files, so my workaround is to put in all xvdr-files the absolute path to the vdr header. I tried different things with VDRDIR in the Makefile, but without success
3) After compiling I can find the xvdr plugin in the xvdr-plugin-folder, but it is not copied to the firmware. I always get the error:
P.S. I am using OpenElec (2.99.1) (XBMC Frodo) with an AMD E-350.
- Código:
Jan 26 15:41:04 (none) user.info vdr: [135] VDR version 1.4.7 m7x0 version Preview 2013-01-03 19:03 (VDR-NG-EM version: pre 0.8 BETA) started
Jan 26 15:41:04 (none) user.info vdr: [135] loading plugin: /var/vdr/lib/libvdr-xvdr.so.1.4.5
Jan 26 15:41:04 (none) user.err vdr: [135] ERROR: Unable to resolve symbol
I have some stupid simple general problems :-(
1) I always do a "full" compile (touch .config && make) How do I only compile the plugin?
2) xvdr-plugin does not find the vdr header files, so my workaround is to put in all xvdr-files the absolute path to the vdr header. I tried different things with VDRDIR in the Makefile, but without success
3) After compiling I can find the xvdr plugin in the xvdr-plugin-folder, but it is not copied to the firmware. I always get the error:
- Código:
Error: Cannot open file '/home/marcus/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686/target_root/usr/lib/vdr/libvdr-xvdr.so.1.4.5'
make: *** [/home/marcus/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686/stagefiles/file_tab.rootfs_dir_m740_pro.lst] Fehler 1
P.S. I am using OpenElec (2.99.1) (XBMC Frodo) with an AMD E-350.
guybrush- Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013
Re: VDR to XBMC
Hi guybrush,
to bad it does not tell you what symbol cannot be resolved :-(
Are these the only errors you get during compile ?
Do you mind to share the source with your correction ?
4 Eyes may see more then just 2
I have the same problem with the full compile, have not figured out
yet how to compile only the plugins.
Regards,
Rainer
to bad it does not tell you what symbol cannot be resolved :-(
Are these the only errors you get during compile ?
Do you mind to share the source with your correction ?
4 Eyes may see more then just 2
I have the same problem with the full compile, have not figured out
yet how to compile only the plugins.
Regards,
Rainer
RainerW- Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 68
Re: VDR to XBMC
Would be nice to have xvdr or vnsi for the M7x0.
_ReaL_- Cantidad de envíos : 24
Fecha de inscripción : 13/07/2012
Localización : Cádiz
Re: VDR to XBMC
Plugin isn't compiled correctly with ToolChain.guybrush escribió:xvdr-plugin is not running yet, but i am able to compile it. m740 log:
- Código:
Jan 26 15:41:04 (none) user.info vdr: [135] VDR version 1.4.7 m7x0 version Preview 2013-01-03 19:03 (VDR-NG-EM version: pre 0.8 BETA) started
Jan 26 15:41:04 (none) user.info vdr: [135] loading plugin: /var/vdr/lib/libvdr-xvdr.so.1.4.5
Jan 26 15:41:04 (none) user.err vdr: [135] ERROR: Unable to resolve symbol
make recompile-vdr-plugins && makeguybrush escribió:1) I always do a "full" compile (touch .config && make) How do I only compile the plugin?
You can check other Makefile m7x0-plugins, for example:guybrush escribió:2) xvdr-plugin does not find the vdr header files, so my workaround is to put in all xvdr-files the absolute path to the vdr header. I tried different things with VDRDIR in the Makefile, but without success
- Código:
DVBDIR ?= ../../..
VDRDIR ?= ../../..
LIBDIR ?= ../../lib
You must also use "?=" in CXX, CXXFLAGS, AR, ...
You must have a error before when compiled plugin, for example, plugin do a strip to .so file but it isn't using strip from ToolChain.guybrush escribió:3) After compiling I can find the xvdr plugin in the xvdr-plugin-folder, but it is not copied to the firmware. I always get the error:
- Código:
Error: Cannot open file '/home/marcus/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686/target_root/usr/lib/vdr/libvdr-xvdr.so.1.4.5'
make: *** [/home/marcus/vdr-ng-em/m7x0_xtc_uclibc_Linux-i686/stagefiles/file_tab.rootfs_dir_m740_pro.lst] Fehler 1
Re: VDR to XBMC
Hi bittor,
Thank You for your very useful hints. Now compiliation runs to: "Finished, we are ready to rumble ..." :-)
m740-log looks promising and I can start to debug xvdr plugin line by line.
I figured out, m740 is crashing at this line:
Thank You for your very useful hints. Now compiliation runs to: "Finished, we are ready to rumble ..." :-)
m740-log looks promising and I can start to debug xvdr plugin line by line.
- Código:
Jan 29 09:24:31 (none) user.info vdr: [243] initializing plugin: xvdr (0.9.6): XVDR Server
Jan 29 09:24:32 (none) user.info vdr: [243] loading /etc/vdr/plugins/xvdr/xvdr.conf
Jan 29 09:24:32 (none) user.info vdr: [243] XVDR: next command to be executed: m_cache.clear()
Jan 29 09:24:32 (none) user.info vdr: [243] XVDR: next command to be executed: XVDRChannels.Lock(false)
Jan 29 09:24:34 (none) user.debug syslog: [295] DEBUG: set IaMode -> 1
I figured out, m740 is crashing at this line:
- Código:
XVDRChannels.Lock(false)
- Código:
bool cXVDRChannels::Lock(bool Write, int TimeoutMs) {
if (cRwLock::Lock(Write, TimeoutMs)) {
if (Get()->Lock(Write, TimeoutMs)) {
return true;
} else {
cRwLock::Unlock();
}
}
return false;
}
guybrush- Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013
Re: VDR to XBMC
Maybe you will laugh ... To understand what the plugin is doing and see quickly which commands are executed I have implemented before each command an output to the LOG-file, e.g.:
- Código:
INFOLOG("next command to be executed: XVDRChannels.Lock(false)");
XVDRChannels.Lock(false);
guybrush- Cantidad de envíos : 24
Fecha de inscripción : 24/01/2013
Página 1 de 3. • 1, 2, 3
Temas similares
» Plugin vdr xbmc
» XBMC, streamdev y iPad 3
» Directorios de grabación .rec e integración con XBMC
» [SOLUCIONADO] Mediatomb y XBMC (via Raspbmc)
» XBMC, streamdev y iPad 3
» Directorios de grabación .rec e integración con XBMC
» [SOLUCIONADO] Mediatomb y XBMC (via Raspbmc)
Página 1 de 3.
Permisos de este foro:
No puedes responder a temas en este foro.