Results 1 to 6 of 6
Thread: Itunes "Now Playing" Plugin
-
04-24-2005, 12:19 PM #1Web Hosting Master
- Join Date
- Dec 2002
- Location
- NY, NY
- Posts
- 3,974
Itunes "Now Playing" Plugin
I need a "now playing" type plugin for itunes.
Similair to: http://brandon.fuller.name/archives/hacks/nowplaying/
Except I don't need all those options
I just need the option they call "pinging". Basically it send an http request to the url you specify with the song info as arguments.
Basically site.com/file.ext?song=xx&album=yy etc..
The program above costs $10, and it is probably well worth it, but I dont need all those options.
Anybody know of one that does exactly what I am asking for?
Thanks.webmaster A T 420th.com
What is my Itunes playing? Visit 420th.com/nowplaying.jsp to find out.
Ask the monkey: http://www.monkeyfaq.com
-
04-24-2005, 12:52 PM #2Web Hosting Master
- Join Date
- Jun 2004
- Posts
- 1,961
It's Scott!
-
04-24-2005, 12:59 PM #3Web Hosting Master
- Join Date
- Dec 2002
- Location
- NY, NY
- Posts
- 3,974
The one you posted is a bit of a hassle. You must start itunes, then open up the javascript. etc..
I would rather have everything open at once.
Any better suggestions?Last edited by ilyash; 04-24-2005 at 01:11 PM.
webmaster A T 420th.com
What is my Itunes playing? Visit 420th.com/nowplaying.jsp to find out.
Ask the monkey: http://www.monkeyfaq.com
-
04-24-2005, 02:07 PM #4Web Hosting Master
- Join Date
- Dec 2002
- Location
- NY, NY
- Posts
- 3,974
I Found this JS somewhere:
PHP Code:var iTunesApp = WScript.CreateObject("iTunes.Application");
function ITEventTest_OnPlayerPlayEvent(newTrack) {
var inet = WScript.CreateObject("InetCtls.Inet");
inet.Url = "http://www.typepad.com/t/app/lists?__mode=save_item&list_id=######&song="+newTrack.Name+"&artist="+newTrack.Artist+"&Album="+newTrack.Album+"&rating="+newTrack.Rating;
newTrack.Name + " (" + newTrack.Artist + ")"; */
inet.RequestTimeOut = 10;
s = inet.OpenURL();
}
// attach event sink
WScript.ConnectObject(iTunesApp, "ITEventTest_");
WScript.Echo("Waiting for play events from iTunes...");
while (true) {
WScript.Sleep(1000);
}
it is like
function{}
sleep;
I dont see where the function is called.webmaster A T 420th.com
What is my Itunes playing? Visit 420th.com/nowplaying.jsp to find out.
Ask the monkey: http://www.monkeyfaq.com
-
04-24-2005, 03:14 PM #5Web Hosting Master
- Join Date
- Sep 2001
- Location
- Sunnyvale, CA
- Posts
- 979
Function is called here:
Code:WScript.ConnectObject(iTunesApp, "ITEventTest_");
Jeremy Johnstone
Personal Blog: http://www.jeremyjohnstone.com/blog
-
04-24-2005, 04:41 PM #6Web Hosting Master
- Join Date
- Dec 2002
- Location
- NY, NY
- Posts
- 3,974
why doesnt it call the full name.. just half of it?
And it doesn't work, so I am wondering what is wrong with it.webmaster A T 420th.com
What is my Itunes playing? Visit 420th.com/nowplaying.jsp to find out.
Ask the monkey: http://www.monkeyfaq.com