English 中文(简体)
Get list of podcast subscriptions and downloaded AppStore applications from iTunes
原标题:

So, I m trying to implement a solution to a problem that I posted on superuser.

What I m trying to do

I want to write a (Windows) application to synchronize podcast subscriptions in iTunes (and possibly iPhone/iPod touch apps, though I ll ignore them for now) between multiple computers that are using the same iTunes account.

How I m planning on doing it

My initial thought was to do the following:

1) Grab the list of all podcast subscriptions from iTunes on computer A
2) Do some synching, giving new podcast urls to a program on computer B
3) Subscribe to the new podcasts in iTunes with computer B

I think I could do all this by parsing the ITL file, which is where subscription information seem to be stored. I haven t been able to find any documentation for this, though.

Maybe I m going about this wrong and using the iTunes COM interface would be a decent way to grab the list of subscribed podcasts (step 1) and then subscribing to them (step 3). Is there a smarter way to go about doing this?

Summary

  1. Before I reinvent the wheel, is there already a solution for synching podcast subscriptions among multiple computers?
  2. What is the most appropriate method for grabbing a list of podcasts that iTunes is subscribed to?
  3. What is the most appropriate method of subscribing iTunes to new podcasts?



As a note, I e-mailed Apple s Developer Support with pretty much the same questions, but apparently asking questions about documentation/API doesn t count as technical support.

Thanks,

问题回答

On OS X there is no way to get iTunes list of podcasts. You can ask for podcast tracks (and kind of arrange them by album name), but iTunes will not tell you anything about the actual podcasts themselves (URLs, status, name etc.).

I have zero experience of iTunes on Windows, but I d be very surprised if the API were more comprehensive than the OS X one.





相关问题
How can i add a button to all windows explorer instances?

I am trying to add a button to one of the existing tool bars in any windows explorer instance. After much research i figured out that BHO (browser helper objects) are the best way to hook to ...

Hunting memory leaks

I m finding leaked heap blocks by using the following command in WinDbg !heap –l With each leaked heap block I get, I m running to following to get the stack trace. !heap -p -a leakedheapblock The ...

Why use CComBSTR instead of just passing a WCHAR*?

I m new to COM. What exactly is the advantage of replacing: L"String" with CComBSTR(L"String") I can see a changelist in the COM part of my .NET application where all strings are replaced in this ...

IThumbnailProvider and IInitializeWithItem

I am trying to develop an IThumbnailProvider for use in Windows 7. Since this particular thumbnail would also be dependant on some other files in the same directory, I need to use something other than ...

Getting a byte array from out of process C++ COM to C#

What s the best way to get a chunk of memory (i.e. void*) from a COM server to C#? We have been using an IStream (using CreateStreamOnHGlobal) and passing that back, which worked. However when we ...

COM Basic links

folks can you provide me the tutorial link or .pdf for learning basic COM?. i do google it.. still i recommend answers of stackoverflow so please pass me.. Thanks

热门标签