[release] Itunes V1.1.0

Hi everyone,

Due to many (ALOT) requests I sucessfuly ported iTunes v1.1.0 to Object Dock.

Issues:

(1) ObjectDock SDK does not support controling running indicators, so an indicator will not show up when/if iTunes is running

(2) To change the default path of your iTunes, you need to manually change the information stored in the currenttheme.ini file.

[item(?-??)]

Type=Docklet

Docklet=Docklets\iTunes\iTunes.dll

ANIMATE=1

USE_ADV_MENU=0

Title=iTunes

Image=docklets\itunes\itunes.png

PATH=C:\Program Files\iTunes\iTunes.exe <--Add or Change

Click here to download the package.

Thanks,

Enjoy

#97956

Great job albeik. I'm sure many people wanted this one.

#97963

man you just realize our dreams!!! :wub:

#97967

Shouldn't this go into the pinned "Official OD Docklets" thread above so as to not lose it?

#98019

albeik, only one thing can be said :bow: :bow: :bow:

#98038

Gos, this menu isn't working for me >.-_-

#98079

@Pe7er:

If you are talking about the advanced contextual menu, it currently works only if the following criteria are met:

- iTunes system tray icon must be enabled

- iTunes system tray icon must be viewable

- iTunes system tray icon must be the first one in the system tray, which means that iTunes icons should be the last one added to the system tray.

Hope that helps...

#98085

Originally posted by albeik@Jan 10 2004, 06:32 PM

@Pe7er:

If you are talking about the advanced contextual menu, it currently works only if the following criteria are met:

- iTunes system tray icon must be enabled

- iTunes system tray icon must be viewable

- iTunes system tray icon must be the first one in the system tray, which means that iTunes icons should be the last one added to the system tray.

Hope that helps...

I think I meet these criteria and it still doesn't show the menu >.<

#98094

did u check the path to iTunes.exe in the ini file?

#98209

Of course i did :cry:

#98212

Thanks albeik :D

Aviel.

#98423

sorry my bad :(

mods delete this post pls, ty.

-zoot

#98426

This is a littlebit offtopic but I have to post it here to make sure that Albeik will read this. Here's the thing: would you consider porting comic docklet to OD? I'd like to have it SO much...please :bow:

#98571

The docklet started working untill I started playing music, then it stopped showing the control options, just 'start itunes'.

:(

Chris

#99196

albeik,

great work, thanks, but ...

I need to re-enter the right PATH before every start of OD!!! It seems that OD overwrites the currenttheme.ini on closing the dock!

Any ideas?

#99263

Originally posted by Pe7er@Jan 11 2004, 11:09 PM

This is a littlebit offtopic but I have to post it here to make sure that Albeik will read this. Here's the thing: would you consider porting comic docklet to OD? I'd like to have it SO much...please :bow:

Its on my TODO list. I have recieved a lot of requests for that port. It'll have to be after I am done with Weather v0.5. ;)

#99320

Originally posted by Binary@Jan 13 2004, 02:54 AM

The docklet started working untill I started playing music, then it stopped showing the control options, just 'start itunes'.

:(

Chris

Are you talking about the Advanced menu or the normal menu that shows the controls? and what version of iTunes are you running?

#99322

Originally posted by marco@Jan 13 2004, 07:54 AM

albeik,

great work, thanks, but ...

I need to re-enter the right PATH before every start of OD!!! It seems that OD overwrites the currenttheme.ini on closing the dock!

Any ideas?

That sounds like a bug to me. I'll take a look at the code and check what is causing this problem. This problem may also exist in the Winamp docklet.

Thanks for the tip!

#99323

Originally posted by Binary@Jan 13 2004, 05:54 AM

The docklet started working untill I started playing music, then it stopped showing the control options, just 'start itunes'.

:(

Chris

if you use my plugin and check the option that changes the window's caption to "Artist - Song Name - iTunes", this docklet won't work well...

albeik - that's the only thing i can complain about in this docklet :cry:

you can fix it by not searching all the windows that belong to the iTunes class, and check if each found window's title is exactly "iTunes" or ends with " - iTunes".

thanks a lot if you fix that (Y)

#99326

Originally posted by localhost@Jan 13 2004, 12:13 PM

if you use my plugin and check the option that changes the window's caption to "Artist - Song Name - iTunes", this docklet won't work well...

albeik - that's the only thing i can complain about in this docklet :cry:

you can fix it by not searching all the windows that belong to the iTunes class, and check if each found window's title is exactly "iTunes" or ends with " - iTunes".

thanks a lot if you fix that (Y)

Thanks for the tip localhost. I'll look into that. btw, I was wondering how you managed to get the Artist - Song Name from iTunes...

#99347

Originally posted by albeik@Jan 13 2004, 04:11 PM

Thanks for the tip localhost. I'll look into that. btw, I was wondering how you managed to get the Artist - Song Name from iTunes...

look at the iTunes Visual Plug-In SDK here:

http://developer.apple.com/technotes/tn200....html#Downloads

in the kVisualPluginPlayMessage message you can access messageInfo->u.playMessage.trackInfo->name and a lot of other pieces of information about the current song.

btw, i was wondering how you've discovered the messages to send to the iTunes window for Play/Pause/Next/Previous and Stop :)

if you want to get the current song/artist name without an extra plugin, you can get them if my plugin is installed and iTunes is recognized as WinAmp. find the window which class is "Winamp v1.x" (there should be only one), it's title is "1. Artist - Name - Winamp" :)

#99357

I pretty much hacked my way through to figure out what commands needed to be sent to iTunes to process certain functions. I pretty much scanned through all the messages sent by iTunes' System Tray icon to the iTunes application. With time (and many "trials and errors"), I was able to narrow down the porper commands. But again, this limits me to what the system tray icon can do... thats why my advanced (beta) menu just invokes the tray menu itself.

and thanks for your tip, I didn't know that it was a plugin that captured the information (which makes sense). :)

#99363

lol i tried looking at the messages that the tray menu sends to iTunes and found nothing useful :shy:

#99366

Originally posted by albeik@Jan 13 2004, 01:02 PM

Its on my TODO list. I have recieved a lot of requests for that port. It'll have to be after I am done with Weather v0.5.  ;)

^_^ I'm waitiiiing! Thanks for the info, I'm coooool and happy now.

#99504

only You can do that ! :who's your daddy: (Y)

#101090