Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Play an audio file only when server is full? (http://forums.winamp.com/showthread.php?t=173881)

someToast 18th March 2004 19:40

Play an audio file only when server is full?
 
When my server's full, I want people connecting to hear a brief, recorded audio message, but I don't want that same message played at the start of each and every stream when the server isn't full.

Could a .pls file do this? Specify the stream address first and a file in the content directory second? (And what would be the syntax for that?)

Assuming this can be done, I've never used a .pls file on the server before. If I explicitly name the file "listen.pls", will that file then be what's called up when someone connects from their existing Winamp/iTunes favorite stored in their media player (from before any .pls file existed)?

Jay 18th March 2004 19:46

info on pls files but essentially what you are asking will work in a playlist.

http://forums.radiotoolbox.com/viewtopic.php?t=76

As to your second question, no.

Typically players use the exact address and connect directly to the server.

someToast 18th March 2004 20:16

Excellent... thanks for the info!

Quote:

Originally posted by KXRM
As to your second question, no.

Typically players use the exact address and connect directly to the server.

The existing link in the player looks like "http://domain.com:8000/". There's no .pls file name that would act as sort of a "index.html equivalent" for Shoutcast to call up when the player accesses that address?

Jay 18th March 2004 20:26

listen.pls is there for browser's not players. Players simply don't need them to connect to your stream. SHOUTcast sends all non-mozilla clients the actual stream so index.html is not seen by the player.

someToast 19th March 2004 07:42

If I just specify an IntroFile, will that get played to a client when the server is full, or does Shoutcast deny any connection whatsoever in that case?

Jay 24th March 2004 20:30

any connection to the live stream is denied. The intro file will only be sent when they can connect to the stream, not when they can't.


All times are GMT. The time now is 15:30.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.