1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Albums missing track number 1 of ?

Discussion in 'General iTunes Usage' started by drm2869, May 7, 2017.

  1. drm2869

    drm2869 New Member

    Newbie here. Love the forum. Been looking around for a ling time.
    I have multiple albums that are missing the track number 1 of ?. The attached screen shot shows the album with a dash in the 1st box. I understand this is track 1,2,3 etc. What I want is a way to find out any other albums that are missing the 2nd box. 1 of ? tracks. Is there a way to create a smart playlist that will find that. I was able to create a smart playlist that shows missing 1st box only. ? of.
    Any help is greatly appreciated.

    Attached Files:

  2. someToast

    someToast Member

    You can’t access the track count in a smart playlist, but you can with AppleScript, and use a script to tell you which albums are missing values for their track count.
    tell application "iTunes"
        repeat with myTrack in selection
            if myTrack's track count is 0 then
                tell myTrack
                    log {get artist, get album, get track number, get name}
                end tell
            end if
        end repeat
    end tell
    View your library/playlist by Songs with that list sorted by Album. Select all the tracks and run the script in Script Editor. Any tracks missing a track count will get listed in the Messages pane below.
  3. drm2869

    drm2869 New Member

    Thank you very much. That worked. I appreciate it
    someToast likes this.

Share This Page