#8 ID3 doesn't work

open
nobody
None
7
2014-12-10
2010-12-27
No

Hi,

I successfully compiled ZLib & ID3Lib, after that I compiled IceGenerator with the following configure option:
--with-id3

It seems to configure, make & make install it all right. I tried id3info <example mp3 file> which also works fine.

However, using IceGenerator & the gloabal.mdf:
LOOP
PRINT "Radio Example"
PRINT ID3LEADARTIST
LOOP 4
PRINT "You listing to:"
PRINT ID3TITLE
ENDLOOP
ENDLOOP

I will ONLY see "Radio Example" and "You listing to:" while listening. The ID3_TAG 's doesn't work at all??
What do I wrong, what should I do?

Kind regards,
Melroy van den Berg

Discussion

  • Melroy van den Berg

    It's kinda important to have ID3 working.

     
  • Melroy van den Berg

    • priority: 5 --> 7
     
  • Melroy van den Berg

    I tried the whole list of ID3_TAG's only ID3USERTEXT seems to work a little, I will get a date: 2009-04-02

    Which is the RIP Date says id3info:
    === TXXX (User defined text information): (Rip date): 2009-04-02

    But the rest is just not working, I also know sure via ldd shared objects are fine.

     
  • BooN

    BooN - 2011-09-19

    your example is working for me on an Debian 6.0.2 (squeeze).

    i did the following:

    bash> apt-get install libxslt1-dev libvorbis-dev
    bash> cd /usr/src
    bash> wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz
    bash> wget http://people.xiph.org/~brendan/snapshots/libshout/libshout-2.2.2-20090819.tar.gz

    Download id3lib from Sourceforge
    Download icegenrator from Sourceforge

    bash> wget http://www.linuxfromscratch.org/patches/blfs/svn/id3lib-3.8.3-gcc43-1.patch
    bash> wget http://www.linuxfromscratch.org/patches/blfs/svn/id3lib-3.8.3-test_suite-1.patch
    bash> tar -zxvf icecast-2.3.2.tar.gz; cd icecast-2.3.2
    bash>./configure; make; make install; cd ..
    bash> tar -zxvf libshout-2.2.2-20090819.tar.gz; cd libshout-2.2.2
    bash> ./configure; make; make install; cd ..
    bash> tar -zxvf id3lib-3.8.3.tar.gz; cd id3lib-3.8.3
    bash> patch -Np1 -i ../id3lib-3.8.3-gcc43-1.patch
    bash> patch -Np1 -i ../id3lib-3.8.3-test_suite-1.patch
    bash> ./configure; make; make install; cd ..
    bash> tar -zxvf icegenerator-0.5.5-pre2.tar.gz; cd icegenerator-0.5.5-pre2
    bash> ./configure --with-shout=/usr/local --with-id3=/usr/local
    bash> make; make install

    the following command shows me, that ice cant find the id3lib so link it to the std /usr/lib dir

    bash> ldd /usr/local/bin/icegenrator
    bash> cd /usr/lib; ln -s /usr/local/lib/libid3-3.8.so.3 libid3-3.8.so.3

    added icecast user and set permissions

    bash> adduser icecast
    bash> chown -R icecast.icecast /usr/local/share/icecast
    bash> chown icecast.icecast /usr/local/etc/icecast.xml
    bash> su icecast
    bash> nano /usr/local/etc/icecast.xml
    bash> nano /usr/local/share/icecast/source.conf
    - added real mdf path
    bash> nano /usr/local/share/icecast/global.mdf
    - paste your example
    bash> icecast -c /usr/local/icecast.xml &
    bash> icegenrator -f /usr/local/share/icecast/source.conf

    And its working....

     
  • tor77

    tor77 - 2014-12-10

    Hello, I see this problem has occurred quite few times and I have it too.

    I have installed Icecast2, configured and compiled IceGenerator with --with-id3 with no apparent problems.

    All seem to be linked fine, but no id3 tag is displayed, basically exactly same problem like original poster described.

    There are no errors or hints on what could be wrong..

    I'm using Debian (squeeze)

    Can anyone help with this problem?

     
    Last edit: tor77 2014-12-10

Log in to post a comment.