Hello, I've compiled and successfully run icecast2 with ices on a single stream. But I'm running into problems running multiple streams from ices to icecast... I used the <playlist>...</playlist> syntax to run a single stream, but the docs on icecast.org seem to suggest using the <input>...</input> syntax instead. I've actually tried it both ways, with similar results: ices reports "Could not find a valid playlist file." and exits. Here's both versions of my config...both of these are inside the <Stream>...</Stream> tags, and I've verified that the paths to the playlist.txt files are valid. If I use the same <Playlist> tags at the top of the file (outside the <stream> tags) and only configure one stream, it works. Can someone let me know what I'm going wrong? Thanks, -Chris <input> syntax: -------------------- <input> <module>playlist</module> <param name="type">basic</param> <param name="file">/opt/rekoil/mp3lib/elektro/playlist.txt</param> <param name="random">1</param> <param name="once">0</param> </input> <Playlist> syntax: <Playlist> <File>/opt/rekoil/mp3lib/elektro/playlist.txt</File> <Randomize>1</Randomize> <Type>builtin</Type> <Module>ices</Module> </Playlist>
Chris Woodfield wrote:> Hello, > > I've compiled and successfully run icecast2 with ices on a single > stream. But I'm running into problems running multiple streams from > ices to icecast... > > I used the <playlist>...</playlist> syntax to run a single stream, but > the docs on icecast.org seem to suggest using the <input>...</input> > syntax instead. I've actually tried it both ways, with similar > results: ices reports "Could not find a valid playlist file." and exits.This (<input> element) is for ices2 and not ices0.4 which you are using. To have multiple streams of the same playlist you should have multiple <stream> ... </stream> elements in the config. One for each stream you want to send.> Here's both versions of my config...both of these are inside the > <Stream>...</Stream> tags, and I've verified that the paths to the > playlist.txt files are valid. If I use the same <Playlist> tags at the > top of the file (outside the <stream> tags) and only configure one > stream, it works. Can someone let me know what I'm going wrong? >Yes, the <playlist> element should be outside the <stream> element. As I said above you only need to have multiple <stream> elements.. (since you are streaming the same playlist in each "instance"). Hope this solves your problem. /Jonas
Maybe I didn't fully explain...I'm trying to stream multiple playlists. The config bit I included was only one of the playlists. I can send my complete ices.conf if you'd like... -C On Jan 14, 2005, at 12:06 AM, Jonas Nyr?n wrote:> Chris Woodfield wrote: > >> Hello, >> >> I've compiled and successfully run icecast2 with ices on a single >> stream. But I'm running into problems running multiple streams from >> ices to icecast... >> >> I used the <playlist>...</playlist> syntax to run a single stream, >> but the docs on icecast.org seem to suggest using the >> <input>...</input> syntax instead. I've actually tried it both ways, >> with similar results: ices reports "Could not find a valid playlist >> file." and exits. > > This (<input> element) is for ices2 and not ices0.4 which you are > using. To have multiple streams of the same playlist you should have > multiple <stream> ... </stream> elements in the config. One for each > stream you want to send. > >> Here's both versions of my config...both of these are inside the >> <Stream>...</Stream> tags, and I've verified that the paths to the >> playlist.txt files are valid. If I use the same <Playlist> tags at >> the top of the file (outside the <stream> tags) and only configure >> one stream, it works. Can someone let me know what I'm going wrong? >> > Yes, the <playlist> element should be outside the <stream> element. As > I said above you only need to have multiple <stream> elements.. (since > you are streaming the same playlist in each "instance"). > > Hope this solves your problem. > > /Jonas
Maybe I'm misunderstanding ices' capabilities...is ices 0.4 only capably of handling a single playlist? Do I need to run multiple instances of ices in order to process multiple playlists? My issue is that I need to stream mp3 audio, not ogg (iTunes doesn't support .ogg yet natively), and if I'm reading the docs correctly, ices2 only supports .ogg, not .mp3. Is this correct, and if so, are there other options? Thanks, -Chris On Jan 14, 2005, at 12:06 AM, Jonas Nyr?n wrote:> Chris Woodfield wrote: > >> Hello, >> >> I've compiled and successfully run icecast2 with ices on a single >> stream. But I'm running into problems running multiple streams from >> ices to icecast... >> >> I used the <playlist>...</playlist> syntax to run a single stream, >> but the docs on icecast.org seem to suggest using the >> <input>...</input> syntax instead. I've actually tried it both ways, >> with similar results: ices reports "Could not find a valid playlist >> file." and exits. > > This (<input> element) is for ices2 and not ices0.4 which you are > using. To have multiple streams of the same playlist you should have > multiple <stream> ... </stream> elements in the config. One for each > stream you want to send. > >> Here's both versions of my config...both of these are inside the >> <Stream>...</Stream> tags, and I've verified that the paths to the >> playlist.txt files are valid. If I use the same <Playlist> tags at >> the top of the file (outside the <stream> tags) and only configure >> one stream, it works. Can someone let me know what I'm going wrong? >> > Yes, the <playlist> element should be outside the <stream> element. As > I said above you only need to have multiple <stream> elements.. (since > you are streaming the same playlist in each "instance"). > > Hope this solves your problem. > > /Jonas