Log in

View Full Version : A hack some might want


filburt1
10-26-2002, 05:20 PM
I'm not putting this in Requests because I don't want it (I'm not hacking my current installation of vB until maybe vB3), but I think it could benefit some: a Live Live Now Playing hack. There's the Now Playing hack which lets you enter in what you're listening to in each post, the recent Live Now Playing which is globally updated, and this one.

I've attached my Winamp Spy-O-Matic written in VB; what it does is every few seconds get the currently playing song from Winamp and dump it to a text file. The daring here could modify it to submit the changes to your forums so it would be a "real" live Now Playing.

Project is attached, enjoy if you want to do this.

N!ck
10-26-2002, 09:50 PM
that's actually an idea i had in mind, but i don't know visual basic, and, (even worse) i don't even know how to run it.

also, where is this text file at?

thanks,
nick

filburt1
10-26-2002, 09:55 PM
It's hardcoded to d:\apacheroot\winamp.txt because I was too lazy to make it an option :p

N!ck
10-26-2002, 10:52 PM
#1 - how would i make it access a url (with a query string, of course) instead of writing to the text file?
#2 - how would i run the thing afterward?

filburt1
10-26-2002, 10:58 PM
1. Use the WebBrowserControl or Inet
2. In the VB IDE (if you don't have it you're screwed)

N!ck
10-27-2002, 12:11 AM
hmmm...this is over my head. i wish someone would just do it. it would integrate nicely into my hack.

Erwin
10-27-2002, 02:12 AM
Can you modify filburt's file so that it enters the value into the database? That value can then be retrieved.

N!ck
10-27-2002, 02:35 AM
erwin, check out this link:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=45006

to use filburt's program, you'd just modify it to access http://url.of.your/forums/nowplaying.php?title=SONGTITLE&artist=ARTIST. of course, it would need to url encode the song title and artist and send them in place of SONGTITLE and ARTIST.

i don't know how to do it, though.