Old 13th May 2003, 11:00   #1
matt2kjones
Major Dude
 
Join Date: May 2002
Location: UK
Posts: 929
Send a message via ICQ to matt2kjones Send a message via AIM to matt2kjones
Made a free xml parser

Last night i was bored

I made a free shoutcast xml parser which will be free to use

its very configurable, and very easy to install.

you simply set whether you want it to show:

Station Title
Max Listers
Current Track
Previously played tracks

and so on

if anyone would like to test it please let me know here. Once its been tested with a few people i will put it up for download by everyone



ps, im also working on a web based shoutcast administration panel, where u can remotly login and change max listeners, password, port, etc etc, if people are interested in that as well then that should be available tomorrow some time.

then finally, at the end of this week i will finish a web admin panel for sc_trans as well. (but im waiting for a new version of sc_trans because the current one has issues with ID3 tags and Public on/off function)

Anyway let me know, all scripts are free to use and distribute, as long as you dont take the credit for making it


TDD House & Trance Radio:
[ 64k Stream | Visit Site ]
matt2kjones is offline   Reply With Quote
Old 14th May 2003, 22:01   #2
DJHotIce
Forum Loser
(Forum King)
 
DJHotIce's Avatar
 
Join Date: Jan 2003
Location: That place I can't remember the name.
Posts: 4,617
Send a message via AIM to DJHotIce Send a message via Yahoo to DJHotIce
You just keep giving and giving to the shoutcast forums don't you man!

-DJHotIce
Bounce Multimedia - Professional Web Design
DJHotIce is offline   Reply With Quote
Old 14th May 2003, 22:43   #3
matt2kjones
Major Dude
 
Join Date: May 2002
Location: UK
Posts: 929
Send a message via ICQ to matt2kjones Send a message via AIM to matt2kjones
i try

anyway this script is now running and being tested on my site. so far so good.

all the options in the config file turn features on and off accordingly so all thats working

all i need to do now is the graphics for it, but i may need some help with that (im a coder, not a designer ) so if anyone wants to be part of a open source group who make scripts for shoutcast then let me know here

you only need designing skills, not coding, as i will do that.

oh one last thing, script is running here: http://www.thedigitaldream.co.uk/tddstats/

very basic at the moment and deffinently not the final look. waiting for a designer to help out with graphics

anyway, version 1 Beta 1 available to download as soon as the graphics are done


TDD House & Trance Radio:
[ 64k Stream | Visit Site ]
matt2kjones is offline   Reply With Quote
Old 19th May 2003, 07:00   #4
bigoldoak
Junior Member
 
bigoldoak's Avatar
 
Join Date: Dec 2002
Location: scotland
Posts: 16
Send a message via ICQ to bigoldoak Send a message via Yahoo to bigoldoak
i have been looking for a way to display only the current track and how many current listeners/max listeners within a php-nuke website as a block or within my header, this looks ideal, how far on are you with this and will u be offering it for donwload soon? i dont need graphics ;D
bigoldoak is offline   Reply With Quote
Old 19th May 2003, 07:18   #5
matt2kjones
Major Dude
 
Join Date: May 2002
Location: UK
Posts: 929
Send a message via ICQ to matt2kjones Send a message via AIM to matt2kjones
ok then, since you only want the script itself, with no graphics then u can download it today.

however, contact me with how u want it to look, ie, station heading, then current track, etc.

and i will send you the working code


TDD House & Trance Radio:
[ 64k Stream | Visit Site ]
matt2kjones is offline   Reply With Quote
Old 19th May 2003, 22:07   #6
edenraiyne
Junior Member
 
Join Date: May 2003
Location: wa
Posts: 2
I am looking for something that will show the current song, the last few songs played and how many people are currently listening. I've looked everywhere for a script that will do that.
edenraiyne is offline   Reply With Quote
Old 19th May 2003, 22:19   #7
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
Quote:
Originally posted by edenraiyne
I am looking for something that will show the current song, the last few songs played and how many people are currently listening. I've looked everywhere for a script that will do that.
obviously you haven't looked everywhere cause you haven't looked here:
http://forums.winamp.com/showthread....threadid=82943
Jay is offline   Reply With Quote
Old 19th May 2003, 22:26   #8
Hooje
Member
 
Join Date: Apr 2003
Posts: 73
Send a message via AIM to Hooje
Quote:
Originally posted by matt2kjones
ok then, since you only want the script itself, with no graphics then u can download it today.

however, contact me with how u want it to look, ie, station heading, then current track, etc.

and i will send you the working code
hi i'd like to test your script please!


Can you email it?

Hooje@LoveTheWeekend.com

thanks!
Hooje is offline   Reply With Quote
Old 19th May 2003, 22:49   #9
edenraiyne
Junior Member
 
Join Date: May 2003
Location: wa
Posts: 2
I want to be able to post it on my webpage for people to see.
edenraiyne is offline   Reply With Quote
Old 19th May 2003, 23:06   #10
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
Quote:
Originally posted by edenraiyne
I want to be able to post it on my webpage for people to see.
*crips*

let me list them then.

- PHP based XML Parser
XML parser in PHP - to mimic the old functionality of MusicTicker (you put this on your website and it uses PHP to interface with SHOUTcast and get the stats.)

- JavaScript Title parser

- Dstjohn's Shoutcast Status
SHOUTcast Status is a xml parsing script that opens a socket connection to a Shoutcast streaming server. Current stats enabled are: Current song, last 5 songs, current listeners & the ability to add all xml stats available in SHOUTcast. (same thing with this one)

- Radio Tool Box
while this one doesn't have a description I happen to develop it, it runs on your windows desktop and updates via a script or FTP your website with statistical information, examples of this can be found at www.xrmradio.com/electronic/mb_interact.php

- ShoutcASP
shoutcASP is a set of ASP scripts (Active Server Pages, Microsoft's dynamic web content system) for IIS Server, a plugin for Winamp, a VBS script, database and a couple of COM Objects. In combination they allow you to automate and administrate your Winamp based SHOUTcast station remotely via a web server running on your broadcasting box. Cost $50 (this is a little more sophisticated and probably a bit too much for what you want)

- Pakkasherra
Shoutcast not required. Sends system information to your website via FTP from which you can include to your html documents with SSI.

- Now playing
Writes to text file. Form there this can be uploaded to a FTP and parsed on the server end.

- Winamp Sig
Writes to text file. Form there this can be uploaded to a FTP and parsed on the server end


maybe I am missing something but most of these tools:
Quote:
show the current song, the last few songs played and how many people are currently listening.
Jay is offline   Reply With Quote
Old 20th May 2003, 14:09   #11
matt2kjones
Major Dude
 
Join Date: May 2002
Location: UK
Posts: 929
Send a message via ICQ to matt2kjones Send a message via AIM to matt2kjones
Ok Version 1, Beta 1 released, 20th of may, 2003

This Version only allows you to do the following:
Show the Current Track Playing
Show the Previous Tracks Played.

Download it here:
http://www.thedigitaldream.co.uk/sof...s_V1_Beta1.zip

How to install:
Unzip the archieve, edit the crystal_stats_config.php file, and type in your server ip, or host (maybe you use no-ip??? if so type that) along with your server port number and server password.

Then, simply include the index.php file in any document you wish to show the stats, or, just point a link to the index file.

Dont rename any of the images, or the crystal_stats_config file. You can rename the index file.

This is a rushed release. In the config file you will see all the features that are comming soon. The only reason this is released now was because i have had over 30 emails asking for it.

Version 1, Beta 2 will be out in a few days, which will contain all the features.

Email bugs, or feature requests to matt2kjones@thedigitaldream.co.uk as soon as you find them. The quicker i hear about them, the quicker i can fix them.

I designed this script to be easy to use. If you think this script is too difficult to understand, or know a way i could make it simpler, then go ahead and let me know, as i want u guys and girls to be able to install this without pestering the mods how to use it joke :P

This version is running on my site as an example: http://www.thedigitaldream.co.uk/tddstats/

Thanx and enjoy!


TDD House & Trance Radio:
[ 64k Stream | Visit Site ]
matt2kjones is offline   Reply With Quote
Old 5th June 2003, 21:03   #12
Pies
Junior Member
 
Join Date: Aug 2002
Location: UK
Posts: 36
Just a small bug you might not know about...
I moddified the script slightly, so it may just be my implementation of it. I removed the 'echo' parts of the index.php and included what was left into my page, then echoing the variables where I wanted them.
However, when a song title contains an apostophe (') everything before it is disgarded. For example, "The Datsuns - Sittin' Pretty" becomes "Pretty", and "The Flaming Lips - She Don't Use Jelly" becomes "t Use Jelly".

Any help would be great.
Pies is offline   Reply With Quote
Old 5th June 2003, 21:06   #13
matt2kjones
Major Dude
 
Join Date: May 2002
Location: UK
Posts: 929
Send a message via ICQ to matt2kjones Send a message via AIM to matt2kjones
i am aware of this bug

php xml parser is very picky on what it likes/dislikes

it use to have the same problem with & signs but i fixed that

i will be releasing a new version of the script probabvly tomorrow, which fixes the ' bug

Thanx for the bug report

Matt


TDD House & Trance Radio:
[ 64k Stream | Visit Site ]
matt2kjones is offline   Reply With Quote
Old 5th June 2003, 21:08   #14
Pies
Junior Member
 
Join Date: Aug 2002
Location: UK
Posts: 36
No problem, thanks for the quick reply!
Pies is offline   Reply With Quote
Old 6th June 2003, 16:50   #15
DJHotIce
Forum Loser
(Forum King)
 
DJHotIce's Avatar
 
Join Date: Jan 2003
Location: That place I can't remember the name.
Posts: 4,617
Send a message via AIM to DJHotIce Send a message via Yahoo to DJHotIce
is this crystal stats v1.1 beta 3?

-DJHotIce
Bounce Multimedia - Professional Web Design
DJHotIce is offline   Reply With Quote
Old 6th June 2003, 20:36   #16
matt2kjones
Major Dude
 
Join Date: May 2002
Location: UK
Posts: 929
Send a message via ICQ to matt2kjones Send a message via AIM to matt2kjones
current version is beta2

the fixwhich fixes the bug with be beta3

then when i add the new features the new version will be v1.2 (not a beta cos im confident all bugs have been found now)


TDD House & Trance Radio:
[ 64k Stream | Visit Site ]
matt2kjones is offline   Reply With Quote
Old 6th June 2003, 20:38   #17
DJHotIce
Forum Loser
(Forum King)
 
DJHotIce's Avatar
 
Join Date: Jan 2003
Location: That place I can't remember the name.
Posts: 4,617
Send a message via AIM to DJHotIce Send a message via Yahoo to DJHotIce
I think I ment for it to be said. Does this mean beta 3's comming out soon? Also I think I posted some where else a feature request. Email me beta three and I'll put it on my web server. Beta two allready is. its at http://request.talksoftnetwork.com under the Goodies link

-DJHotIce
Bounce Multimedia - Professional Web Design
DJHotIce is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump