ITunes is reverting filenames on playback after i rename them

Hello all, in order to clarify exactly what's happening and to reduce incorrect solutions being suggested i have to go in detail, sorry for the length.
My issue is similar to what is described here Automatically Renaming Songs and here Itunes renames files when they're played. The annoying thing is that both those threads are locked and were never resolved anyhow.
I am using iTunes 12.0.1.26 in OSX Yosemite. iTunes uses 2 files to store database info "iTunes Library.itl" and "iTunes Library.xml" both act as backups to the other should either be corrupted.
My files are not being renamed because iTunes is grabbing info from the web, or any of the its checkboxes have permitted it to change files etc. It is changing the files using the information stored in "iTunes Library.itl" or "iTunes Library.xml" once it realises there are inconsistencies against the data within either of the those files.
Now i have tried to rename all my tracks from the filename using a script on Doug's Scripts called "File Rename" you can get it here (along with hundreds of other excellent scripts in case you didnt know  >> http://dougscripts.com/itunes/scripts/ss.php?sp=filerenamer) which grabs a file and renames it in whichever format you specify using tags within iTunes (in my case [song] - [artist].extension) from its root location. Now the script works fine and renames the files. The issue is whenever i playback a track, it defaults the filename back to its original name held in either or the aforementioned files above.
I have asked my own programmer to even try and hack iTunes  and write me a custom script, which he did, and it worked.. however yet again, iTunes insists on renaming all the files back on playback or application relaunch. My programmer also noted that even after corrupting the iTunesLibrary.itl (which you must do in order to force iTunes to use info in the iTunesLibrary.xml file where his script actually affects the information) iTunes automatically rechecks its own tickboxes and begins renaming the files based on whichever sources it finds available (web, iTuneslibrary.itl etc).
There are reasons why i need to change each of my tracks filenames that i don't want to go into here, so please don't suggest otherwise. I also need to make the changes via iTunes in order to keep all the tags, ratings and comments that i have built up over the years and ensure the newly named files are linked to the correct record in the database file so i am kind of at the mercy of iTunes here.
If anyone know of a way to stop iTunes from doing this annoying rename then please let me know. It will be a dream for me to have consolidated all my songs in the format stated above and in organised from root level so that i can easily find and play them with or without the need of iTunes once i export my whole library to 1TB WD Passport drive in order to play at some professional gigs (i DJ in clubs etc.).
Many thanks in advanced for reading and any help you can offer!

The threads are locked because they are very old (date from 2009).  Anything in them would have been discussed under the context of the iTunes version at the time.
The .itl is not a backup for the .xml, nor the other way around.  The .xml is in a format that can be used by other applications but is only about 90% the content information of the .itl which is the primary library file.
I think despite what you say the files are being changed from the web. Something in purchased media (I am pretty sure this has only happened with purchased media) is periodically checking back with the iTunes Store and resetting the tags in the iTunes library file but not in the actual media files (metadata are stored in both).  I haven't seen a truly systematic diagnosis of the issue (I use an old iTunes and have no iTunes account so I can't test anything myself).  There are temporary workarounds but tags will still revert after a time.  I don't think this tag reverting has anything to do with checkboxes in preferences.  It does it because of the source of the file..
Something to try (post by turingtest2) - https://discussions.apple.com/message/26454072#26454072
Suggestion from ed2345 - https://discussions.apple.com/message/27295073#27295073
If the above doesn't work:
2014 discussion about edited tags for Store purchases reverting to originals - https://discussions.apple.com/message/26077896#26077896 - edited tags are still present in the media file but revert to the originals in the iTunes library file.  Workaround is to refresh tags so media file tags are re-read and used in library file.
https://discussions.apple.com/message/26193185#26193185
https://discussions.apple.com/message/26335620#26335620 - user ended up rebuilding iTunes library from scratch
Send feedback to Apple about this so they know it is an issue they need to investigate: 
http://www.apple.com/feedback/itunesapp.html
Don't expect an immediate solution (and don't be too optimistic since this was already happening before iTunes 12 was released and no cure appeared in that release) but it adds one more voice to make them aware of the problem and maybe they will do something about it.

Similar Messages

  • HT1349 Itunes closed when the two movies I purchased were being downloaded. When I reopened Itunes, my money remained the same after I purchased them, but the movies were gone. How do I get them back?

    Itunes closed when the two movies I purchased were being downloaded. When I reopened Itunes, my money remained the same after I purchased them, but the movies were gone. How do I get them back without having to rebuy them?

    If they did not download, then clikc Store>Check for Available Downloads

  • Problem locating photos in LR5 after batch renaming them

    Hello
    I imported and edited several hundred photos. Then, I batch  renamed several dozen photos using Bulk Rename utility. Naturally, LR showed an exclamation mark icon in the upper right corner of each of the missing(renamed) pics. After clicking on the exclamation mark I choose "Locate" and manually located the photo. On the bottom I checked the "find nearby photos" checkbox. LR located the missing photo but doesn't see the other renamed photos. I think the "find nearby photos" is only useful when you move photos to a different folder, not when you rename them. Any solutions for my situation?

    Yeah, I guess it's the only way. Thank you. This is silly, but for some reason I thought I wasn't able to batch rename in LR

  • ITunes Match always reverts my ID3 Tags after i fixed them

    I am Running 11.1.3 iTunes on 10.9 OSX. I'm to trying to fix my ID3 Tags and every time i do, iTunes Match change them back to the old ones after sometimes 5 minutes, 10 minutes and sometimes 20 minutes. I can even sometime see how single tracks are reverting my changes. Also i'm not able to delete some tracks from the cloud, they always reappear again. I try to find a solution, but i only found one thread which sounded like the same problem i have. But i can confirm it does not have anything to do with the Store > Update iTunes Match Option. The Changes also reverted when i just restart iTunes or over time. The odd thing is when i do my changes, i can find the tracks on my iPhone / iPad till they automatically revert. It's quite frustrating that they is no option to 'override' the tags in the cloud or is there ?

    It's starting to look like the problem was the music actually stored on the iPad.  Edits made in iTunes would propagate via iCloud to the iPad and affect e.g. Album cover, even album name or artist name.  But not grouping.  Syncing the iPad would break things in iTunes again, often by duplicating tracks.
    I deleted everything off the iPad, and the cloud, and iTunes, re-imported, fixed the problems again, restarted iTunes Match -and the cloud based collection on the iPad is pretty much fixed. 
    I needed to re-acquire my iPad purchases with the iPad.  iTunes can't see them in the store even though it is the same appleId (!).
    My classical music collection is trickier.  Suppliers of MP3 downloads appear to use the 'artist' tag inconsistently for composer,conductor,orchestra, soloist etc.  lots of CDs have two separate performances to make up space (e.g Christmas music by Vaughn Williams & Hodie).   iTunes seems to be designed for nothing but pop music!  Although if you use 'composer' tags a 'composer' sort appears on the iPad.

  • Photos disappeared after renaming them

    My photos on photobooth disappeared after I renamed them. I clicked on "reveal in finder" and after I renamed them, I could no longer find them. Any idea where I should look?

    You can always restore them from your iCloud or iTunes backup ...
    Back up and Restore your iOS Device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    iTunes: About iOS Backups
    http://support.apple.com/kb/ht4946

  • IPod touch reverts to factory settings after every update.

    I bought my iPod touch in March, and have never had any problems. Then about two months ago, it wiped itself after a software update (through iTunes) and reverted back to original factory settings (turn it on, get starter screen telling you to connect iPod, everything is gone, etc). I figured it was a one-time glitch and put everything back on it. However, it has happened three times now, and every time, it happens right after an update. I back it up every time I plug it into my computer, but now, it won't back up, and it won't restore from a backup. It just gives me error messages, or the only available option is system restore (factory reset). I'm getting really frustrated with it, because I have to set up every single thing over and over again.
    Should I just try to send it in to replace/fix it, since I still have the one-year warranty? Or is there a way to fix this myself?

    This doesn't solve the fact that your iPod goes back to factory settings, but have you tried Backing it up onto iCloud? Go to Settings > iCloud > Storage & Backup > (takes a few seconds to appear) Backup. You do have to be connected to internet to do this. All you have to do is to remember to do this before you update.

  • ITunes downloaded videos have choppy playback

    I've noticed over the last few days that any music videos I've bought off the iTunes store have had terrible playback. The audio is fine, but the video lags and goes all fuzzy after about thirty seconds. The same thing happens on my Apple TV and iPad, but I've yet to check my iPhone. The lagging and distortion happens in the exact same place in the video each time I play it. Does anyone know the reason for this?

    Hi, I don't know the reason why this is happening but I have the same issue with music videos. I conducted an experiment on another machine and after doing a fresh install and fresh download from the itunes store the experimental computer played the music videos without any issues so I know it is a setting on my Mac.  I will let you know if I find a solution.

  • I have a new Dell computer running windows 7 and am unable to download itunes. The message I recieve after trying to run the download is: This installation package could not be opened. Verify that the package exists and that you can access it.   Any ideas

    I have a new Dell computer running windows 7 and am unable to download itunes. The message I recieve after trying to run the download is: This installation package could not be opened. Verify that the package exists and that you can access it.   Any ideas?

    Hello tcampbell1549,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Have a nice day,
    Mario

  • Choppy iPhone video playback after upgrading to 10.5 + QuickTime 7.6.9

    Hi,
    I recently upgraded from 10.4 to 10.5 on my Powerbook G4. I used the "Archive and Install" option. After updating all software to the latest (10.5.8 OSX + 7.6.9 QuickTime), I noticed that the playback of the videos shot with my iPhone 3GS becomes extremely choppy (jumps combined with slow-mo). Based on the what's in "Previous System", I was using QT 7.6.4 with OS 10.4, which didn't have this playback issue.
    I found several posts related to similar issues in the forum, and tried the following suggestions without success:
    (1) removing all third party plug-ins from /Library/QuickTime;
    (2) repair permissions with Disk Utility;
    (3) installing Perian;
    None of the above made a difference. Just for the heck of it, I tried "su" in Terminal and moved "QuickTimeH264.component" to "QuickTimeH264.component.bkp". Surprisingly this made the playback a lot better (all the iPhone clips are H264+ACC). So I'm guessing somehow the QT H264 component is not working properly for me, but what is QT using instead to play those videos after I renamed the component? It shouldn't be any of the third-party plug-ins since I tried removing all the third-party stuff at the same time, and the videos still played fine. I'd like to get to the bottom of this as I'm a little uneasy about re-naming the H264 component.
    I hope someone more QT savvy can diagnose the problem based on what I've tried and make new suggestions. Granted my machine is a bit long in the tooth but it's still decently powered (1.67 GHz, 1.5 GB RAM, 320GB HDD) and the videos played fine before the "upgrade".
    Is it worth doing a clean re-install of 10.5 as opposed to the "archive and install"? It's a pain obviously to have to re-install all the apps but I'm willing to try it if it could reasonably make a difference.
    Thanks in advance!

    The problem is that you moved your Mail application to a sub-folder in your Applications folder, and you are running an older copy of Mail.
    From your crash report it shows your path is to a different folder then the default folder:
    Path: /Applications/Mail Apps/Mail.app/Contents/MacOS/Mail
    It also shows that you are not running the correct version of Mail (should be version 3.5 (930.3):
    Version: 3.5 (929.4)
    Check out this article:
    http://support.apple.com/kb/TS2486
    The short of it is that you may have two copies of Mail on your system. When 10.5.6 installed, it may not have updated Mail correctly. Look to see if you have another copy of Mail in your Applications folder, and if so run it and check it's version from the 'About Mail' menu option, it should be 3.5 (930.0). My recommendation is to remove any copy of mail that is not in /Applications (if there is no version of Mail in Applications, move the one you have in Mail Apps back) and run the Mail Update referenced in the article above.

  • I had to upload itunes on a new computer and after the iphone was updated my music was not on my phone and i don't see any music on my itunes any suggestions

    I had to upload itunes on a new computer and after the iphone was updated my music was not on my phone and i don't see any music on my itunes any suggestions

    iTunes- How to move your music to a new computer
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • How can I move my iTunes movies from my computer to an external hard drive? After I copy them to the drive, do I just delete them from my computer? How will I be able to watch them again?

    Hi,
    I have a MacBook Air (July 2013) with the latest Mavericks OS X. I also have the lastest version of iTunes.
    My computer has very little memory left, so I wanted to free some up. When I looked, movies were taking up a considerable amount of space. I want to move them from my computer, but still be able to watch them if I want to later. I haven't purchased an external drive yet, because I didn't know what size to get. I also have a lot of Photoshop files that are taking up a lot of memory, so I might put some of those on too. Would you recommend a 1 TB one or bigger?
    Can you take me through the exact process of moving my iTunes movies to the external drive? I understand where to find the files (My Name<Music<iTunes Media<Movies), but am stuck from there. Do I simply drag them to the external drive and then delete them? Will this delete them from my iTunes library? How will I go about watching them again? I assumed that I would just plug the external hard drive in, click in the movie and watch. Is it this simple? I only want to move my movies, otherwise I would follow tutorials for backing up the library. Once you back up the movies, can you delete them from your computer?
    Thanks,
    Molly

    iTunes does not have provision for automatically storing one kind of media on a separate drive, so you have some basic decisions to make first.  Do you want these movies to still appear in your iTunes library, or are you content with browsing filenames on a drive in Finder when you want to look for one?  The second's the easiest thing because then you don't have to have an external drive permanently turned on and attached to your computer (wired or wireless).  To do that you literelly only need to drag your movies folder to an archive drive and delete movies from iTunes.  To watch them again you can add it back to iTunes while holding down the option key so the movie is used from its location on the external drive.
    There's ways to move the movies to an external drive while keeping them in iTunes but the external drive iwll always have to be turned on and connected to the computer or you will see a bunch of broken link exclamation marks.
    Realize what you are talking about is not "backup".  Backup (which you should do) is putting a second or more copy of items on external drives for the day when your internal drive fails and everything on it is lost, inclduing all your home photos and perhaps things that have been pulled from the iTunes Store and can no longer be re-downloaded.

  • ITunes moves music up one level after play

    Hi All:
    iTunes recently started moving played music up a folder level once played.  I have iTunes 10.4.1 on a Windows 7 machine, and it is set to organize my music.
    Normally, music is kept in the subfolder Music in my iTunes library folder, but the MP3 and associated artist/album folder moved to the iTunes directory (above the Music subfolder) after a single play of a given song.  Why is this occuring, and can it be stopped.  Any help is much appreciated.

    Here are typical layouts for the iTunes folders:
    If you have upgraded from version 8 (or earlier) to iTunes 9 (or later) at some point, then your media folder (everything inside the red outline) may still be called iTunes Music instead of iTunes Media. The extra Music folder inside the media folder is used if you have allowed iTunes to Upgrade to iTunes Media Organization (iTunes 9) or used File > Library > Organize Library > Reorganize files in the folder "<Media Folder>" (iTunes 10). Depending on your choices for Keep iTunes Media folder organized and Copy files to iTunes Media folder when adding to library plus a little bug in which one build changed the name of the file storing the choice of layout it is quite easy for some of your files to be organized according to one layout and some the other.
    Assuming you're happy letting iTunes organize your files the following steps should tidy things up (should it be necessary):
    1. Select File > Library > Organize Library... > Tick Reorganize files in the folder "<Media Folder>" and click OK. Skip if this option is greyed out (already upgraded) or you prefer the older layout. Also make sure <Media Folder> is pointed to the correct place, e.g. iTunes Media or iTunes Music, not iTunes.
    2. Select File > Library > Organize Library... > Tick Consolidate files and click OK. This will bring any files currently organised outside the designated media folder into it.   NB This will create duplicate copies of any file that needs to be consolidated, and you will need to manually clean up afterwards. If space is at a premium try my scripts Unconsolidated to find out what would need moving and ConsolidatebyMoving to move rather than copy it.
    3. Select Edit > Preferences > Advanced tab, uncheck Keep iTunes Media folder organized and click OK.
    4. Select Edit > Preferences > Advanced tab, check Keep iTunes Media folder organized and click OK. This triggers iTunes into reorganizing everything according to your preferences.
    5. (Optional) Close iTunes, rename the folder iTunes Music as iTunes Media then restart iTunes. Check under Edit > Preferences > Advanced tab that the location has automatically updated. If you can't access the media for any reason just undo the folder rename.
    6. (Optional - Windows only) If Windows Media Player has ever had access to your files it may have liberally scattered folder artwork files about which iTunes won't tidy up when it reorganizes things, thus leaving behind a heap of folders with artwork and no media. I've written a script for cleaning this mess up called CleanDeadArt.
    PS If you really prefer the older layout, but it is already in the new one then edit the file called .iTunes Preferences.plist in your media folder and change the integer from 1 to 0 before doing step 3.
    If I read your post correctly it sounds as if things are a little mixed up already, with the media folder preference pointed at iTunes instead of an iTunes Music or iTunes Media folder inside it. The music popping up a level suggests your library was in the new format but now thinks it should be in the old one and is "correcting" tracks as they are played. If you can confirm the exact arrangement of media files and media folders I can probably suggest a way to restore order things without duplicating all of your files. If you simply tell iTunes to start using iTunes/iTunes Media as the media folder then your existing content will be unconsolidated as far as iTunes is concerned.
    tt2

  • I was trying to enter a new p/w for itunes (using the tv screen). After several mistakes, i now get an "unable to sign in" message. What do i need to do?

    I was trying to enter a revised p/w in itunes via the tv screen. After several keystroke mistakes, i got a message "unable to sign in". How do I get passed this to get the apple tv accessible?
    Maddy Girl 2

    May mean you are locked out of the account. Contact iTunes.

  • HT4623 Hi,        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be ac

    Hi,
        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be activated because the activation server is temporarily unavailable,try connecting your iphone to itunes to activate it,or try again in a couple of minutes.i tried many times but it again shows the same message,
    after installation,when i connect my iphone to itunes it shows a message that we are unable to activate your iphone at this time please try again or contact customer care.please reply me urgently to resolve this problem.

    That is usually a symptom thet the phone was hacked or jailbroken. Was it?

  • ITunes not recognizing original IPod touch after new one installed

    I tried to set up new IPod touch but itunes wouldn't recognize it. Downloaded latest version of itunes. Was able to set up new IPod touch but now old touch not being recognized by itunes. Went through the troubleshooting guide with no positive results. Old (unreconized) touch is fully charged. Restarted computer. Restarted itunes. Changes usb ports. Nothing working. Any ideas?

    Hi Jim,
    Thank you for your reply to my posting about iTunes not recognizing my iPod Touch after upgrading to Leopard.
    iPods & Finder. Some other postings incorrectly lead me to believe that the iPod would show up in the "Finder". Thanks for setting me straight on this.
    iTunes Not Recognizing iPod Touch. Prior to your posting, I had already read the article you referenced (to remove and reinstall the Apple Mobile Device Service per article "http://support.apple.com/kb/HT1747").
    Prior to your posting, I had also read other articles in various "Apple Discussions" (forums) that suggested this recognition problem could be resolved by uninstalling/re-installing iTunes 8.0.2. Some implied that you could just re-install iTunes 8.0.2 right over the currently installed one without bothering to uninstall it.
    Based on those postings, I "gambled" last night and simply downloaded and re-installed iTunes 8.0.2 (without uninstalling it first). I noticed during the installation that the Apple Mobile Device agent you referenced was also re-installed. Well, my gamble paid off! After the installation (and a reboot?), iTunes onces again RECOGNIZED my iPod Touch.

Maybe you are looking for

  • Notes snapping in the wrong position?

    I am experiencing an annoying problem in Garage band 11 (6.0.4). I'm writing a music placing notes along the track and using software instruments. The problem is that after a while, the notes start to fall out of place and play on the wrong tempos. e

  • Is it possible to defne a function inside a component ?

    I'd want to can to define a function inside a simple component, for example a JtextArea I don't know how to do this. May I do it trought a propertychange event ?, but... I want to use my custom property.... (for example beginning = 15 ) ( another way

  • Solaris 10 - Installing Errors - Dell Dimension 4100

    Hello All, I am tring to install Solaris 10 on a Dell Dimension 4100 system. I am getting an error, then the system reboots. I am able to boot the Solaris 10 (03/05) DVD, I downloaded. I get prompted : "Type of Installation you want to perform" No ma

  • Alsa upgrade: sound only from one app [Solved]

    Hello, after upgrade to alsa 1.0.21 only one application can play sound. E.g. if MPD (using ALSA output) plays then any ather application (mplayer for example) cannot. Here's mplayer output: [AO OSS] audio_setup: Can't open audio device /dev/dsp: Dev

  • HP Pavilion dv7 Notebook PC faulty cooling fan needs replacement.

    My cooling fan recently started becoming very loud on it's lowest speeds and I suspect I will need to replace it soon before it goes out completely. My question is where can I find replacement cooling fans for this product? The problem is I do not kn