Previous 1 2 3 4 5 Next 67 Replies Latest reply: Apr 7, 2014 11:32 AM by 9mario9 Go to original post
  • turingtest2 Level 9 (68,658 points)

    I should have numbered the steps above so it would be easier to see how far you got... Were you able to the clear away the empty folders and get iTunes connected to the library file located at X:\iTunes\iTunes Library.itl ?

     

    tt2

  • 9mario9 Level 1 (0 points)

    No, I wasn't.

    As I mentioned before, re-naming any directories or re-locating them within iTunes or outside at any stage only results in the tracks not being able to find their paths....

    Don't worry about numbering the steps as I clearly understood the whole of your instruction.

    Creating new iTunes directories and replacing the original folders and files just DOESN'T work.

    To keep iTunes in good working order, all the re-organisation must be done within iTunes itself and not by manipulating with directories through the back door.

  • turingtest2 Level 9 (68,658 points)

    The post make a split library portable covers some more thoughts on this topic. It is possible to manipluate a split library into a standard form (I've done it often and helped others to do so too) but the steps have to be chosen carefully. Those I gave earliershould have worked, assuming I've understood the starting point that you've descibed.

     

    tt2

  • 9mario9 Level 1 (0 points)

    Thank you very much!

    If Apple is not bothered at all to equip its customers with a proper instruction on how to re-organize iTunes files, I'll perfectly do with the old folder structure. I am not at all going to read and study all the posts on the subject on the internet. Besides, apart from Apple and iTunes, there are other things to do in this world.

    If tidying up means messing up and such a **** lot of work then I'm off.

  • turingtest2 Level 9 (68,658 points)

    No worries. It's actually much easier to do than to write out. The process is normally quite simple. Yours has become more complicated mainly because at some point your original library must have been corrupted and you've connected to a library database file in the Previous iTunes Libraries folder, rather than restoring that backup file into the main iTunes folder. Like I said before, I suspect the "empty" folders are not really empty but contain hidden artwork (created by Windows Media Player) which is why they were left behind when iTunes did some restructuring.

     

    tt2

  • 9mario9 Level 1 (0 points)

    > Yours has become more complicated mainly because at some point your original library

    > must have been corrupted

     

    Every time I approached the re-organisation, I used the backup copy identical to the one

    I currently use, so the library couldn't have been corrupted.

     

    > you've connected to a library database file in the Previous iTunes Libraries folder,

    > rather than restoring that backup file into the main iTunes folder

     

    Did I say at any point that I used any Previous Library folder myself?

     

    > I suspect the "empty" folders are not really empty but contain hidden artwork...

     

    Itunes keeps artwork files in a completely different location, away from Artist/Album

    folders. And it is an iTunes folder and Windows Media Player has nothing to do with that.

    As a test, I sent some of those "empty" folders to the Recycle Bin and checked if

    the tracks showed their artwork in the main iTunes interface. And they still did.

    So it only confirms that those "empty" folders contain no artwork.

     

    Besides, after the re-organisation there was no "iTunes Media" folder as shown here:

     

    https://discussions.apple.com/message/22114342#22114342

     

    and all the different folders (Audiobooks, Music, Podcasts, etc.) still remained in their

    original "iTunes Music" folder.

    Is that logical at all?

  • turingtest2 Level 9 (68,658 points)

    9mario9 wrote:

     

    Did I say at any point that I used any Previous Library folder myself?

     

    The connection to a dated library file (and multiple Album Artwork folders) suggested something had gone wrong at some point as the library file is normally called iTunes Library.itl. I see that I misread the indentation in your second long post. I previously read this as showing the active library at X:\iTunes\Previous iTunes Libraries\iTunes Library (date).itl when in fact it is meant to be X:\iTunes\iTunes Library (date).itl - apologies for introducing confusion.

     

     


     

     

    Updated clean up steps, should you care to try them:

     

    1. Move X:\iTunes\iTunes Music\<Artist> folders into X:\Temp (leaving behind the <Media Kind> folders).

     

    2. Copy the active .itl library file and corresponding .itdb & .xml files (those with the same date) into X:\iTunes\Previous iTunes Libraries folder as a backup.

     

    3. Remove the trailing dates (and the space before the date) from the four dated library files copied above.

     

    4. Move the remaining dated library files and *.tmp files into the Previous iTunes Libraries folder.

     

    5. Click the icon that launches iTunes and immediately press and hold down the shift key, keep holding until asked to choose or create a library, click choose, then browse to and open X:\iTunes\iTunes Library.itl.

     

    6. Close iTunes, rename X:\iTunes\iTunes Music as X:\iTunes\iTunes Media then start iTunes. Check that the media folder under Edit > Preferences > Advanced now shows as X:\iTunes iTunes Media. If not, correct the value, decline any offer to consolidate, close iTunes and reopen.

     

    7. Check that your media plays.

     

    8. When you're happy it all works, move everything from inside X:\iTunes\Previous iTunes Libraries folder with the exception of the three most recent dated .itl files into X:\Temp. Delete X:\Temp only when you are sure all is well and that it contains nothing that you want to recover.

     

     


     

     

    Itunes keeps artwork files in a completely different location, away from Artist/Album folders. And it is an iTunes folder and Windows Media Player has nothing to do with that. As a test, I sent some of those "empty" folders to the Recycle Bin and checked if the tracks showed their artwork in the main iTunes interface. And they still did. So it only confirms that those "empty" folders contain no artwork.

     

    Here is a screenshot of one of my music folders with Windows Explorer set to show hidden files and folders:

     

    HiddenArt.png

     

    With hidden files hidden all that shows is the one track, though the folder should display with artwork when viewed from the folder above hinting at their presence. These artwork files are not connected to iTunes and were generated by Windows Media Player when it cataloged my library in the past, the Thumbs.db file generated by Windows XP when browsing in thumbnail mode. If I let iTunes manage my media folders and changed the album artist or the album name it would move the .mp3 into a new folder to reflect the changed properties, but leave the other hidden files behind. If there are no such files then when the last media file or subfolder is removed the emptied folders are deleted. At one time your library would have most likely been in the standard <User's Music> folder where Windows Media Player would, by default, have indexed it. This is the reasoning behind my earlier supposition.

     

     


     

     

    Besides, after the re-organisation there was no "iTunes Media" folder as shown here:

     

    https://discussions.apple.com/message/22114342#22114342

     

    and all the different folders (Audiobooks, Music, Podcasts, etc.) still remained in their original "iTunes Music" folder. Is that logical at all?

     

    If you look closely at the old and new layouts the significant changes are the relative positions of the artist folders moving from directly inside <Media Folder> to inside <Media Folder>\Music and the folders iPod Games, Mobile Applications and Ringtones moving from inside <Library Folder> to inside <Media Folder>. (Depending on version Ringtones also changed to Tones). Since Music itself was the only media kind that didn't have its own dedicated subfolder to start with it is mainly the music files that change locations. What the upgrade/rearrange function doesn't do automatically is change the name of the media folder from iTunes Music to iTunes Media, however as long as the media folder is a direct subfolder of the library folder then iTunes should pick up a manual rename of this folder automatically.

     

    tt2

  • 9mario9 Level 1 (0 points)

    turingtest2 wrote:

     

        Updated clean up steps, should you care to try them:

    Thanks, I don't have to do any cleanup now as I already got rid of that messed up iTunes library.

    So for the time being I'll use my current working library as I've had enough. It's not worth all this time...

    Anyway, I am now convinced that it's a glitch within iTunes.

     

    https://discussions.apple.com/thread/2152426?start=0&tstart=0

     

    And I can see a lot of people have experienced the same. So I think you must be well aware of that as you took part in that discussion, too....

    So if there's any re-naming or re-locating involved, it MUST be done by iTunes itself.

    Otherwise, links between the libraries in the main iTunes interface and their root files will be lost.

    CONCLUSIION: The option "Re-organise files in the folder 'iTunes Music'" just DOESN'T work!

  • turingtest2 Level 9 (68,658 points)

    From the thread you linked to, which I didn't recall until reading again.

     

    FWIW I've discovered that, on the PC at least, I can rename iTunes Music to iTunes Media and iTunes automatically picks up on the change.

     

    (but it turns out only if the media folder is inside the library folder...)

     

    I've made over 40,000 posts here spread out over nearly 7 years, you can't expect me to remember the details of them all!

     

    And yes, my conclusion was that perhaps it had been intended that the media folder would also be renamed as well as restructured, but it is clear that if so that part of the plan has never been put into action in the four and a half years since. As a fellow user I don't have access to the design spec. so I can't tell you if it is a fault or a feature.

     

    tt2

  • 9mario9 Level 1 (0 points)

    turingtest2 wrote:

     

    From the thread you linked to, which I didn't recall until reading again.

     

    FWIW I've discovered that, on the PC at least, I can rename iTunes Music to iTunes Media and iTunes automatically picks up on the change.

     

    (but it turns out only if the media folder is inside the library folder...)

    Been there, done that...

    ITunes may automatically detect the change in Advanced Preferences but after doing that no media played in the main iTunes window.... I have no doubts about that.

  • 9mario9 Level 1 (0 points)

    turingtest2 wrote:

     

    I've made over 40,000 posts here spread out over nearly 7 years, you can't expect me to remember the details of them all!

    I don't expect...

    I've just reminded you...

  • 9mario9 Level 1 (0 points)

    turingtest2 wrote:

     

    ...so I can't tell you if it is a fault or a feature.

    Well, if the program says:

     

    "the 'music folder' is renamed to 'media folder'"

     

    and

     

    "re-organising creates subfolders (Music, Films, TV Programmes, Podcasts, Audiobooks, etc.) within the iTunes Media folder"

     

    so it can't be a "feature" as neither "iTunes Music" is re-named nor "iTunes Media" is created.

  • turingtest2 Level 9 (68,658 points)

    9mario9 wrote:


    CONCLUSIION: The option "Re-organise files in the folder 'iTunes Music'" just DOESN'T work!

     

    Clearly it has, how you else do you explain the emptied artist folders?

     

    I'll grant it may not have worked as you expected it to...

     

    tt2

  • turingtest2 Level 9 (68,658 points)

    Since we're being pedantic this is the actual dialog. In the second line of text the name of the active media folder "iTunes Music" is shown without quotes. In the fourth line it is shown with quotes. In the sixth line note that media is not capitalized in the term "iTunes media folder". This refers to the media folder, whatever its name is, and does not imply that the existing media folder is renamed to "iTunes Media" or that a new folder called "iTunes Media" is created and the media moved into it.

     

     

    OrganizeLibrary.png

     

     

    The presence of both an iTunes Music and an iTunes Media folder within the main iTunes folder as originally described suggests to me that at some point iTunes failed to find the expected library file on startup and created an empty "iTunes Media" folder to go with a new blank library file. iTunes updates its files by writing out new .tmp versions, deleting the originals and renaming the .tmp versions. A crash at just the wrong moment leaves a missing library file (or less importantly the .itdb or .xml files which can be regenerated automatically) and a temporary one that iTunes ignores thereafter.

     

    tt2

  • 9mario9 Level 1 (0 points)

    turingtest2 wrote:

     

    9mario9 wrote:


    CONCLUSIION: The option "Re-organise files in the folder 'iTunes Music'" just DOESN'T work!

     

    Clearly it has, how you else do you explain the emptied artist folders?

     

    I'll grant it may not have worked as you expected it to...

     

    tt2

    Well, it does some work, but I wouldn't call it "re-organising"...

    As the new folder structure doesn't make sense ("Audiobooks", "Podcasts", etc. in the "iTunes Music" folder).