Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   on-demand stream (Invalid Resource) help pls. (http://forums.winamp.com/showthread.php?t=126250)

lelandv 24th February 2003 15:12

on-demand stream (Invalid Resource) help pls.
 
Hi All,

Before the flames, I have checked the FAQs and followed the instructions for the on-demand setup.

I have my content directory set in the config file, and the properties of the shortcut do specify Start In: the correct directory for the Shoutcast server.

I attempted a couple of tests with the scpromo.mp3 file in the content directory using :

http://myserver:8000/content/scpromo.pls
This returns an error 404 / Invalid Resource

I tried accessing the mp3 file directly with
http://myserver:8000/content/scpromo.mp3
This returns the same error.

This particular server (I have 2 of them, one win32 the other linux) is installed in:
C:\Program Files\SHOUTcast\

The sc_serv.ini contains:

ContentDir=./content/

(with the trailing slash, as recommended in the FAQ)

The shortcut properties contain:

Start In: "C:\Program Files\SHOUTcast\"

Still no joy...

any ideas ?

Thanks in advance.

Leland

badguy 24th February 2003 15:27

Have you tried putting the slashes the other way around so ContentDir=.\content\

I can't remember how I got this working, but it was something like that

lelandv 24th February 2003 15:32

aha.. found the problem...

it appears that the config file parse is very sensitive to white-space at the end of the line.

I just redid the line to ensure that there's no white-space at the end of the line and it worked... well .. sort of ...

It will now access the mp3 files directly with
http://myserver:8000/content/song.mp3

but trying to access it using the dynamically generated playlist (as in http://myserver:8000/content/song.pls ) still returns 404 invalid resource.

Oh well.. at least the essential is there... though I'd prefer to use the playlist version of the URL to somewhat protect the files themselves.

Leland

Jay 24th February 2003 16:38

what browser did you use to try the playlist url?

lelandv 24th February 2003 20:26

IE5, IE6, NS4 and higher, Mozilla, Opera, and WinAmp itself.


All times are GMT. The time now is 17:14.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.