Old 28th December 2000, 21:36   #1
BigDan37
Junior Member
 
Join Date: Dec 2000
Posts: 1
Send a message via ICQ to BigDan37 Send a message via AIM to BigDan37
I would like to list what is currently playing on my radio station on my home page. I liek the way the shoutcast listing have it set up. Is there somehwere I can go to get the code for that? I would prefer it to be a something compatible with .asp pages. If not that would be alright. You can email me at daniel@dvsundin.com. thanks!
BigDan37 is offline   Reply With Quote
Old 28th December 2000, 21:54   #2
Rinibin
Senior Member
 
Join Date: Jun 2000
Posts: 167
Send a message via ICQ to Rinibin
Heh... I'm not e-mailing, since that would make the whole message board idea useless. Anyway, http://www.oddsock.org offers a program called DoSomething that will do exactly what you want. It's the only program I know of so far that is also customisable to fit nicely into your webpage and all, definitely worth checking out.
Rinibin is offline   Reply With Quote
Old 28th December 2000, 22:33   #3
IBC-Radio.com
Senior Member
 
Join Date: Jun 2000
Posts: 175
Send a message via ICQ to IBC-Radio.com Send a message via AIM to IBC-Radio.com
SAM is another program that will create playlists, request pages, and last 10, 20, etc... webpages & a whole lot more. Check out www.AudioRealm.com for more info.
IBC-Radio.com is offline   Reply With Quote
Old 28th December 2000, 22:41   #4
Rinibin
Senior Member
 
Join Date: Jun 2000
Posts: 167
Send a message via ICQ to Rinibin
Oh yes forgot about that one. It makes my computer crash though, but that's probably because running winamp and SAM at the same time is just too much for the poor thing (ugh).
Rinibin is offline   Reply With Quote
Old 28th December 2000, 23:57   #5
Shirow
Major Dude
 
Shirow's Avatar
 
Join Date: Dec 2000
Posts: 604
Does anyone have a short tutorial on setting up the oddsock plugin?

Shirow is offline   Reply With Quote
Old 29th December 2000, 00:18   #6
Rinibin
Senior Member
 
Join Date: Jun 2000
Posts: 167
Send a message via ICQ to Rinibin
Short Tutorial on DoSomething
1) Download DoSomething
2) Install it
[ok now the real thing]
Depending on what you want to do, the following steps will vary, but let's say you want to create a webpage with the currently playing song on it, you would have to do the following:
- Create the webpage. You can use any HTML-code you want, but you will have to insert DoSomething tags on the places where you want the currently playing song to appear. This would be %%CURRENTSONGTITLE%% (maybe followed by - %%CURRENTARTIST%%. There are many more tags supported, they're all listed on Oddsock's site.) Save this page somewhere and give it a nice name. This will be used as the temp-file, so you might want to call it something like that. Let's say you saved it at c:\files\dosomething_temp.html
- Go to the DoSomething plugin in Winamp and from the list choose "generate HTML page". Specify c:\files\dosomething_temp.html as Template In and specify the path and filename that you want the file that you're going to upload in the end as Template Out. In this example that would be c:\files\dosomething.html. Then choose Add.
- From the list choose FTP a file. Specify c:\files\dosomething.html as the local file. In remote file you put the path on your webpage where you want it to end up; http://www.mywebpage.com/dosomething.html (I'm actually not sure if you need the http, so if this doesn't work try without). Enter your FTP-host (this is of course without http, so www.mywebpage.com), password blah blah etc. and click Add.
- Now you may want to check the box "show status box" and (of course) uncheck the box that's with "disable DoSomething", click OK and start playing songs in Winamp. See if it works (ie check on www.mywebpage.com/dosomething.html to see if there is anything appearing at all).

By the way, in case of a page that is listing the currently playing song, or the last played song, or anything else that needs to be updated regularly for that matter, it would be a good idea to make the page refresh automatically every x minutes.

I hope I didn't forget something essential in here and that you could understand this. Forgive my crappy English, I'm in the middle of a major language crisis caused by a lack of sleep that is about the same size. Just shout again if it doesn't work

Good luck!
Rinibin is offline   Reply With Quote
Old 29th December 2000, 00:23   #7
Shirow
Major Dude
 
Shirow's Avatar
 
Join Date: Dec 2000
Posts: 604
Thanks, I installed it and got it working anyway - only problem I'm having is %%currentsongtitle%% won't work - gonna go try %%currentsong%% and hope for the best!

Shirow is offline   Reply With Quote
Old 29th December 2000, 00:28   #8
Rinibin
Senior Member
 
Join Date: Jun 2000
Posts: 167
Send a message via ICQ to Rinibin
It works for me and I got it from the Oddsock site (ah yes I back my answers up (sometimes)), but you do need to have ID3 tags. %%CURRENTSONG%% gets its data from the playlist. Oh well what's the big difference?
Well congratulations on being able to read through that immense post without falling asleep or becoming mentally damaged. And on getting it to work
Rinibin is offline   Reply With Quote
Old 29th December 2000, 00:44   #9
Shirow
Major Dude
 
Shirow's Avatar
 
Join Date: Dec 2000
Posts: 604
Thanks I just used %currentsong%% instead - you can see at http://www.digitalgunfire.com if you care

something weird though..

I am doing !--#include virtual="current.shtml"-- and it works fine.. but if i do !--#include virtual="../../current.shtml"-- it doesn't!

So I can only put it on files in the root directory.. which is bizarre.

Shirow is offline   Reply With Quote
Old 29th December 2000, 08:17   #10
Jimbonator
Junior Member
 
Join Date: Sep 2000
Location: Silicon Valley, CA
Posts: 37
Don't forget the XML interface. If you connect to your SHOUTserver with this URL:

http://server:port/admin.cgi?pass=password&mode=viewxml

(where, of course, you fill in the blanks with the appropriate information), you can get all sorts of nifty info. Some of the scripting languages have XML parsing support (PHP does, I think) to make this less painful.
Jimbonator is offline   Reply With Quote
Old 29th December 2000, 14:14   #11
Shirow
Major Dude
 
Shirow's Avatar
 
Join Date: Dec 2000
Posts: 604
Ooo, cool. I'll have to experiment..

Shirow 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