Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ices2 - fails -dentical serial numbers in playlist

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Wed Jun 27, 2007 5:00 am    Post subject: Ices2 - fails -dentical serial numbers in playlist Reply with quote

I just installed Icecast and ices 2.3.1 on my Ubuntu server. I can play the first song no problem but then it dies.

This is the error in ices.log:
Code:
[2007-06-26  21:30:35] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/etc/ices2/playlist.txt"
[2007-06-26  21:30:35] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/Chris Cornell- Casino Royale Theme- You Know My Name.ogg"
[2007-06-26  21:30:35] INFO stream/ices_instance_stream Connected to server: localhost:8000/example1.ogg
[2007-06-26  21:30:35] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream
[2007-06-26  21:30:35] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
[2007-06-26  21:34:38] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/Van Morrison - Dancing In The Moonlight.ogg"
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Skipping "/etc/ices2/music/Van Morrison - Dancing In The Moonlight.ogg" as the serial number is the same as previous
[2007-06-26  21:34:38] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/U2 - Beautiful Day.ogg"
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Skipping "/etc/ices2/music/U2 - Beautiful Day.ogg" as the serial number is the same as previous
[2007-06-26  21:34:38] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/Chris Cornell- Casino Royale Theme- You Know My Name.ogg"
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Skipping "/etc/ices2/music/Chris Cornell- Casino Royale Theme- You Know My Name.ogg" as the serial number is the same as previous
[2007-06-26  21:34:38] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/Van Morrison - Dancing In The Moonlight.ogg"
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Skipping "/etc/ices2/music/Van Morrison - Dancing In The Moonlight.ogg" as the serial number is the same as previous
[2007-06-26  21:34:38] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/U2 - Beautiful Day.ogg"
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Skipping "/etc/ices2/music/U2 - Beautiful Day.ogg" as the serial number is the same as previous
[2007-06-26  21:34:38] INFO playlist-builtin/playlist_read Currently playing "/etc/ices2/music/Chris Cornell- Casino Royale Theme- You Know My Name.ogg"
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Skipping "/etc/ices2/music/Chris Cornell- Casino Royale Theme- You Know My Name.ogg" as the serial number is the same as previous
[2007-06-26  21:34:38] WARN playlist-builtin/playlist_read Too many consecutive errors - exiting
[2007-06-26  21:34:38] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
[2007-06-26  21:34:38] DBUG reencode/reencode_clear Clearing reencoder
[2007-06-26  21:34:38] DBUG input/input_loop An instance died, removing it
[2007-06-26  21:34:38] DBUG input/input_flush_queue Input queue flush requested
[2007-06-26  21:34:38] INFO input/input_loop All instances removed, shutting down...
[2007-06-26  21:34:39] INFO ices-core/main Shutdown complete


I read in another forum that th serial number could be set to 0 when I convert them from MP3s. I there a converter that will make them unique? Or more ideally...is there a way I can comment it out in the code?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jun 27, 2007 12:49 pm    Post subject: Reply with quote

The check was added into ices at a time when icecast couldn't handle it properly, but now icecast rebuilds the stream so you should be able to remove that check.

You can comment out/remove the if-block check in ices/src/im_playlist.c from line ~169

if (ogg_page_serialno (&og) .....
{
...
}

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Jun 29, 2007 1:02 am    Post subject: Reply with quote

I had it installed as a package. I removed it and downloaded and modified the source but I am having difficulty getting it installed this way(it gives me an error: "configure: error: XML configuration could not be found" and I cannot start it).

I am going to try MuSE or something which is unfortunate as ices seemed perfect except for the serial thing. Is there another that is as easy perhaps?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jun 29, 2007 1:48 am    Post subject: Reply with quote

if you compile an application then you need to install the dependencies, based on the error mentioned I guess you are missing the libxml2-devel package.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Jun 29, 2007 4:30 am    Post subject: Reply with quote

I got it to work. I removed the if statement and I installed libxml2 like you suggested and had to reinstall libshout.

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber