John Hebert
2005-Dec-07 12:06 UTC
[Icecast] stupid user tricks with ices2: "No such file or directory" :P
I must be doing something really stupid. I've read the docs for icecast2 and ices2. Icecast2 is running fine; I can get stats.xml and see that it is running. When I run ices2, I get the following error in ices.log: ... [2005-12-07 05:37:51] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/home/john/playlist.txt" [2005-12-07 05:37:51] WARN playlist-builtin/playlist_read Error opening file "Vistors.ogg": No such file or directory ... And I've made playlist.txt as simple as I can: playlist.txt: /home/john/Visitors.ogg Yes, there is a file called Visitors.ogg in /home/john. I can play the file just fine in Zinf. Does ices2 expect .ogg files to be in another specific directory? From reading the docs, the path to the .ogg files are specified in the playlist file. Any ideas? Suggestions? Thanks for your help. John Hebert -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20051207/85b0b5e5/attachment.htm>
Michael Smith
2005-Dec-09 09:12 UTC
[Icecast] stupid user tricks with ices2: "No such file or directory" :P
On 12/7/05, John Hebert <metanoid at gmail.com> wrote:> I must be doing something really stupid. > > I've read the docs for icecast2 and ices2. Icecast2 is running fine; I can > get stats.xml and see that it is running. > > When I run ices2, I get the following error in ices.log : > ... > [2005-12-07 05:37:51] INFO > playlist-basic/playlist_basic_get_next_filename Loading > playlist from file "/home/john/playlist.txt" > [2005-12-07 05:37:51] WARN playlist-builtin/playlist_read Error opening > file " Vistors.ogg": No such file or directory > ... > > And I've made playlist.txt as simple as I can: > > playlist.txt: > /home/john/Visitors.oggAre you sure you've got IceS opening the playlist file you think you do? I'd expect that the error message, if you got one, would refer to "/home/john/Visitors.ogg", rather than just the last bit. Also, in whatever file it IS reading, there appears to be a leading space in the filename, it's trying to open " Vistors.ogg" rather than "Visitors.ogg". Mike
Karl Heyes
2005-Dec-09 15:40 UTC
[Icecast] stupid user tricks with ices2: "No such file or directory" :P
John Hebert wrote:> I must be doing something really stupid. > > I've read the docs for icecast2 and ices2. Icecast2 is running fine; I can > get stats.xml and see that it is running. > > When I run ices2, I get the following error in ices.log: > ... > [2005-12-07 05:37:51] INFO playlist-basic/playlist_basic_get_next_filename > Loading playlist from file "/home/john/playlist.txt" > [2005-12-07 05:37:51] WARN playlist-builtin/playlist_read Error opening > file "Vistors.ogg": No such file or directory > ... > > And I've made playlist.txt as simple as I can: > > playlist.txt: > /home/john/Visitors.ogg > > Yes, there is a file called Visitors.ogg in /home/john. I can play the file > just fine in Zinf. > > Does ices2 expect .ogg files to be in another specific directory? From > reading the docs, the path to the .ogg files are specified in the playlist > file. > > Any ideas? Suggestions?If /home/john/playlist.txt has full paths to the ogg files then the error message saying 'No such file or directory' would also have a full path, which the one above does not. Make absolutely sure that you have the right playlist. karl.
John Hebert
2005-Dec-09 16:07 UTC
[Icecast] stupid user tricks with ices2: "No such file or directory" :P
Michael and Karl, Thanks for your replies. Sorry for confusing you with bad test info. The contents of playlist.txtthat I referred to in my earlier email did not match the log result I specified. However, I had ran the test with both a full and relative path in playlist.txt; "/home/john/Visitors.ogg" and "Visitors.ogg". Got it working, however. Tried playing a different ogg file than Visitors.ogg and it worked!!! If you want to test the file Visitors.oggyourself: http://www.archive.org/download/Shapeshifting_In_Abalone/Visitors.ogg My understanding of the encoding section in ices2.xml is that ices2 simply tries to output the given ogg file with the supplied encoding parameters to icecast. Question: The encoding parameters in ices2.xml do not have to match the encoding bitrates for the played file, correct? I assume the answer is no, as the ogg file that worked was encoded with the same sampling rate as Visitors.ogg. Thanks again for your help. I will be creating a streaming radio station soon. Pumped! John Hebert On 12/9/05, Karl Heyes <karl@xiph.org> wrote:> > John Hebert wrote: > > I must be doing something really stupid. > > > > I've read the docs for icecast2 and ices2. Icecast2 is running fine; I > can > > get stats.xml and see that it is running. > > > > When I run ices2, I get the following error in ices.log: > > ... > > [2005-12-07 05:37:51] INFO > playlist-basic/playlist_basic_get_next_filename > > Loading playlist from file "/home/john/playlist.txt" > > [2005-12-07 05:37:51] WARN playlist-builtin/playlist_read Error opening > > file "Vistors.ogg": No such file or directory > > ... > > > > And I've made playlist.txt as simple as I can: > > > > playlist.txt: > > /home/john/Visitors.ogg > > > > Yes, there is a file called Visitors.ogg in /home/john. I can play the > file > > just fine in Zinf. > > > > Does ices2 expect .ogg files to be in another specific directory? From > > reading the docs, the path to the .ogg files are specified in the > playlist > > file. > > > > Any ideas? Suggestions? > > If /home/john/playlist.txt has full paths to the ogg files then the > error message saying 'No such file or directory' would also have a full > path, which the one above does not. Make absolutely sure that you have > the right playlist. > > karl. > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20051209/8a9865b0/attachment.html
Robert Muchnick
2005-Dec-09 16:15 UTC
[Icecast] stupid user tricks with ices2: "No such file or directory" :P
This is pretty obvious but are the directory /home/john and the ogg file readable by the user ices2 runs under? On Wed, 7 Dec 2005, John Hebert wrote:> I must be doing something really stupid. > > I've read the docs for icecast2 and ices2. Icecast2 is running fine; I can > get stats.xml and see that it is running. > > When I run ices2, I get the following error in ices.log: > ... > [2005-12-07 05:37:51] INFO playlist-basic/playlist_basic_get_next_filename > Loading playlist from file "/home/john/playlist.txt" > [2005-12-07 05:37:51] WARN playlist-builtin/playlist_read Error opening > file "Vistors.ogg": No such file or directory > ... > > And I've made playlist.txt as simple as I can: > > playlist.txt: > /home/john/Visitors.ogg > > Yes, there is a file called Visitors.ogg in /home/john. I can play the file > just fine in Zinf. > > Does ices2 expect .ogg files to be in another specific directory? From > reading the docs, the path to the .ogg files are specified in the playlist > file. > > Any ideas? Suggestions? > > Thanks for your help. > > John Hebert >Robert Muchnick Xenterra.net 720-276-7917 -------------- next part -------------- _______________________________________________ Icecast mailing list Icecast@xiph.org http://lists.xiph.org/mailman/listinfo/icecast