Bug in iTunes numeric title sort.

The Bug in the sort-function of the iPod results in mixed up track list.
An album with more then 9 tracks will be sorted in the wrong way, when only title or filename or the album field is just to give a track a number. The play order is 1, 10, 11, 12, 13, 2, 3 , 4 , 5, 6.... instead of the correct order 1,2,3,4,5,6...10,11, 12...
(Same issue with album numbers in Compliations. CD1, CD10, CD11, CD12, CD2, CD3....)
For example: After playing the track named "The Beatles - Yellow Submarine - 1 - Yellow Submarine" the ipod/iTunes will play "The Beatles - Yellow Submarine - 10 - Baby, You´re A Rich Man" instead of "The Beatles - Yellow Submarine - 2 - Hey Bulldog."
The programmer have to search the string for numbers and join all numeric values to a single number.
Example: Sample data :abc123. is "a" a number? no. is "b" a number no. is "c" a number no. is "1" a number? yes. store. is "2" a number? yes. join to "1". (now we have "12"). is "3" a number? yes. join to "12". (Now we have "123") -> EOL
Is "123" larger than "99"? yes! is "123" larger than 124. no!
Thats it. In perl you need 1 line of sourcecode, in c and c++ this can be done in 10 lines. In java there a objects for this type of work.
And every user will be happy and nobody has to do the 01, 02, 03 workaround or reimport their audiobooks.
(I guess its easy and dn´t need much more performance... iTunes uses enough ram to extra cache this operation.)
Alternativly Apple should thing about storing the original filename in the ID3 tag or itunes database. This would make sorting the files without id3 tags (believe me or not, there are many people using mp3 for 10 years and have no id3 tags in there mp3-library) in itunes possible. (there is a god free tagger for mac os but no for windows.)
A company like Apple should have the ability to correct the error / bug in the iPod-firmware (have the same issue in classic and iphone) or itunes-softwar.
This is a wellknown and very common error done by newbie programmers or people who have not read the documentation of the software-libraries.

Whether you like the idea or not, the appropriate place to to incorporate information about the contents of media files is inside the tag, not the filename. Modern media software is generally designed to extract and use this information. As you have indicated users are free to choose their own filename conventions which often cannot be correctly interpreted by software. iTunes & iPod can provide you with many more ways to organise & select your music with the correct information than will be the case if, as you seem to imply, the only field present is the Name which iTunes will take from the filename if it can't find a tag.
Assuming you've been consistent with your naming scheme a small investment of time with a tagging program could populate the ID3 tags by parsing the different sections of the name into the appropriate fields. Magic File Renamer, The Rename and similar programs can even be used just to add the leading zeros to the track number section of the filenames if you really want to hold out against adding tags. If you use a 3rd party tagger you need to force iTunes to rescan the information thus: CTRL-A (select all), CTRL-I (get info.), click OK (read the tag & update with any changes - you didn't make any before you clicked OK did you? - and update the iTunes database with the current info.) If you move or rename files outside of iTunes you can either manually remove & reimport files or use one of the tools I suggest below.
A year ago I spent some time preparing a list of over 50 ideas for improving iTunes & iPod all of which I consider would be easy to program and would make the products nicer to use. The reality is that Apple is a large and mostly deaf corporation. I've sent my ideas to iTunes Feedback & iPod Feedback but who knows if anyone who could influnce future development ever got to see them. What is clear is that new features are generally only introduced on new models. Rather than railing that it could be better (granted) it is much more productive to gain an understanding of the way that the software works and try to accomodate for it. See, for example, my postings on Grouping tracks into albums or Find tracks without artwork where I've shared my experience on how to get all my albums organised neatly & consistently. As I mentioned elsewhere I have an iRiver and while trawling a folder structure to locate music works I'm much happier with my instant-on, fully organised & artworked iPod where I can see artwork as I'm selecting music, play videos & games and store so much more.
tt2
<hr>
*Adding new items/removing orphans*
Try iTunes Folder Watch or iTunes Library Updater. Folder Watch is much faster on the adding files front, can be set to run in the background and includes a useful exclusion feature, however it’s really slow at removing orphans. iTLU is better for this although doing it manually after looking at a list of proposed removals generated by Folder Watch is probably faster still. iTLU can also be set to update iTunes when you've used 3rd party tools to change tag info.

Similar Messages

  • How do I stop iTunes from automatically sorting by Album Artist?  Driving me crazy.

    How do I stop iTunes from automatically sorting by Album Artist?  Driving me crazy.
    I listen to primarily classical music
    All of my music was very deliberatley titled by composers "Last Name, First Name" as the artist.
    iTunes is changing it to the Album Artist.  I have to go in and delete that information - AND THEN IT LATER REVERTS IT BACK!!!
    Hours have been wasted and I am feeling so ticked.
    Any help?

    Purchased or ripped media?
    If these are ripped mp3s then another possibility is multiple embedded tags. iTunes works best with a single ID3v2.3 tag. Some software creates both an ID3v1.0 and IDv2.x tag. With multiple tags it is not certain which iTunes reads or which it updates, and any device may choose differently. Once songs have the correct info. in iTunes you can use Convert ID3 Tags... None several times, then Convert ID3 Tags... v2.3. The process removes any embedded art but otherwise preserves the data that iTunes knows. You could use my script CreateFolderArt before and after to save and then restore the artwork.
    In the long run you may be better off populating Album Artist properly with a copy of whatever is currently in Artist. My script CopyArtistToAlbumArtist can do this effectively.
    tt2

  • ITunes not updating sorting in iTunes Music folder

    I have enabled "Keep iTunes Music folder organized". iTunes will properly sort files based on the ID3 data when I first import them, but it does not update the filenames or folder names when I change song information from within iTunes. I don't know what the exact behavior of this option is supposed to be. iTunes says it "Places files into album and artist folders, and names the files based on disc number, track number, and the song title." This description is consistent with its behavior when importing tracks but does not say whether it will continue to move things afterward.
    I'd like to know what the exact behavior of this option is supposed to be and if there is a way to force an update of the sorting. I'm thinking re-importing would work, but I've got 25,000 songs so that would be an unwieldy last resort at best.

    Try one of these solutions already posted to this forum or use the "Search Discussions" for many more:
    http://discussions.apple.com/thread.jspa?messageID=4358684&#4358684
    http://discussions.apple.com/thread.jspa?messageID=4123245&#4123245
    http://discussions.apple.com/thread.jspa?messageID=4090531&#4090531
    http://discussions.apple.com/thread.jspa?messageID=3960710&#3960710
    http://discussions.apple.com/thread.jspa?messageID=3950754&#3950754

  • Minor GUI bug in iTunes?

    When displaying Movies in iTunes, if there's a name listed in the Artist field, that name also appears under the movie's artwork and title in the Artwork column. The TV Shows window doesn't work that way at all. Unless somebody can tell me what I'm doing wrong, I'll post this as a bug in iTunes.
    Thanks for any assistance!

    See this -> Don’t Panic
    "Yesterday (09/09/09, by the way) Apple released iTunes 9. Unfortunately it has a nasty bug that prevents iVolume from analyzing songs that have been imported from a file. All other songs – that is purchased, ripped or converted songs – will still be processed fine by iVolume.
    We put highest priority on this issue. All other projects have been interrupted in order to restore full compatibility with iTunes 9 as soon as possible. We already found a solution and are currently busy implementing it. Things look good so far.
    So please be patient, a new version of iVolume will be released very soon"

  • Odd title sort

    I just uploaded 3 CDs into iTunes and created playlists for them but when I synched it to my iPod, the titles sort differently. On iTunes, the titles run in track order according to the number in the left hand column but they're sorted alphabetically according to title on my iPod.

    Try right clicking on a playlist in iTunes and choose "copy to play order".
    Then re-sync your iPod.

  • Alphabetize Song Title Sort Order Under Genre on iPod

    Here is the general idea of what I am trying to do on the iPod.  When viewing songs on the iPod, if I select Genre from the main menu, I cannot find a way to display all the song titles in a selected genre in alphabetical order.  This can be done easily with the songs in iTunes on the laptop or desktop but seemingly not in the iPod.  There is no big problem if you have only a handful of songs in any one genre but if you have several hundred songs in a particular genre and titles do not display in alphabetical order, then finding a desired song is very time consuming and necessitates scrolling through the entire list.  Is there a way to alphabetize the song title sort order within Genre on the iPod?

    Get external hard drive.  Backup all your music files and wipeout iTunes from computer.   The. Reinstall and update version if necessary. The. Connect external hard drive and set hard drive folder at default in iTunes preferences.  Transfer music to library and when prompted hit automatic organizing z
    .  Should take care of your problem

  • Some songs don't sync in one smartlist (possible BUG of itunes)

    Hi,
    I have one smartlist with 200 songs in itunes. After I sync with my iphone and the same smartlist have 190 songs inside the phone.
    The files listen ok in itunes and in the iphone (in other lists).
    Can be a bug of itunes? Is not the first time that this success me.
    Please, help! I don't know what I can do!
    Thank you!
    PS sorry for my poor english, I'm spanish speker.

    I checked "Match only checked items" in smartlist and "Sync only checked songs and videos" in iphone menu. However the problem persist.
    I discovered what is the problem. The problem arises when you use the "comment" tag in the SmartList. In other SmartList that do not use the "comment" tag this problem does not happen.
    One way to fix this is to delete the album and then add it again to itunes:
    1) delete the album that gives you problems with SmartList
    2) sync iphone
    3) add the album again.
    4) sync iphone again.
    5) Now the SmartList that uses the "comment" tag appear correctly on the smartlist in iphone.
    And I insist that the SmartList in itunes always go well, it's just on the phone where don't work anytimes!
    Incredible. I hope that apple will solve this bug. Besides, this does not happen with all the albums, only with some albums! So I have to watch each SmartList in iphone that the sync run well.
    ahh what a horror! I have hundreds of lists!! I'll go crazy!

  • 1080p download and playback bugs in iTunes 10.6 for Windows

    There seems to be some bugs in iTunes 10.6 for Windows related to 1080p video.  According to Apple, the minimum specs for viewing 1080p video on a PC is:
    To play 1080p HD video on a PC, you need a 2.4GHz Intel Core 2 Duo or faster processor, 2GB of RAM, and an Intel GMA X4500HD, ATI Radeon HD, or NVIDIA GeForce 8300 GS or better graphics processor.
    My PC exceeds these specs (Intel i5-2500K 3.3GHz CPU, 8GB of RAM, AMD Radeon 7970 video card, 30" Apple Cinema Display).  The first bug appears when I go into the preferences setting and switch the download preference fom 720p to 1080p, which triggers a warning box that says:
    This computer may not be able to play 1080p videos.  You can still download these videos for use on other devices.
    That's odd but I press "OK" and downloaded the 1080p copy of a TV episode.  When I press play, another warning box popped up:
    Video is too large.  The 1080p version of [show] is too large to play on this computer.  You can choose to play a smaller 720p version of this movie below.  This message will be dismissed in XX seconds.
    The message gives you three options: PLAY SMALLER VERSION / OK / CANCEL.  If I select OK or simply let the timer run down, the 1080p video starts playing without any problems.  Anyone else seeing this?

    Oh that clarifies things, I see what you mean.  The error message still confuses me because even your smaller Acer monitor matches the pixel resolution of the 1080p video - the video doesn't exceed the monitor's pixel ratio so it's not technically "too large" as the error message says.  The 1080p video should fill your Acer monitor edge to edge while leaving black borders on the top and bottom of your Samsung.  I think this is clearly a bug in iTunes.
    I know what you mean about the movie opening up so that a portion of the image is off the screen but that sounds like an issue related to the default position of the window when you start a video.  The default position is such that a smaller size like the SD copy probably isn't cut off but that a larger video does get chopped until you change where videos open by default.  I can change the position simply closing the video while it's playing.  iTunes remembers the place on the screen where I closed the video and opens all videos at the spot afterwards.  Does that not work for you?

  • Bug in iTunes 9.0 Sound Check ?

    In iTunes 8.x when you add a new song to iTunes (with Sound Check enabled)
    iTunes adjusts or adds the "normalization information" ID3 tag for the song.
    iTunes 9.0 doesn't do this anymore.
    Is this a bug in iTunes 9.0.0.70 ?
    Ps: Programs like iVolume rely on this info.
    Edit: 10/09 16:09

    See this -> Don’t Panic
    "Yesterday (09/09/09, by the way) Apple released iTunes 9. Unfortunately it has a nasty bug that prevents iVolume from analyzing songs that have been imported from a file. All other songs – that is purchased, ripped or converted songs – will still be processed fine by iVolume.
    We put highest priority on this issue. All other projects have been interrupted in order to restore full compatibility with iTunes 9 as soon as possible. We already found a solution and are currently busy implementing it. Things look good so far.
    So please be patient, a new version of iVolume will be released very soon"

  • Itunes / ipod column sort locked?

    When looking at my ipod via itunes the column sort is locked on sort by "Genre" and i can't change it? When looking at my computer files it works fine it's just on the ipod? I know it worked last week? not sure if i did something or ???
    thanks

    I'm having the same problem with my iphone.  When I click the "manually manage music, it prompts me that the iphone is synced with another library.  Do i want to erase this iphone and sync with this itunes library?
    Of course I dont want to do this!  My iphone is "synced" with my computer at home, while at work, I'd like to listen to music to my iphone through my work mac (which has no mp3s on it) using itunes.  Annoying!
    Anyone find a third party solution to this?

  • ITunes 11 not sorting multi-disc audiobooks by disc number

    I just updated to iTunes 11, and for some reason, my multi-disc audiobooks are not being ordered by disc number in the Books view. Instead, it goes track 1 of disc 1, track 1 of disc 2, etc.
    The tracks have the disc numbers in their metadata, so why aren't they being sorted that way?
    This issue does not occur for music tracks, however. Puzzling, eh?
    Message was edited by: Jawshooah

    This worked perfectly for me. Thank you Giacomo!
    P.S. I also used PayPal to give DougScripts a $5 thank you.
    Giacomo Italy
    Re: iTunes 11 not sorting multi-disc audiobooks by disc number 
    Dec 10, 2012 2:17 AM (in response to Jawshooah)
    Guys, I have the ultimate solution!
    Use the following Applescript:
    Embed Disc Number in Track Number v1.0
    Applies selected tracks' disc number as hundreds digit in track number
    Short link: http://dougscripts.com/461
    date posted: July 14, 2009 - total downloads 926
    you can find it at:
    http://dougscripts.com/itunes/
    It is a reversible operation by definition!
    Cheers!

  • In iTunes, podcasts are sorted in the library alphabetically. In Version 1.2.1, there is no order and there are duplicates.  Can you sort the library? and how do you remove duplicates of the same podcast (not episode)?

    In iTunes podcasts were sorted in the library alphabetically.  In Version 1.2.1, there is no ability to sort and podcasts (not episodes) are duplicated.  Can you sort the Podcasts in the library section? How do you remove or consolidate duplicates?

    In iTunes podcasts were sorted in the library alphabetically.  In Version 1.2.1, there is no ability to sort and podcasts (not episodes) are duplicated.  Can you sort the Podcasts in the library section? How do you remove or consolidate duplicates?

  • I have uninstalled and reinstalled itunes numerous times and keep getting the message it reinstalled incorrectly stating windows Error 127.

    I have uninstalled and reinstalled itunes numerous times and keep getting the message it reinstalled incorrectly stating windows Error 127.  I am using windows 7

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    You may have more success if you use the advice in the Install missing components section to break down the installer into its component .msi files and install these in alphabetical order.
    tt2

  • MAJOR Cover Art bugs in iTunes 7.x.x

    Here are some interesting observations in discovering MAJOR Cover Art bugs in iTunes 7.x.x
    1. Importing CDs
    If you import a CD, you must wait for complete import to finish in hopes that all songs will populate successfully with cover art. Even here, success is random.
    If you request cover art during the import, there are mixed results.
    iTunes should be smart enough to detect if any album exists with partial cover art in the library database, then those tracks with missing cover art will be automatically detected and updated.
    2. Missing Cover Art
    This occurs on 2 levels:
    a. iTunes Store may just not have cover art for some (older) albums
    b. iTunes Store does find the cover art, but it is not applied to *all tracks* on the album
    The workarounds bring mixed results.
    I have resorted to the "Get Info" approach and pasted cover art to random album tracks where cover art was only partly applied by iTunes.
    In other cases, I scanned in the CD cover and applied it to albums where iTunes found no cover art. I assumed this would be a one-time fix as I expected some minimal tweaking would be involved in managing cover art.
    No such luck! Here is why iTunes cover art represents a MAJOR bug in version 7.x.x
    Day 1: I spend many hours tweaking and fine-tuning the cover art, assuming iTunes will "save" all my work. I browse different albums/tracks and everything looks great!
    Day 2: Looks like iTunes only "saved" some of this effort. Sure enough, certain complete albums and random tracks from other albums now show NO cover art! How frustrating!
    * * * Here is what is MORE DISTURBING about this Cover Art bug! * * *
    I resort to thinking about more workarounds, and here are the results:
    Hmmmm. Looks like if I paste in the Cover Art twice on certain album tracks, the Cover Art is now applied to that track. Meaning, if you do a "Get Info" on a track, you will see two pastes in the Cover Art tab, yes, you add the cover art twice, one cover next to the other so as to force that album track to get the cover art to attach. On the surface, this seemed to work, and all album tracks now seem populated with Cover Art and the effort appears "saved" when I revisit the album on Day 2.
    But all is not what it appears. The trick of adding missing cover art twice, in the hopes that an album and/or certain random album tracks might adopting the cover art you are trying to assign will produce the following:
    IT ACTUALLY AFFECTS THE AUDIO TRACK!!!!
    Multiple attempts to add/fix cover art will ADD TO TRACK DURATION, such that when you play a track, the lead-in portion of the lyrics (say first 10 secs or so) will REPEAT in as many times as you tried to add the cover art!!!!
    Thinking this might be a corrupt library database, I even deleted the database, started over, and while adding missing cover art, was able to reproduce the lyrics repeating on those tracks where the cover art was added (pasted) twice. You can HEAR and see the increased track duration in iTunes 7.x.x
    MAJOR Cover Art bug!!! So you are not alone. And besides all the wasted hours trying to fix this, I say wait for iTunes 8.x
    Please post and let me know if you have had the same experience with this cover art bug and similar workarounds.
    C'mon Apple! PLEASE FIX THIS. What gives?
    HP Media Center PC   Windows XP Pro  
    HP Media Center PC   Windows XP Pro  
    HP Media Center PC   Windows XP Pro  
    HP Media Center PC   Windows XP Pro  

    You can tell iTunes to "Clear Downloaded Artwork" to get rid of the wrong image.
    Getting iTunes to select the correct image, especially for compilations can be quite frustrating. I've been slowly cleaning up some old artwork from when iTunes could not pull artwork from the iTunes Store for music from other sources. I've learned to check the album in question by using the iTunes Store link in iTunes - I figure if it goes right the the album I'm all set - Wrong! Today I'm doing battle with a bunch of "20th Century Masters - The Millennium Collection" albums. I can go through the album song by song and every one goes right to the correct album - but when I "Get Album Artwork" it still may not find the album or will pull in volume 2 instead of volume 1, etc. I've tried making sure my albums names are exact matches to the iTunes store with the same bad results.
    It really seems like iTunes uses a different search method for artwork than for the iTunes Store link. At least Google has an image search...

  • ITunes doesn't sort albums properly.

    So like my iTunes doesn't sort my albums properly. I have the track numbers listed in Get Info, but when I click Sort by Album, it sorts the albums, then it sorts the songs inside the albums by the artist.
    Any help appreciated-
    I want the albums sorted by the track number in the get info

    I noticed this problem too - but only on albums with "Album artist" info.
    Once I removed that, everything sorted correctly by track number.
    However, I'd love to find a way to actually make it sort correctly.

Maybe you are looking for