itunes

How would one implement Apple iTunes 'Genius' algorithm?

I've always wondered about how and what the best way to go about implementing the 'Genius' feature on iTunes. I could probably brute force it, but was just wondering if anyone had any insight. Thanks. ...

Fetch iTunes album artwork without iTunes running

In a Cocoa application, I'm looking for a solution to retrieve album artwork from iTunes without requiring iTunes itself to be launched and running in the background. The usual and perhaps only solution, Scripting Bridge, and inherently AppleScript, will launch iTunes prior to executing any commands. Album artwork is the only informati...

How do I fix my AppleScript to delete a selection of tracks in iTunes?

I've created the following AppleScript for deleting all the selected tracks: property okflag : false -- check if iTunes is running tell application "Finder" if (get name of every process) contains "iTunes" then set okflag to true end tell if okflag then tell application "iTunes" if selection is not {} then repeat wi...

iPhone: Writability of the Documents directory

Is there a way to write files to this directory remotely? I'm hoping it's possible to do via iTunes or whenever the iPhone is connected to a Mac/PC via USB. Could this be done with an iTunes plugin? If all else fails, is there an easy way to setup a WebDAV server on the iPhone? Thanks. ...

Genre of application in iTunes

Hi, I am installing my own app in iTunes, and found it to be unknown genre. Since my app is an News based Genre, i need to make is shown as a news genre instead of unknown Genre. But my app is not yet launched in App store. whether this is the cause or anything else? please suggest Any help would be appreciated. -Sathiya ...

How can I fetch information about the app/song/video etc. from iTunes Store?

I need to get an info about the app/song/video by item id from iTunes Store. I've found this: http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=324021811&mt=8 But it doesn't work with apps. Is there any public API? UPD: I can get info using this link: http://ax.phobos.apple.com.edgesuite.net/...

Lazy module variables--can it be done?

I'm trying to find a way to lazily load a module-level variable. Specifically, I've written a tiny Python library to talk to iTunes, and I want to have a DOWNLOAD_FOLDER_PATH module variable. Unfortunately, iTunes won't tell you where its download folder is, so I've written a function that grabs the filepath of a few podcast tracks and ...

php JSON management: get a value from a decoded JSON object

I'm building a script to verify a transaction receipt with Apple's itunesconnect site (iphone dev) and I can't figure out where's the error in my code. I want to get the "status" value. Please help me to find what am I doing wrong: <?php include("config.php"); $receipt = json_encode(array("receipt-data" => $_GET["receipt"]));...

How to decrypt an encrypted Apple iTunes iPhone backup?

I've been asked by a number of unfortunate iPhone users to help them restore data from their iTunes backups. This is easy when they are unencrypted, but not when they are encrypted, whether or not the password is known. As such, I'm trying to figure out the encryption scheme used on mddata and mdinfo files when encrypted. I have no prob...

Creediting points to an iTunes account?

A potential customer of mine wants to build an app for the iPhone, which will effectively "reward" the user with points to buy songs at the iTunes Store. Does anyone know if this is possible? If so, could you point out where I might look for how to do so? Thanks... ...

iPhone SDK connecting to iTunes

Anybody know if there's a way to access iTunes from an iphone native program? Is there an sdk for that? i.e. - is there a way I can write a native iphone program and put in a 'buy' button that will bring up iTunes and go to some artist's song? Or better yet, just buy it right away? ...

How Does Mac OS X know to Display .app folders as files?

I distributed an iPhone application to some testers who are using Windows. On their machines, the application that I built (in the form of an .app bundle) appeared as a directory. That makes sense because a .app bundle is actually a directory. What mechanism does Mac OS X use to display these bundles as files within Finder? Is there ...

iTunes does not show podcast image

I cannot seem to get iTunes to display the image for my podcast. To be precise, iTunes doesn't even try to download the image for my podcast. Apache logs show the podcast and first audio file being downloaded by iTunes, but it is completely ignoring the <image> and <itunes:image> sections (shown here): <image> <url><?php echo htmlen...

iPhone Application Enterprise Distribution Process

I have a client that wises to distribute their iphone application to only their employees and not on the iTunes App Store. To me this sounds like a situation for Enterprise Distribution. Could someone explain to me in as much detail as possible this process. I know we will need to enroll as an Enterprise Distribution Member before a...

How to install an application to iPhone without iTunes?

We want to move an application to iPhone, without iTunes. There are two questions: 1) how does the application which moves other applications to iPhone connect to iPhone? 2) if we use iTunes to do that, which method implement connecting to iPhone in iTunes's API. ...

Have iTunes inform me when I programmatically sync iphone using COM

I've written an application that synchronizes calendar from Lotus Notes to the iphone (using MS Outlook as conduit) and I want to tell iTunes to push the changes onto the iphone. I can do this just fine using the COM interface (IITIpodSource.UpdateIpod) but the problem is that this method return immediately when it starts the synchroniz...

Detecting if a COM object is registered or instantiated (iTunes)

I'm working with the iTunes COM API on Windows. I'd like to manage the enormous delay that occurs when instantiating the iTunes object (which has to launch iTunes itself). I was hoping there was a way to determine the following: if a given CLSID is registered on the system (programatically) if an instance of a given CLSID is already cr...

accessing iTunes Lyrics data in Java on Windows

I am writing a short Java program that downloads the lyrics from a website. The only problem is that I don't know how to access the lyrics tab in the mp3 file. Any help would be appreciated ...

Adding song to itunes with C# sdk/api

I'm looking for an SDK or API (c#) that would allow me to add songs to my itunes library. If anybody knows of one, that would be a big help. ...

Parse Album Art from xml

I am trying to create a music player that reads an rss feed. The xml elements include itunes namespace tags. I am trying to display the album art from the feed. I am able to fetch the contents of the itunes::image tag but it displays on stage as html like so "(http://www.mysite.com/images/multimedia/podcasts/60x60%5Fpodrods.jpg)". How do...