PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: bastya_elvtars on 26 May, 2004, 02:18:12

Title: Idea
Post by: bastya_elvtars on 26 May, 2004, 02:18:12
ShoutcastBot works only under special conditions, so...
A Shoutcast radio addy is like this: http://xxxxxx.yyyy.zz:8000/listen.pls
U can view the stats in http://xxxxxx.yyyy.zz:8000, wich is useful.
it should look like this:

QuoteCurrent Stream Information
Server Status:    Server is currently up and public.
Stream Status:    Stream is up at 96 kbps with 0 of 20 listeners (0 unique)
Listener Peak:    3
Average Listen Time:    2h 07m 32s
Stream Title:    R?dij? by bastya_elvtars ---> Miscellaneous
Content Type:    audio/mpeg
Stream Genre:    Rock/Metal/Jazz
Stream URL:    http://www.oddsock.org
Stream AIM:    N/A
Stream IRC:    N/A
Current Song:    Black Sabbath - Under The Sun

Now if this text could be grabbed by a lua script, it only depended on the existance of the broadcast, and could be seen easily. If this is possible and some1 wanna make it, i can provide a testhub and a shoutcast server (i have 100Mbit)...

Thx in advance!
Title:
Post by: bastya_elvtars on 31 May, 2004, 01:01:05
lol apathy about the topic... :(
does not matter just an idea
if ripe query is possible i thought this 1 is as well...