diff -Nru cdda-0.1.0-orig/audio_player.c cdda-0.1.0/audio_player.c --- cdda-0.1.0-orig/audio_player.c 2008-09-07 19:09:05.000000000 +0200 +++ cdda-0.1.0/audio_player.c 2008-09-07 19:09:12.000000000 +0200 @@ -368,7 +368,11 @@ } cAudioControl::~cAudioControl() { +#if VDRVERSNUM >= 10338 + cStatus::MsgReplaying(this, "cdda", NULL, false); +#else cStatus::MsgReplaying(this, NULL); +#endif free(mp_replayDescription); delete player; @@ -469,7 +473,11 @@ mp_replayDescription = p_str; p_str = NULL; +#if VDRVERSNUM >= 10338 + cStatus::MsgReplaying(this, "cdda", mp_replayDescription, true); +#else cStatus::MsgReplaying(this, mp_replayDescription); +#endif } else free(p_str); diff -Nru cdda-0.1.0-orig/cdda_menu.h cdda-0.1.0/cdda_menu.h --- cdda-0.1.0-orig/cdda_menu.h 2008-09-07 19:09:05.000000000 +0200 +++ cdda-0.1.0/cdda_menu.h 2008-09-07 19:09:12.000000000 +0200 @@ -60,7 +60,7 @@ char *mp_newCddbServerFqdn; int m_newCddbServerPort; int m_newInfoView; - const char *m_cddbPrioTxt[3]; + const char *m_cddbPrioTxt[4]; protected: void Store(void); public: diff -Nru cdda-0.1.0-orig/Makefile cdda-0.1.0/Makefile --- cdda-0.1.0-orig/Makefile 2008-09-07 19:09:05.000000000 +0200 +++ cdda-0.1.0/Makefile 2008-09-07 19:10:12.000000000 +0200 @@ -19,7 +19,7 @@ ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -O0 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -O0 -Wall -Woverloaded-virtual ### The directory environment: @@ -34,7 +34,7 @@ ### The version number of VDR (taken from VDR's "config.h"): -VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') +APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') ### The name of the distribution archive: @@ -76,8 +76,8 @@ all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) - $(CXX) $(CXXFLAGS) -shared $(LIBS) $(OBJS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ + @cp $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE)