tips and tricks for movable type
recent songs on winamp
October 12, 2002
It took a little playing around, but I finally managed to get a list of recent songs played on Winamp to appear on my blog.
You'll need WinAmp, DoSomething, PHP, and an FTP account to make this work. All PHP code is by Amy found via this ScriptyGoddess entry - download her allmusic file to get the code.
Unzip Amy's allmusic file to your computer, and make a note of where you've extracted the files it contains.
Then, set up DoSomething to 1) generate an HTML playlist and 2) FTP a file.
Open up WinAmp and press Ctrl-K to display the Preferences window. Select Plugins | General Purpose, highlight DoSomething, and click Configure. (Make sure that the "Disable plugin" box is not checked!)
1. In the Actions drop-down box, select "Generate HTML Playlist". Two more entry boxes will appear, Template In and Template Out.
For Template In, enter the path to Amy's mp3s-in.php file on your computer. For Template Out, designate the output file path of your choice (I called mine mp3s-out.php).
Click Add (below the Action List window). You should then see "Generate HTML Playlist" appear in the Action List.
2. In the Actions drop-down box, select "FTP A File", and more new entry boxes appear.
Local File should point to your mp3s-out.php file. Remote File is the path where you want the file to end up on your server (I used the same file name). The remaining information should be self-explanatory if you're familiar with FTPing files to your server.
Click Add (below the Action List window). You should then see "FTP A Playlist" appear in the Action List. Now you can close the DoSomething configuration window.
Amy's mp3-mgmt.php file contains the code you need to insert the generated list into your pages. I just pasted it in its entirety into a new Template Module, linked it to a file, then pulled that file into my page via PHP where I wanted the list to appear on my blog. Having it in a Template Module also made it easier to edit the way I wanted the list displayed.
That's it! Now every time the song changes on my WinAmp, the updated list is FTP'ed automatically to my site, so it will stay current on my blog.
NOTE: There's a comment at the bottom of the ScriptyGoddess entry which indicates the latest version of DoSomething doesn't work with WinAmp version 3.0 - I don't know if that's true or not as I'm using v2.77. If you're using WinAmp 3.0 and this works for you, please let me know!
TrackBack: 11
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/105)
» Awsome!
Excerpt: for the music lovers This is the stuff for me! Yeah, but i wounder if I can make it work
Weblog: Trnderfan
Tracked: 11.17.02 07:52 PM
» Stupid M3U tricks with bash & MT
Excerpt: You'll notice I've added a "Recent Playlist" to the sidebar. This is based on the music I've been playing on
Weblog: Pleasing to Remember
Tracked: 12.17.02 01:19 AM
» blogamp
Excerpt: I've added a little doohickey courtesy of BlogAmp. It's basically a Winamp add-on that sends a playlist to my FTP server and then picks out the last N songs that were played and displays them wherever I want (which is...
Weblog: asidesoflife.org/parenthetical digressions...
Tracked: 04.02.03 08:23 PM
» I like new toys.
Excerpt: I desperately wanted a Winamp playlist to appear on my page. So, I searched google and found the tips and tricks page from The Girlie Matters. It's at the bottom right part of the navigational menu thing on the main...
Weblog: Lucky Number 13
Tracked: 04.23.03 10:27 PM
» Winamp lsst gren
Excerpt: Öööhm... ich hab beim ganzen Basteln die Zeit total vergessen, aber das ist nicht schlimm, ich bin gaaar nicht müde ;) Ich hab jetzt ein kleines Script eingebaut, mit dem die letzten x (momentan 5) Songs dargestellt werden, die...
Weblog: Jrme-Gamez.de
Tracked: 04.29.03 08:50 PM
» Winamp Playlist History RSS
Excerpt: I've become addicted to my RSS feed reader, so as a result I'm looking for new ways to take advantage of RSS. Following on my Amazon Wishlist RSS and Amazon Browse RSS, I decided to make and RSS feed of...
Weblog: Eightlinks - Features
Tracked: 06.23.03 11:05 PM
» Stuff that works
Excerpt: is just 'da bomb! Some of you keen eyed folks may have noticed the new section of my side bar. Not the picture of the piggie (although that is new too), but the "now playing"...
Weblog: My friggin' blog!
Tracked: 09.21.03 04:00 AM
» XP GUI
Excerpt: [Warning! Bad analogy] The GUI may be XP crack to OS X cocaine, but it still gets this nigga high.
Weblog: the humdrum
Tracked: 10.22.03 08:54 AM
» interface that will allow visitors to see my songs
Excerpt: I haven't used winamp since freshman year of college, but I would gladly convert if I could get this program to work. I downloaded winamp: successful. I downloaded DoSomething: unsuccessful. I hunted down and downloaded another version of DoSomething...
Weblog: head in the clouds
Tracked: 03.08.04 08:11 PM
» interface that will allow visitors to see my songs
Excerpt: I haven't used winamp since freshman year of college, but I would gladly convert if I could get this program to work. I downloaded winamp: successful. I downloaded DoSomething: unsuccessful. I hunted down and downloaded another version of DoSomething...
Weblog: Stacy Austin | Weblog
Tracked: 03.08.04 08:11 PM
» Trackbacks with WinAmp
Excerpt: 每一篇文章都說「這個很簡單」…是啊,如果你們每個人都把步驟寫清楚一點的話的確是很簡單啊!偏偏每一個人都會少講一段…(含淚望向估狗) ◎行前準備 WinAmp 5.01 DoSomething plug-in for WinA...
Weblog: pagras.net
Tracked: 04.01.04 02:08 AM
Comments
You might already know this, but it seems that your italics is not displaying. It adds the italics tag though but it doesn't seem to convert it.
Also, testing to see if your comment subscription works!
p.s. the word "italics" in this post has been italicized. It show us an italicized font.
Hmmmm, I'm not sure what you mean, they're converting in my browser. What browser are you using?
Oh - hmmm, they aren't converting here in the comments, though. Is that what you mean? Wonder if it's the sanitize plugin, let me go check it.
All better now!
Yes, sounds like it was the sanitized plugin, huh? Did you just leave out the <i> tag? BTW, did you intentionally leave out the underline (<U>) tag?
One other question, didn't you use to have your comments just drop down instead of open in a new pop-up window? I thought that was pretty neat. It just dropped down right below the main entry. How did you do that? Or was that someone else's blog I saw?
The Underline Button was what I meant....
Oh, Do you know if MT2.5 fixed the security problem that the sanitized plugin was supposed to patch? I've never installed the plugin,you see.
Comments: Do you mean the same way you can "read more" of an entry right in the page? That's the ScriptyGoddess script - I just don't use it for my comments. Maybe one day. =)
Underline button: there wasn't one in the script I used, so I haven't bothered to find a "U" button and hack the script to use it.
P.S. I don't see anything specifically about the comments security problem in the changelog, so I'm not sure about that.
Very cool thank you
Any way to do this NOT using php? Maybe include it via SSI? Or, no, still need to have the ending .php...crap. Any ideas? I don't wanna be using php as I don't fully understand it...
Does this wonderful plugin really not work in XP? That's all I have :(
Ok, this probably is impossible, and I sound looney, but can you create this hack using something other than FTP access, like SSH? All I know is the the friend who runs our webserver wants to keep FTP out of the deal for security purposes.
I'd definitely still like to use this hack. Am I dreaming?
That wonderful plug-in does work in XP. Make sure you are running winamp 2 and not 3.
I have another question... can you output the date in the mp3s-out file?
I orginally found this script at your site and it seems like it doesn't work for me. I posted to the author in this post.
Thanks for posting the complete set of instructions, because i went to scripty goddess and she left out like 4 steps, so I didnt quite get it. What I still dont get is that you put the script in a whole new template, but how do you call it to the main page?
Actually there is another script that does the samething with the dosomething plugin and you use trackbacks instead of going through the FTP
Intruder, I only put it in a template module so I could edit easily. I use a PHP include statement to call the file into my page.
Iced Glare, I believe you're referring to Trackbacks in Winamp.
Yep that's the one.. it's much easier and less to do and plus I couldn't figure out the other one and I either got this response "I'll look at it or it works fine for me" but I think it's because I was trying to use Winamp 3 but whatever the case a.wholelottanothing.org does it for me :-)
hey, sorry about the multiple trackback pings (XP GUI)... it kept sending the pings everytime i updated the post, and i kept messing up one of the URLs. I tried to prevent the pings, but it didn't work. Not trying to be spammy, here.
My bad.
You have a great site BUT you really need to make the type larger and easier to read. It is a REAL STRAIN on the eyes to look over your site with such small type.
what version is this for? I don't have any of the menu items you speak of!
Gosh, I really need to read your full entries before starting projects. I am so frustrated because it doesn't work. Yet, I'm using XP and Winamp 5.02 so I guess that's two strikes against me. :(