It is currently May 4th, 2024, 8:38 am

Call for a coder to build an iTunes controller

Share and get help with Plugins and Addons
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Call for a coder to build an iTunes controller

Post by dragonmage »

I don't think the plugin should automatically start iTunes, when the plugin loads.
User avatar
elestel
Developer
Posts: 57
Joined: May 6th, 2009, 6:06 am

Re: Call for a coder to build an iTunes controller

Post by elestel »

I tried to make a clickable playlist skin today but failed.
Could someone be kind enough to make a sample skin for me?
I don't even know how to connect a next button with it. :cry:
Now the skin simply shows the first 10 tracks on it.
http://www.mirimo.org/project-itunesplugin.html

BTW
1. Now the plugin doesn't automatically start iTunes on initializing.
2. I don't have Vista to test the plugin. Maybe a x86/x64 compatibility problem?
3. As for the obfuscatepenguin, that is definitely not me.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Call for a coder to build an iTunes controller

Post by dragonmage »

Can you give us the syntax for all the commands we can send to the plugin.
Is there a way to use one measure to retrieve the whole playlist and then display one item per meter by using %1,%2, etc?

With the way you have it now, I see more CPU usage by Rainmeter. I'm guessing due to all the individual measures.

To get it to play on click we need a command to send to the plugin, like

[MeasureCurrentPlaylist]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentPlaylist

[Track1]
Meter=String
MeasureName=MeasureCurrentPlaylist
x=0
y=0
FontFace=
FontColor=
FontSize=
Text=%1
LeftMouseDownAction=!Execute [!RainmeterPluginBang ItunesPlugin PlayItem %1]

We may have to create a background for the text to set the play command on so that you don't have to click the actual text to activate it, but that would be the general concept. If that could be done, then we would only need one measure and create meters for each item.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Call for a coder to build an iTunes controller

Post by dragonmage »

With the newest version of the plugin, it does not control itunes or retrieve information from it if you do not activate itunes with the plugin's Power command. It also loses control and info if you refresh the skin. You have to hit the power button again to get it to work.
User avatar
elestel
Developer
Posts: 57
Joined: May 6th, 2009, 6:06 am

Re: Call for a coder to build an iTunes controller

Post by elestel »

I have a new version to fix this problem. http://www.mirimo.org/project-itunesplugin.html
Now the plugin will auto-detect iTunes window when initializing.

BTW, I dived into Rainmeter source code but still can't find a way to return the whole playlist by one single measure.
Maybe it is more appropriate to add a show/hide button to view playlist directly in iTunes...
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Call for a coder to build an iTunes controller

Post by dragonmage »

Yes, I was going to suggest a show/hide itunes control either way.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Call for a coder to build an iTunes controller

Post by dragonmage »

I'll try to get you a skin made that switches to the next group of playlist items.
wasky1
Posts: 127
Joined: June 10th, 2009, 8:26 am

Re: Call for a coder to build an iTunes controller

Post by wasky1 »

could u please post a new link for newest version of plugin the previous link doesn't work. ps im on vista x86 and unless you actually open i tunes with config, rainmeter will crash due to the measures ..."MeasureSoundVolume" And..."MeasurePlayerPosition". and if you close iTunes when config open R'Meter will crash. also a couple of measures don't work for me..."MeasureCurrentTrackSize" and..."MeasureCurrentTrackTrackCount" and the toggle only minimises iTunes. thanks for you hard work id love to have a go with the new version of the plugin.
wasky1
Posts: 127
Joined: June 10th, 2009, 8:26 am

Re: Call for a coder to build an iTunes controller

Post by wasky1 »

o sorry link just worked lol
wasky1
Posts: 127
Joined: June 10th, 2009, 8:26 am

Re: Call for a coder to build an iTunes controller

Post by wasky1 »

damn i already had the new plugin sorry my bad!