Thanks for your reponse and my best compliments for your plugin is excellent. I've tried with radio-vdr but seems to do nothing...plugin start up but no image appear and "no signal" is present...maybe the problem is with the image .mpg but i dont know how procede. Anyone has tested this plugin and can i help me ? Many many thanks,
Massimiliano
Hi,
Massimiliano Garavini wrote:
I've tried with radio-vdr but seems to do nothing...plugin start up but no image appear and "no signal" is present...maybe the problem is with the image .mpg but i dont know how procede. Anyone has tested this plugin and can i help me ?
Maybe you forgot to enable the radio plugin in it's setup menu.
When I switch to a radio channel, I get the following output on console:
SetPlayMode: 0 SetAudioChannelDevice: 0 vdr: radio background image not found: /soft/vdr-1.3.25/etc/vdr/plugins/radio/ANTENNE BAYERN.mpg (Channelname: ANTENNE BAYERN) *PLUGIN RADIO-IMAGE apid = 352 Channelname: ANTENNE BAYERN Use image : /soft/vdr-1.3.25/etc/vdr/plugins/radio/radio.mpg SetAudioChannelDevice: 0 SetPlayMode: 1 StillPicture: 0x9d89728, 49877 Clear(0)! SetDigitalAudioDevice: 0 [aA] buffered 7.7 frames
Bye.
When I try and compile the radio plugin I get : make[1]: Entering directory `/home/vdruser/vdr/PLUGINS/src/radio-0.0.5' g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"radio"' -DUSE_STILLPICTURE -I../../../include -I/lib/modules/2.6.11.8/build/include radio.c In file included from radio.c:13: ../../../include/vdr/player.h:55: warning: `virtual void cPlayer::SetAudioTrack(eTrackType, const tTrackId*)' was hidden radiotransfer.h:31: warning: by `virtual void cRadioTransfer::SetAudioTrack(int)' radio.c: In member function `virtual void cPluginRadio::ChannelSwitch(const cDevice*, int)': radio.c:145: error: 'const class cChannel' has no member named 'Apid1' make[1]: *** [radio.o] Error 1
I'm also getting the below on the calendar plugin....
Am I missing something??
[root@media calendar]# make g++ -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"calendar"' -I../../../include -I/lib/modules/2.6.11.8/build/include menu.c In file included from menu.c:23: menuitem.h:36: error: `eDvbColor' has not been declared menuitem.h:36: error: `eDvbColor' has not been declared menuitem.h:36: error: ISO C++ forbids declaration of `FgColor' with no type menuitem.h:36: error: ISO C++ forbids declaration of `BgColor' with no type menuitem.h:42: error: `eDvbColor' has not been declared menuitem.h:42: error: `eDvbColor' has not been declared menuitem.h:42: error: ISO C++ forbids declaration of `FgColor' with no type menuitem.h:42: error: ISO C++ forbids declaration of `BgColor' with no type menuitem.h:36: error: `clrBackground' was not declared in this scope In file included from menu.c:26: menusetup.c: In member function `void cMenuCalendarSetup::AddNewCategory(const char*)': menusetup.c:109: error: 'class cOsdItem' has no member named 'SetColor' menusetup.c:109: error: `clrBackground' undeclared (first use this function) menusetup.c:109: error: (Each undeclared identifier is reported only once for each function it appears in.) menu.c: In constructor `cMenuWhatsOnCal::cMenuWhatsOnCal()': menu.c:183: error: 'class cInterface' has no member named 'Width' menu.c:183: error: `CellWidth' is not a member of `cOsd' menu.c:184: error: `LineHeight' is not a member of `cOsd' menu.c: In member function `eOSState cMenuWhatsOnCal::Switch()': menu.c:340: error: 'class cInterface' has no member named 'Error' menu.c: In member function `void cMenuWhatsOnCal::SetTitle()': menu.c:357: warning: cannot pass objects of non-POD type `class cString' through `...'; call will abort at runtime menu.c:357: warning: format argument is not a pointer (arg 4) menu.c:359: error: no matching function for call to `cMenuWhatsOnCal::SetTitle(char*&, bool)' ../../../include/vdr/../../osdbase.h:117: note: candidates are: void cOsdMenu::SetTitle(const char*) menu.c: In member function `void cMenuWhatsOnCal::SetTimeBar()': menu.c:376: error: `eDvbColor' does not name a type menu.c:377: error: `eDvbColor' does not name a type menu.c:378: error: `eDvbColor' does not name a type menu.c:384: error: 'class cBitmap' has no member named 'Fill' menu.c:384: error: `BgColor' undeclared (first use this function) menu.c:390: error: no matching function for call to `cOsd::Width(char)' ../../../include/vdr/../../osd.h:241: note: candidates are: int cOsd::Width() menu.c:403: error: 'class cBitmap' has no member named 'Text' menu.c:403: error: `FgColor' undeclared (first use this function) menu.c:413: error: 'class cBitmap' has no member named 'SetPixel' menu.c:413: error: `lineColor' undeclared (first use this function) menu.c:414: error: 'class cBitmap' has no member named 'SetPixel' menu.c:426: error: 'class cBitmap' has no member named 'SetPixel' menu.c:427: error: 'class cBitmap' has no member named 'SetPixel' menu.c: In member function `virtual void cMenuWhatsOnCal::Display()': menu.c:462: error: 'class cInterface' has no member named 'SetBitmap' menu.c: In member function `void cMenuWhatsOnCal::DisplayInfo()': menu.c:478: error: 'class cInterface' has no member named 'Width' menu.c:482: error: 'class cInterface' has no member named 'Status' menu.c:482: error: `clrBackground' undeclared (first use this function) menu.c:492: error: 'class cInterface' has no member named 'Status' make: *** [menu.o] Error 1
Hi,
Simon Baxter wrote:
When I try and compile the radio plugin I get : make[1]: Entering directory `/home/vdruser/vdr/PLUGINS/src/radio-0.0.5' g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"radio"' -DUSE_STILLPICTURE -I../../../include -I/lib/modules/2.6.11.8/build/include radio.c In file included from radio.c:13: ../../../include/vdr/player.h:55: warning: `virtual void cPlayer::SetAudioTrack(eTrackType, const tTrackId*)' was hidden radiotransfer.h:31: warning: by `virtual void cRadioTransfer::SetAudioTrack(int)' radio.c: In member function `virtual void cPluginRadio::ChannelSwitch(const cDevice*, int)': radio.c:145: error: 'const class cChannel' has no member named 'Apid1' make[1]: *** [radio.o] Error 1
Just try radio-0.0.6, which has been adopted to changes in VDR's audio handling. Hopefully, Google will guide you ;-)
Bye.