PDA

View Full Version : Shoutcast- New LINUX server not working.


flamesage
23rd July 2005, 01:43
http://65.35.225.222:8000/content/music.pls
It keeps on saying: Invalid resource! Even though it's there in my /usr/local/shoutcast/content, music.pls!

And whenever I go to http://65.35.225.222:8000

It keeps on saying my server is offline, even though..
# ./sc_serv
*******************************************************************************
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv filename.ini" to specify an ini file.
*******************************************************************************

Event log:
<07/22/05@21:45:13> [SHOUTcast] DNAS/Linux v1.9.5 (Dec 27 2004) starting up...
<07/22/05@21:45:13> [main] pid: 7144
<07/22/05@21:45:13> [main] loaded config from sc_serv.conf
<07/22/05@21:45:13> [main] initializing (usermax:32 portbase:8000)...
<07/22/05@21:45:13> [main] No ban file found (sc_serv.ban)
<07/22/05@21:45:13> [main] No rip file found (sc_serv.rip)
<07/22/05@21:45:13> [main] opening source socket
<07/22/05@21:45:13> [main] source thread starting
<07/22/05@21:45:13> [source] listening for connection on port 8000
<07/22/05@21:45:13> [main] opening client socket
<07/22/05@21:45:13> [main] Client Stream thread [0] starting
<07/22/05@21:45:13> [main] client main thread starting
<07/22/05@21:45:22> [sleeping] 0 listeners (0 unique)


[NOTE: I had to get the playlist off of a friend, I didn't know the "Length" of the song, so I just left it blank.

Don't know if it matters or not. Is there a playlist creator for linux?]

flamesage
23rd July 2005, 02:06
Ah. I thought it was sort of weird I didn't have to have a winamp (like) thing open. So I used sc_trans_linux.

After configuring some files, I think it's working.

Does anyone know of any good mp3 players that will work with shoutcast (LINUX)

drewbar
23rd July 2005, 02:07
The content difrectoy does nut support playlist files, just MP3s. The PLS files are generated automatically by Winamp.
As well, include the trailing slash on the content directory location.