Do PlayFile and AddFile still exist in the iTunes COM interface?

I'm playing around with the iTunes COM SDK on Windows. I'd like to come up with a script that causes iTunes to play a video file, and either the PlayFile (associated with the liTunes interface) or AddFile (IITUserPlaylist) methods ought to do the trick -- at least in theory.
Unfortunately, neither of them work. They're both still apparently valid method calls, since my Java -> COM bridge barfs when I feed it invalid method names. But neither of them actually does anything. By way of contrast, OpenURL and AddURL both work perfectly -- and they'd be viable workarounds, save that they both assume the input file is streaming audio and store it in the library as such.
Have these methods been deprecated? If so, what have they been replaced with? Or is it more likely that I'm running afoul of one gotcha or another?
Right now, the only workaround I can think of is to write code that edits "iTunes Music Library.xml" directly, and I'd rather avoid that for what should be bloody obvious reasons.
Thanks in advance for any insight anyone has to offer on this.

In general:
- The best way to check if files are in a library is to drag the whole media folder to the library.  If something was missed it will be added.  If it is in the library is won't be added a second time.
- If you have a second copy of a file and iTunes does not currently list that specific file in its database then even if it is identical to one already in the database it will add it a second time.  So if you have file xyz on the internal drive and the external drive and add them to iTunes you will end up with two entries for the same thing in iTunes because you really do have to copies of the files.  While this can happen with two copies on a single drive, it will almost definitely be the case when you have a copy of a file on two drives because iTunes really sees them as two different things.
-Unless you know how iTunes works, avoid moving files yourself.  Let the consolidate feature do all the file moving.  Manually moving files can really mess up iTunes unless you know what you are doing and have iTunes set to not try to do it itself.
- There's no clean and easy way to delete duplicates.  The best thing is to change practice so you don't create them.   Here are  references:
How to find and remove duplicate items in your iTunes library - http://support.apple.com/kb/HT2905
http://dougscripts.com/itunes/itinfo/dupin.php (commercial)
Posts by turingtest2 about different types of duplicates and techniques- https://discussions.apple.com/thread/3555601 and https://discussions.apple.com/message/16042406 (Note: The DeDuper script is for Windows)
http://www.hardcoded.net/dupeguru_me/

Similar Messages

  • I copied message to SMS field and sent. After that the message still exist all the time in the SMS field. When I open the application I must always first delete the "saved"  ones before I write the new one. What to do to finally/definitely delete the save

    I copied message to SMS field and sent. After that the message still exist all the time in the SMS field. When I open the application I must always first delete the “saved”  ones before I write the new one. What to do to finally/definitely delete the save message?

    sorry it's ios6

  • I import photos into lightroom and they appear just fine and then after 'developing' some disappear from the library though they still exist in the previous import window

    I import photos into lightroom and they appear just fine and then after 'developing' some disappear from the library though they still exist in the previous import window

    Running MacOS 10.9.4 16 Gb RAM Lightroom v5.2

  • Urgent Entries for application 11 still exist in the extraction queue

    Hi All,
    In LBWE when i am trying to mainting structure its not allowing to add fields to ExtractStrucutre.
    Following is the error iam getting.
    Entries for application 11 still exist in the extraction queue ->
    I have set the Update to inactive and trying to add fields to Extract strucutre .
    Morover,
    I have already deleted setuptable entries for this application Component 11 and i checked in rsa3, no records are there.
    Regards,
    C.V.
    Message was edited by: P.C.V.

    PCV,
    Here are the steps. Make sure you do them when there is no posting going on.
    1) Using transaction SA38, execute program RMBWV311. This will send the data from the extraction queue to delta queue for application 11.
    2) Run your 2lis_11_***** info packages to bring the delta records into BW. Make sure to run these info packages twice because the delta is cleared on R/3 only if you run them twice. It is designed this way to accomodate the delta repetition functionality.
    Just to make sure, verify that you don't see any data in RSA7, LBWQ and if you use RSA3, the system should not extract any data.
    You should be able to change the extract structure now.
    Abdul

  • I could not find the "burn tool" in Photoshop 7, so I purchased Photoshop Elements 12, and I still cannot find the "burn tool". Where is it?

    I could not find the "burn tool" in Photoshop 7, so I purchased Photoshop Elements 12, and I still cannot find the "burn tool".
    Does the "burn tool" still exist? If so, where is it???
    Thanks

    Well, as I always say... If I want things done right, I have to do them myself.
    I found the solution on the Internet... One must place your pointer on the icon that is presently showing and then press the letter "o" key to toggle between the Burn, Dodge, and Sponge tools.

  • ERROR : Entries for application 13 still exist in the extraction queue -

    Hi everybody,
    While modifying extractor (LO  Cokpit) I am getting this error.. I have deleted data through t.code LBWQ & LBWG still I am getting this ERROR,
    " Entries for application 13 still exist in the extraction queue -> "
    and it is givig the Diagnosis as below
    Diagnosis
    You are not allowed to change the extract structure MC13VD0ITM forapplication 13. This is because unprocessed entries are still presentin an extraction queue of application 13 for at least one client.
    If an extraction structure is changed for which there are still openentries in an extraction queue, these entries can no longer be read andthe collective update terminates.
    Please help me out..it is urgent...
    Thanks in advance

    Hi Sunita,
    Do one things, to fix this problem, go to the BW for that info package, it seems
    its already exists..if yes..delete the initialization request from the package
    and come back to R/3  try to delete the application 13 and it will allow to make
    the changes to the struc.
    Hope it helps..
    Need further help revert..
    Assign points if useful..
    Cheers,
    Pattan.

  • BT friends and family still exist?

    Spoiler (Highlight to read)
    Does BT friends and family still exist for landlines?
    Does BT friends and family still exist for landlines?
    Spoiler (Highlight to read)
    I want to add a number I use frequently and cannot find it on the BT website.
    I want to add a number I use frequently and cannot find it on the BT website.
    Spoiler (Highlight to read)
    If it still exists can you please tell me how to find this feature.
    If it still exists can you please tell me how to find this feature.

    Hi and welcome.
    Friends and family no longer exsists
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • Files still exist after the copying is disrupted

    I have a problem when the large file copy from the laptop to the external USB HDD or NAS (via CIFS share). When the copy is disrupted (either the network is down or the power outrage to my external HDD), the file still exist in the folder but cannot be
    read or open. The corrupted file is still showing full size of the file. How can I avoid this?

    Hi,
    If you copy large files from the laptop to the external USB HDD or NAS, when the copy is disrupted, the files could be corrupted and we unable to read the file's contents. In general, your need to delete the file and copy the file again.
    In additional, you could try to use diskpart to repair the disk to recover the files.
    DiskPart Commands
    http://technet.microsoft.com/en-us/library/cc770877%28v=ws.10%29.aspx
    Best Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error Message: 'Distribution list still exists in the trash'

    HI All
    Please help us to provide the necessary solution as per the below query.
    1. Which SAP transaction or program can I run to find information on when & what Distribution Lists have been deleted and by whom?
    2. we are trying to recreate the same distribution list again  by using transaction code S023, we are unable to create the same distribution, we are getting the below error message.
    Error Message: 'Distribution list still exists in the trash'
    Regards

    SAp inbox

  • My Iphone will not let me download apps because it says my apple id is disabled, I have changed my password four times and it still is saying the same thing. What do I do now?

    My Iphone will not let me download apps because it says my apple id is disabled, I have changed my password four times and it still is saying the same thing. What do I do now?

    Contact iTunes to re-enable your account at expresslane.apple.com
    You can reach them by chat or email.

  • Can I create a new album in the photos then delete  the photo fro the camera roll and it still stay in the album if so I do I do this?

    Can I create a new album and moved the pictures out of the camera roll into it then delete the pictures from camera roll and they still be in the aalbum if so how do I do this?

    Hey Nyanza,
    Clean out your Camera Roll the same way you'd clean out your still camera: sync to your computer. iTunes will move the photos to iPhoto (Mac) and give you the option of deleting them from Camera Roll. Do so. You can sync them back on once they are organized in iPhoto. Do you really need 3000 images?
    If you are on a PC, it's a little more difficult as there is no photo app on the PC to make it easy. Save the pictures to My Pictures like you would your regular still camera. Organize into albums. Sync the albums back on via iTunes.

  • Mail returns to 'main menu'.  My mail worked for over a year - now when i enter mail it returns to the 'mail menu' immediately.  I disconnected wireless connection and it still returns to the main menu immediately. HELP!

    Mail returns to 'main menu/desktop'.  My mail worked for over a year - now when i enter mail it returns to the 'mail menu' immediately.  I disconnected wireless connection and it still returns to the main menu immediately. PLEASE HELP!

    - Have you tried resetting your iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Can you access the mail account(s) on another device and look for a problem email that may be causing the problem
    - You could try deleting account(s) and recreating them

  • Tried to restore the phone in itunes but it says error 21 and is still stuck on the apple loading page

    tried to restore the phone in itunes but it says error 21 and is still stuck on the apple loading page
    anyone got a clue how to un freeze it ?

    See > Check for hardware issues
    Related errors: 1, 3, 10-47, 1002, 1011, 1012, 1014, 1000-1020, 1669.
    Here >  http://support.apple.com/kb/TS3694#hardware

  • HT1420 When I try to play an itunes purchased movie it says I have to authorize this computer. When I put in my log in information it says this computer is already authorized and will still not play the move. I have tried to deauthorize and reauthorize th

    When I try to play an itunes purchased movie it says I have to authorize this computer. When I put in my log in information it says this computer is already authorized and will still not play the move. I have tried to deauthorize and reauthorize this computer, delete and reinstall itunes and Quicktime and nothing works; the purchased movies still will not play

    I'm having the same problem on my new iMac.  First it tells me it's not authorized to play the songs, then when I enter my password, it tells me it's already authorized, but still won't play them.  I tried deleting a song and going to the store to redownload it and got charged for it!  I've got hundreds of songs, so that's not going to be an option.
    In addition, I have quite a few songs from a very old Apple ID, one I forgot I even had, I have no idea what the password was and no way to have the system send me a new password because I no longer have access to that email account.
    The Mac I just "retired" could play all the songs in my catalog just fine.  This new one won't play the majority of them.
    Help!

  • HT4623 after updating my iphone 3gs from os 4 to os 5.1.1, it left with activating the phone but i've been trying since and is still not activating, the notification given is ''activition server temporarly unavilable". can somebody help me out?

    after updating my iphone 3gs from os 4 to os 5.1.1, it left with activating the phone but i've been trying since and is still not activating, the notification given is ''activition server temporarly unavilable". can somebody help me out?

    First use JPanel not Panel.
    Panel panels[]=new Panel[4];becomes
    JPanel panels[]=new JPanel[4];Then refactor your code so that you use arrays correctly:
    panels=new Panel();
    panels.setLayout(new FlowLayout(FlowLayout.LEFT));becomes
    panels=new JPanel();
    panels[i].setLayout(new FlowLayout(FlowLayout.LEFT));
    I did the above changes to your code and it worked fine.
    Dave

Maybe you are looking for

  • Xorg crash on radeon

    Hello, so I posted this issue on reddit already, but now that I was able to register here I thought I would post it: So for a while now my Xorg occasionally crashes. The problem is apparently the gpu driver, because it only occasionally happens when

  • Cannot install PFM font file in Windows 7

    Hi, I am not able to install a PFM font file within the Windows 7 font directory.. I have tried by right clicking on the file and 'dragging and dropping' the file, either way I receive an error message indicating that the "file does not appear to be

  • Final Cut Pro not under "Purchases"

    I bought Final Cut Pro this summer and I want to move the app onto my new computer, but when I go in the App Store it does not show up under "Purchases." I already deleted FCP off my old computer so I'm stuck with nothing. i checked other posts but n

  • CSXSRISR not opening SR when doing Find Service Request.

    We recently upgraded from 11.5.10.2 to 12.1.3 this was tested and was functioning correctly, however this morning this issue began. Under Service --> Find Service Request You can search for the Service Request that you want to open, the results retur

  • HP Photosmart 6180 Wireless Scanning Problems Leopard

    Aaaarrrgghhhhh, I feel like pulling my hair out! I have the above mentioned all in one HP device and since upgrading to leopard i'm having countless problems scanning. I'm using the latest HP driver (ver 9.7.1) but the HP Photosmart Studio keeps cras