itunes

iTunes warning message on quit due to scripting

Wrote the following in PowersHell as a quick iTunes demonstration: $iTunes = New-Object -ComObject iTunes.Application $LibrarySource = $iTunes.LibrarySource foreach ($PList in $LibrarySource.Playlists) { write-host $PList.name } This works well and pulls back a list of playlist names. However on trying to close iTunes a warning appe...

Windows (Vista): Set process-priority on a program shortcut

Is there any way to launch a program with a shortcut, that sets the process-priority of that program? iTunes is dragging my system to it's knees, but when I set the process-priority to "low", somehow, like magic, Windows gets back to it's normal responsive self :) ...

Creating music visualizer

So how does someone create a music visualizer? I've looked on Google but I haven't really found anything that talks about the actual programming; mostly just links to plug-ins or visualizing applications. I use iTunes but I realize that I need Xcode to program for that (I'm currently deployed in Iraq and can't download that large of a f...

PHP access to iTunes tags in an RSS feed

I need to get access to the iTunes tags in an RSS feed using PHP. I've used simplepie before for podcast feeds, but I'm not sure how to get the iTunes tags using it. Is there a way to use simplepie to do it or is there a better way? Okay I tried Simple XML. All this (the code below) seems to work $feed = simplexml_load_file('http://...

How can I make my ad hoc iPhone application's icon show up in iTunes?

I've got an iPhone app with icon file Icon.png. This icon shows up properly when the app is on the phone itself, but it doesn't show up in the applications pane in iTunes. What do I need to do to get it to show up properly? ...

RPC_E_SERVERCALL_RETRYLATER during powershell automation

I'm using PowersHell to automate iTunes but find the error handling / waiting for com objects handling to be less than optimal. Example code #Cause an RPC error $iTunes = New-Object -ComObject iTunes.Application $LibrarySource = $iTunes.LibrarySource # Get "playlist" objects for main sections foreach ($PList in $LibrarySource.Playlists...

How can I programmatically add playlists or views to iTunes?

Is there a way to programmatically interface with iTunes to add new playlists or smart views? For example, say I download 10 new mp3 files from a website, is there a way of programmatically adding this list of mp3s to a new playlist called "New Album xx"? A new smart view could be okay too if this is easier. More specifically, this is...

Looking for software to remotely control iTunes from PC

Looking to control iTunes on home network from other computers. This client should work on Windows XP, and be able to control iTunes running on XP or Vista. My initial searches at Google only turned up projects from 3+ years ago. And I'm not really sure which method is the best. Thanks ...

iTunes COM interface - obtain song added to library?

This isn't about a specific language, since it is more about the iTunes COM interface. I have managed to add a file to the library with .AddFile(), but now that the file is there I'd like to read some details about it such as the artist, song, and album. Since the song doesn't automatically play, I can't really use CurrentTrack() to re...

SQL Server 2005 and iTunes Library

what's the easiest way to bulk load my iTunes library xml into an existing SQL Server database? ...

What software tools did Apple use to make the iTunes Store?

I've enjoyed using the iTunes Store but I'm curious on what it was developed on (PHP & MySQL, Something Custom?). ...

Access to iTunes Ratngs Data

We want to write a Windows/OS X app that sends podcast ratings info from an iPod and iTunes back to a server. Two questions: (1) Is there documentation for how ratings data are stored in iTunes, and (2) if a user has iTunes set to auto-delete programs he has heard, is there a way to capture the ratings data before it's gone? ...

How to programmatically rename movie and TV show files in an iTunes library, for XBMC compatibility?

I have a collection of movies and TV shows in iTunes, and I'd like to rename them to an XBMC compatible naming convention without breaking the links in iTunes. All the necessary metadata (season number, show name, episode number, etc) seems to be in an XML file that iTunes manages, and the episode name is the current file name. So progr...

Get a list of iTunes podcasts available?

Hi How can I get the RSS feed URL for the iTunes podcasts available? I want a feed which would list down all the podcasts present on iTunes. Is that possible? Thanks. ...

iTunes COM/AppleScript - podcast RSS

I need to get a list of the RSS subscriptions from iTunes. I'm using the COM interface that Apple provides for controlling iTunes, and have tried this both on Windows and Mac. e.g. tell application "iTunes" repeat with a_track in tracks of playlist "Podcasts" get artist of a_track get album of a_track get name of a_...

I'd like to scrape the iTunes top X RSS feed and insert into a dB...

Preferably I'd like to do so with some bash shell scripting, maybe some PHP or PERL and a MySQL db. Thoughts? ...

Using DAAP sharing across NAT

I have a Linksys WRT54G wireless router connected to a big LAN in my dorm. We regularly use DAAP (iTunes sharing) to play our own music at the different lounges and kitchens. This works fine when I connect my laptop directly to the LAN, but as soon as I access it through my router, I cannot see other shares, and they can't see mine. Prob...

How do I add a song to itunes using Applescript and make a vote for it?

Since iTunes 8.1 has iTunes DJ I want to be able to upload songs from one of my computers to another that runs iTunes 8.1, and add these to the Library on iTunes. After that, I want to make that song the next song in iTunes, but only if no other song has been "requested" more times through the Apple Remote application. ...

Grab most recently played iTunes song using Java

What is the easiest way to get the information about the last song played in iTunes into a Java program? I have looked at JACOB and iTunes COM but they seem like overkill. If that's the only way to go, could anyone provide a good example next to the first google result? A 'hack' method is acceptable as well! Thanks! ...

Where is documentation for the iTunes API on OS X?

I'm trying to find an API to control iTunes on OS X. I found the following: http://developer.apple.com/sdk/itunescomsdk.html I imagine on OS X, what I need is built in, but I have no idea where the API is documented? Thanks in advance for any help. ...