[icecast] Disconnect listerens after X min
Jappe Reuling
jappe at lowlife.org
Thu Mar 4 15:55:22 UTC 2004
Oh i forgot to state the obvious:
run the script via crontab:
*/5 * * * *
/usr/local/bin/killstreamclients.pl
regards,
jappe
<p>On Mar 4, 2004, at 4:47 PM, Jappe Reuling wrote:
>
> On Mar 4, 2004, at 3:46 PM, Stefan Neufeind wrote:
>
>> Hi Jappe,
>>
>> a) Please put the script on a webpage, send the link to this
>> mailinglist and maybe somebody will put a link to such a useful
>> feature-addon.
>
> here you are:
>
> http://sb-1.net/icecast/killstreamclients.pl
>
> as stated in the script:
>
> - script comes 'as-it-is'
> - no support
> - we're not to blame if stuff breaks
>
> have fun!!, hope we helped someone with this script.
>
> regards,
>
> jappe
>
>>
>> Question to Oddsock and other devs:
>> b) Is there already a plugin-mechanism in icecast that could be used
>> to write a small snap-in directly? We talked about such an interface
>> a *long* time ago, but it seems it was forgotten somehow. (Plans were
>> also to integrate external authentification-modules, logging
>> extensions, ...).
>>
>> Stefan
>>
>> On 4 Mar 2004 at 15:04, Jappe Reuling wrote:
>>
>>> Hi stefan,
>>>
>>> We wrote a nifty perl script which works like a charm. Shame this
>>> doesn't come with icecast while the functionality is already there
>>> for
>>> 95% but then again it's open source and i shouldn't wine and write a
>>> addon myself >:-)
>>>
>>> regards,
>>>
>>> jappe
>>>
>>> On Mar 3, 2004, at 9:20 PM, Stefan Neufeind wrote:
>>>
>>>> It's not possible "out of the box". But have a look at the admin-
>>>> interface: You can get a list of all listeners for a particular
>>>> source. And there is a "kick"-link at the end of the line, which
>>>> also includes a listener-id. So it should be easy to write a script
>>>> for doing what you need. Give 20 lines of php a try :-))
>>>>
>>>>
>>>> Kind regards,
>>>> Stefan
>>>>
>>>> On 3 Mar 2004 at 20:24, Jappe reuling wrote:
>>>>
>>>>> I'm using icecast2. I have one client who provides a source from
>>>>> his windows computer using winamp. This source is a 'radio station'
>>>>> I want to disconnect listerners after they have listen to the
>>>>> station for e.g. 60 minutes but can't find any documentation on
>>>>> this. Is this possible with icecast2?
>>>>>
>>>>> If i missed some documentation: sorry but I just can't find the
>>>>> answer on the net.
>>
>>
> --
> Jappe Reuling
> jappe at parcproductions.com
> support at parcproductions.com
>
> Parc Productions
> Waalsteeg 4-6
> 1011 ER Amsterdam
>
> Tel: +31 (0)20-4892456
> Fax: +31 (0)20-4892458
> Http: http://www.parcproductions.com
> Http: http://www.parchosting.com
>
> The information in this document can be confidential. It is intended
> only for the use of the recipient of this mail. If you are not the
> intended recipient, please notify us and delete this document. Do not
> disclose the contents of this document to any other person. Do not
> take any copies. Violation of this notice may be unlawful.
>
> --- >8 ----
> List archives: http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to
> 'icecast-request at xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is
> needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>
>
--
Jappe Reuling
jappe at parcproductions.com
support at parcproductions.com
Parc Productions
Waalsteeg 4-6
1011 ER Amsterdam
Tel: +31 (0)20-4892456
Fax: +31 (0)20-4892458
Http: http://www.parcproductions.com
Http: http://www.parchosting.com
The information in this document can be confidential. It is intended
only for the use of the recipient of this mail. If you are not the
intended recipient, please notify us and delete this document. Do not
disclose the contents of this document to any other person. Do not
take any copies. Violation of this notice may be unlawful.
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast
mailing list