iTunes Playlist in Indigo 7

Posted on
Tue Aug 29, 2017 5:12 pm
Monstergerm offline
Posts: 158
Joined: Sep 01, 2009

iTunes Playlist in Indigo 7

The iTunes plugin on both of my Indigo iTunes servers is not populating the Playlist field for any of my regular or smart playlists. I am pretty sure this worked before under Indigo 6. Any thoughts?

Posted on
Wed Aug 30, 2017 9:21 am
marketability offline
User avatar
Posts: 168
Joined: Dec 08, 2015
Location: UK

Re: iTunes Playlist in Indigo 7

same here but I'm pretty certain it happened after an iTunes upgrade rather than when I moved to Indigo7

Posted on
Wed Aug 30, 2017 10:54 am
jay (support) offline
Site Admin
User avatar
Posts: 16112
Joined: Mar 19, 2008
Location: Austin, Texas

Re: iTunes Playlist in Indigo 7

Yeah, it's likely due to an iTunes change since we haven't changed that plugin in many years. I'll look into it.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 30, 2017 12:22 pm
Different Computers offline
User avatar
Posts: 1970
Joined: Jan 02, 2016
Location: East Coast

Re: iTunes Playlist in Indigo 7

Could you share the version of iTunes you're using, so I can know what not to upgrade to?

Alternately, if I'm already there we know it's not a version problem because mine is working.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Wed Aug 30, 2017 12:39 pm
Monstergerm offline
Posts: 158
Joined: Sep 01, 2009

Re: iTunes Playlist in Indigo 7

I have problems with iTunes 12.6.2.20.

I tested the iTunes plugin that came with Indigo 6 and it has the same problem with Playlist not getting populated. So it must be iTunes related.

Posted on
Wed Aug 30, 2017 12:45 pm
jay (support) offline
Site Admin
User avatar
Posts: 16112
Joined: Mar 19, 2008
Location: Austin, Texas

Re: iTunes Playlist in Indigo 7

Monstergerm wrote:
I have problems with iTunes 12.6.2.20.

I tested the iTunes plugin that came with Indigo 6 and it has the same problem with Playlist not getting populated. So it must be iTunes related.


Yep, that version isn't working for me either. Looking into it now.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 30, 2017 1:21 pm
marketability offline
User avatar
Posts: 168
Joined: Dec 08, 2015
Location: UK

Re: iTunes Playlist in Indigo 7

12.6.2.20 for me too
not 100% sure but think it worked with the previous version

Posted on
Wed Aug 30, 2017 1:24 pm
jay (support) offline
Site Admin
User avatar
Posts: 16112
Joined: Mar 19, 2008
Location: Austin, Texas

Re: iTunes Playlist in Indigo 7

So, iTunes is now returning 0 (zero) for the ID of the playlist that's currently playing. Regardless of the playlist. So this is either a bug or a change in their internal API. That API isn't published so it has to be reverse engineered (and not by me!). So, unfortunately, there's really not much I can do about it until either Apple fixes it (if it's a bug) or until someone figures out what they changed and how to deal with it. I've looked at the very few open source projects that do iTunes control and none seem to have addressed it yet.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 30, 2017 1:55 pm
marketability offline
User avatar
Posts: 168
Joined: Dec 08, 2015
Location: UK

Re: iTunes Playlist in Indigo 7

just out of interest, the playlist ID and name are accessible via applescript (teaching grandmother to suck eggs - apologies)
as a hack around a trigger on track change that runs...

Code: Select all
tell application "iTunes"
   set thePlaylist to name of current playlist
   set thePlaylistID to id of current playlist
end tell
set value of variable "testplay" to thePlaylistID


at least allows me to display the playlist on my control pages

Posted on
Wed Aug 30, 2017 4:04 pm
Different Computers offline
User avatar
Posts: 1970
Joined: Jan 02, 2016
Location: East Coast

Re: iTunes Playlist in Indigo 7

The mystery deepens:

12.6.2.20 is working fine for me. Status reported in Indigo, Indigo control page elements (that use the iTunes device, not tied to AppleScripts) are working fine.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Wed Aug 30, 2017 7:58 pm
jay (support) offline
Site Admin
User avatar
Posts: 16112
Joined: Mar 19, 2008
Location: Austin, Texas

Re: iTunes Playlist in Indigo 7

It's updating the playlist custom state? Everything else seems to be fine, it's just that the current playlist name state isn't getting updated. If that is working, what OS version are you using on the Mac running iTunes?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 30, 2017 10:33 pm
RogueProeliator offline
User avatar
Posts: 2314
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: iTunes Playlist in Indigo 7

12.6.2.20 is working fine for me. Status reported in Indigo, Indigo control page elements (that use the iTunes device, not tied to AppleScripts) are working fine.

12.6.2.20 on OS X 10.11.6 is not working for me... :-(

Posted on
Thu Aug 31, 2017 12:29 am
Korey offline
User avatar
Posts: 606
Joined: Jun 04, 2008
Location: Henderson, NV

Re: iTunes Playlist in Indigo 7

Same deal here, everything seems to still be working but the playlist state does not change. :roll:

Apple & iTunes sux, just another push to move me fully to Spotify, now how about a Plugin?

iTunes 12.6.2.20
Indigo 7.0.3
OSX 10.10.5

--
Korey

Posted on
Thu Aug 31, 2017 7:01 am
Different Computers offline
User avatar
Posts: 1970
Joined: Jan 02, 2016
Location: East Coast

Re: iTunes Playlist in Indigo 7

I'm running 10.11.x (6 I think.)

Here's the funny thing--I never report out the playlist name. I report out the track, its rating, but never its playlist.

Playlist selection from a STATIC subset of them still works though.

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Thu Aug 31, 2017 8:54 am
jay (support) offline
Site Admin
User avatar
Posts: 16112
Joined: Mar 19, 2008
Location: Austin, Texas

Re: iTunes Playlist in Indigo 7

Different Computers wrote:
I'm running 10.11.x (6 I think.)

Here's the funny thing--I never report out the playlist name. I report out the track, its rating, but never its playlist.


You can see the value in the Custom States list, below the Device Details tile when you select the device in the device list in the Mac client:

ss137.png
ss137.png (107.32 KiB) Viewed 2343 times

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 1 guest