PDA

View Full Version : iTunes Update plugin (now with OS X support)



Allan Hise
2005-02-05, 02:39
On Thu, 3 Feb 2005, Craig, James (IT) wrote:

> Hi all,
> Well as previously stated I do now have a version of the iTunes Update
> plugin with Mac support!
> Download it from www.jamescraig.co.uk/SlimServer
>
> I'd appreciate any comments from Mac users who have a chance to try it
> out.

[snip]

>
> So, if you're still reading you probably want to use it on a Mac...
>
> You will need the Mac::AppleScript::Glue perl module (and I think this
> requires Mac::AppleScript).
> I'd suggest installing these in the Plugins/iTunesUpdateSupport
> directory but please let me have any installation notes so I can add
> them to the plugin instructions.

It works! At least the updating play count and times bit. I haven't tried
rating anything yet.

1) I went the CPAN route, installing in the default directory.
At the comand line enter:
sudo perl -MCPAN -e shell
it asks for your passoword
2) You are then dropped into the CPAN shell.
install Mac::AppleScript::Glue
This is case sensitive (I originally typed "s" sin "script" and it failed.
Eventually this completes successfully, or fails some of the tests..
3) Since my install failed some of the Mac::AppleScript::Glue tests, I
then forced it in the CPAN shell
force install Mac::AppleScript::Glue

This worked.
>
> Now, the Mac side of the code checks iTunes for tracks matching on
> Title, Artist & Album but the Windows code also checks the file path.
> I suspect this will cause incorrect updates if for example you have an
> album with two identically named tracks.

I haven't run into this yet (and likely won't today - it is cleaning day
so my wife has picked the playlist...)

> I'd appreciate it if anyone could test the commented-out code in the
> plugin that also adds the location check.

I'll try this tomorrow, hopefully.

> If this is not possible I could check the track number instead?
>

That may be easier. I had a hard time trying to get iTunes to recognize
locations. But locations of course is the best.

> My thanks to Daniel Boss who kindly sent me his changes.
>

My thanks to you James! This is a welcome addition to my squeezebox
experience!

Allan