iTunes Plugin

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
knaegge
Posts: 9
Joined: Thu Sep 10, 2009 12:48 pm

Re: iTunes Plugin

Post by knaegge » Wed Sep 16, 2009 5:43 pm

okay. i think i'll maybe go back to the earlier version of itunes. the new version is kind of strange... und not really without some bugs.. and in my opinion the older style was better!

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Wed Sep 16, 2009 5:52 pm

ya, give it a few months to see if they clean it up a bit.

or switch to mediamonkey!!!

knaegge
Posts: 9
Joined: Thu Sep 10, 2009 12:48 pm

Re: iTunes Plugin

Post by knaegge » Fri Sep 18, 2009 2:07 pm

no thanks :D

but i need the installation file of iTunes 7.9 (i think it was 7.9^^) do someone know where i can get t from?

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Fri Sep 18, 2009 2:48 pm

try googling: old version of itunes

or: itunes 7.9

knaegge
Posts: 9
Joined: Thu Sep 10, 2009 12:48 pm

Re: iTunes Plugin

Post by knaegge » Wed Sep 23, 2009 7:10 pm

hm.. maybe... or maybe i just use this version^^

cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: iTunes Plugin

Post by cfull1 » Tue May 31, 2011 4:31 pm

Hey I just downloaded the new version of your plugin.
Both are working fine for me and I'm pretty sure I'm on the current version of iTunes.
I'm really excited about eventghost generating an event when the track changes.
I'm working to get my webserver to update automatically without polling and this should help.

I've noticed though if your switching songs while iTunes is paused the TrackChanged event doesn't trigger until you hit play.
I'm wondering is there a way to make it trigger the event everytime a track is changed regardless of whether iTunes is paused or not?

Thanks for all you've done with this plugin, I use it almost on a daily basis.
Carson

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Tue May 31, 2011 8:35 pm

wow, I totally forgot about this plugin. I thought that it did not work and I have moved on to work on VoxCommando.

I just tested this plugin with version 10.1 of iTunes and it seems to work fine though.

If there is any maintenance or updates needed I will make them. If there are any other commands that you think are missing let me know.

The events that are fired are determined by the iTunes api and then only fire when the song actually plays so I don't think there is anything I can do about that. Sorry.

cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: iTunes Plugin

Post by cfull1 » Wed Jun 08, 2011 10:27 pm

Realized, I could just jump to get info macro, when next or previous is triggered ha.
Could you add shuffle and repeat commands?

Also is it possible to play a specific artist? Like along the lines of playing a specific playlist.
I know with Apple's Remote App any time you play something from the app a "Remote" playlist is created in iTunes and updated with whatever is done on the app.
Would it be possible to emulate that?

Thanks for looking into an old project
Carson

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Thu Jun 09, 2011 1:42 am

yes. This is doable. I am working on a command that will let you "Search and Load" which will create a playlist and populate it with songs that match a search. Then you can search on Artist, Album, or Song title. I'll include the option to shuffle this list or not before playing.

I will also look into the general shuffle and repeat commands once the Search is working.

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Thu Jun 09, 2011 2:29 pm

Try this:
Attachments
__init__.py
(30.57 KiB) Downloaded 360 times

cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: iTunes Plugin

Post by cfull1 » Thu Jun 09, 2011 10:03 pm

Wow, nice! The search was a great idea and works beautifully.
For completeness you could include genre in the search type.
Also is there a way to remove the playlist once its not in use or when iTunes closes?
Maybe also the playlist name could be customized in the iTunes plugin configuration?

All 3 Shuffles work good too.
Noticed when iTunes is first opened and nothing is playing, the shuffle throws an error.
Could this be suppressed and replaced with a comment?

I'll keep playing around with search, but it looks to be working bug free.

scottbakertemp
Posts: 17
Joined: Sun Nov 28, 2010 7:21 pm

Re: iTunes Plugin

Post by scottbakertemp » Tue Jul 05, 2011 3:31 pm

Would it be possible to enable or disable airplay devices? It would be awesome if I could use this to start a playlist and then switch which airport expresses are playing.

thanks for all the work,
-Scott

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Wed Jul 06, 2011 4:44 pm

I don't think so. I don't own any airplay devices (I'm not even sure what this is) and there is no mention of airplay in the iTunes SDK manual.

cfull1
Experienced User
Posts: 124
Joined: Thu Aug 19, 2010 4:52 am

Re: iTunes Plugin

Post by cfull1 » Mon Sep 19, 2011 1:02 am

I'm having trouble getting the plugin working.
The open action will work and the first trackchanged triggered, but the get info from that macro and every other action just gives the itunes not running error.
I'm running iTunes 10.4.0, EventGhost 0.4.1.r1540

User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: iTunes Plugin

Post by jitterjames » Thu Sep 22, 2011 7:01 pm

I have no idea why it is not working for you.

alls I can say is that it works perfect for me. I don't actually use it, but I just tested and everything seems fine. Basic commands, requesting now playing info, and events for new songs.

My test scenario:

Win7 32bit home
eventGhost 0.4.1.r1534
iTunes 10.1.0.56

I've attached the plugin file I"m using, just in case its different
Attachments
__init__.py
itunes plugin
(30.57 KiB) Downloaded 353 times

Post Reply