WINAMP.COM | Forums > Developer Center > Winamp Development > FIX/HACK: Older Winamp and Shoutcast |
| Pages (3): [1] 2 3 » |
Last Thread
Next Thread
|
| Author |
|
|
zbowling Member
Registered: Jun 2002 |
FIX/HACK: Older Winamp and Shoutcast
For everyone with older versions Winamp out that can't stand shoutcast breaking, here is a work around I created to get shoutcast working again. I created this little page in PHP that queires the new XML format and transforms it to the old XML format using an XSLT sheet. code: This overrides the your DNS server and forces 'www.shoutcast.com' to load somewhere else. All you need to do is restart your older Winamp and enjoy. Just make sure you remove it before you switch back to the new winamp or want to visit shoutcast in your web browser. I won't have this up for long. Its just something to help the community out while they can switch over. However, if you are interested in how I did this, you can see the source here: http://www.polystimulus.com/sbin/playlist.php.txt http://www.polystimulus.com/sbin/playlist.xsl http://www.polystimulus.com/sbin/playlist-radio.xsl Now someone needs to make this into a plug-in for the older users to download that looks that the new format for the older users. __________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
I updated the code. I now only pull the Top500 streams. If you want anything else, then you will have to host it yourself. Sorry guys. Traffic was just to much. __________________ |
||
|
|
|
antihadron Junior Member
Registered: Apr 2006 |
Well that did not take long. Guess you know what nullsoft's heartburn is. |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
I need testers to report to me if this is working for them. I'm using XMMS and Tunapie on Linux. I don't have a copy of Winamp around to know if everything is working ok. Please post if this works for you, or if not, please post. __________________ |
||
|
|
|
antihadron Junior Member
Registered: Apr 2006 |
Site looks good. I tried getting your PHP scripts to work on Windoz. Eventually gave up because of the dependencies. I finally went an alternative route. |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
__________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
Alright. I fixed the bug with Winamp 2.95 I got PMed about. Seems the xml parser in 2.x was a bit more picky then one would expect. Seems to work now. __________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
Tunapie works now works. The no_compress argument is correctly respected. __________________ |
||
|
|
|
byblo Member
Registered: Mar 2006 |
Thank you pal! I hate the new ml version and your work's helpful. |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
By the way, I'm curious about how much bandwidth does it use? |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
__________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
I updated and commented the code. __________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
In Winamp 5.08 which I have installed there is no ml_win_media.ini file in the plugins\ml directory... |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
__________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
zbowling: looks like you have some syntax error in your script :-) |
||
|
|
|
byblo Member
Registered: Mar 2006 |
|
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
|
||
|
|
|
zbowling Member
Registered: Jun 2002 |
Ok. its back up and work.. that was odd. must of uploaded the wrong files. __________________ |
||
|
|
|
ujay Forum King
Registered: Jul 2001 |
|
||
|
|
|
zbowling Member
Registered: Jun 2002 |
hehe.. it wasn't that the bandwidth was too much serving it up.. it was the blocking that happened pulling from shoutcast.com, running the xsl file, and saving into the cache and serving it up to the client.. __________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
Looks like good news, the ML in old winamp version works again from shoutcast!! |
||
|
|
|
DrO Moderator
Registered: Sep 2003 |
__________________ |
||
|
|
|
antihadron Junior Member
Registered: Apr 2006 |
>might switch to a static version with a cron job soon |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
hmm?
__________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
__________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
Re: hmm?
|
||
|
|
|
zbowling Member
Registered: Jun 2002 |
Nope.. still down... __________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
|
||
|
|
|
antihadron Junior Member
Registered: Apr 2006 |
funny 82,000 listeners for 30 stations :-) Yep everone has migrated to 5.2 |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
hahaha nice. they did turn it back on for older users of winamp 2.x. I guess that is how they fixed the pages on the homepage and winamp.com/music :-P hahaha __________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
heh nice, sometimes it produces strange output, but there was normal directory just a few moments ago... not just 30 streams :-) |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
...or was it still 30 streams? hmm you might be right that they have fixed the winamp.com this way :-) |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
http://yp.shoutcast.com/sbin/xmllis...p;no_compress=1 __________________ |
||
|
|
|
jant77 Senior Member
Registered: Jun 2004 |
We can just hope that they are still working on it and will enable it again for more than top 30... |
||
|
|
|
dannidj Senior Member
Registered: Jul 2004 |
Whats Wrong with this? In TV i Only see yp to 30 TV Stations. |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
NEW STANDALONE VERSION! (with source) code: If you use the ml\ml_win_media.ini method, change the server to "http://localhost/". Again no warrenty! Have Fun!!! __________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
Store it on da forum, too...
0.1
__________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
http://www.polystimulus.com/Code%20Monkey.mp3 __________________ |
||
|
|
|
zbowling Member
Registered: Jun 2002 |
Updated standalone. Silly typo bug. __________________ |
||
|
|
|
| Pages (3): [1] 2 3 » |
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > Winamp Development > FIX/HACK: Older Winamp and Shoutcast |
Forum Rules:
|