Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Howto compile in CDDB-Support



Take a look at vdr.c
There are the lines
#if defined(MP3SUPPORT) && defined(HAVE_SNDFILE)
                    cddbpath = optarg;
                    break;
#else
                    fprintf(stderr, "vdr: CDDB support has
not been compiled in!\n");
                    return 2;
#endif // MP3SUPPORT

This means you have to compile it with MP3SUPPORT AND
HAVE_SNDFILE.

If you then take a look at Makefile
ifdef MP3
DEFINES      += -DMP3SUPPORT
SHLIBS   += -lz -lmad -lid3tag
ifndef WITHOUT_LIBSNDFILE
SHLIBS   += -lsndfile
DEFINES    += -DHAVE_SNDFILE
endif
endif
OBJS += mp3.o mp3-decoder.o mp3-decoder-mp3.o
mp3-decoder-snd.o mp3-menu.o mp3-dvb.o
# END MP3SUPPORT


So do you have this line in your Makefile?
#WITHOUT_LIBSNDFILE=1
^
|
If you do not have the sign "#" CDDB will not work!
Either you will have to install the libsndfile or you can't
use CDDB.

Please correct me if I'm wrong.
Gerhard
----------------------------------------------
Das ist ein Service von austria.com




Home | Main Index | Thread Index