Results 1 to 5 of 5

Thread: Finding Corrupted iTunes files

  1. #1

    Daddy Elmis's Avatar
    Member Since
    Mar 28, 2006
    Question Finding Corrupted iTunes files
    so my prior external drive on which my entire iTunes library is stored (~400gb) crashed and i recovered it using Revo. Problem is that in the recovery process a sizable number of iTunes audio files got corrupted. The corruption causes them to start to play, then a some point (it varies song to song, but aroiund 30 seconds or so) it stops and goes to the next song. This happened to mp3, apple lossless, aa4 ... it seems format independent.

    The songs all "show" as normal ... song length, title, format, etc., all appear correct. It's only when you play them does the corruption appear.

    My questions is whether there is any way to automate finding these corrupt files so I can replace the ones I'll miss or just delete them. I've tried a few search scripts but nothing so far.

    Any ideas welcome

  2. #2

    Daddy Elmis's Avatar
    Member Since
    Mar 28, 2006
    ta DAAAH!!!
    So, of course, Doug's Applescripts come to the rescue (I hope) again. He has a script for truncated iTunes files. This apparently can happen in cloud downloads from iTunes, but the phenomenon sounds identical to what I'm experiencing. I'm running the script now (over 13K files) and we'll see what happens.

    I'll report the outcome, but props (and donations) to Doug.

  3. #3

    Daddy Elmis's Avatar
    Member Since
    Mar 28, 2006
    Thumbs up
    Doug's script works pretty good. It's fast. However, it seems that it finds new truncated files every time I run it. For example, on the first pass it found something like 60 files (out of over 13,000) that were damaged. However, I knew that some of the bad files were not on the list it found. So I deleted the first batch of "bad" files and ran the script again, and it found more bad files (maybe 30, all of course different than the first pass as I had deleted the first bad batch). Deleted those files, then ran the script again and it found a few more. Seems to find less each time, but always finds more. Can't explain that (and yes, I'm permanently deleting the bad files each time).

    Still, it works infinitely better than having to listen to each file manually to see if it's bad.

  4. #4

    chscag's Avatar
    Member Since
    Jan 23, 2008
    Keller, Texas
    Let's hope the script is actually finding truncated or corrupted files and not mistakenly "finding" good files. Have you tested any of those that it found before you deleted them?

  5. #5

    Daddy Elmis's Avatar
    Member Since
    Mar 28, 2006
    Yes -- I tested each file on the script's first pass to see if it was indeed finding bad files. Everyone it found was bad. The script works, apparently, by placing the iTunes "playhead" at somewhere around 20 second prior to the end of the song. If the song is truncated, it is copied to a new playlist call "truncated."

    The script was designed for what is apparently a bug in songs downloaded from iTunes Match where this happens. The defective songs can be re-downloaded I believe.

    I don't know what happened in my case other than the recovery software produced the same glitch. Mine generally are not re-downloadable because they were CD rips -- mercifully most seem to be stuff I don't really care to re-rip.

    Here's the link to Doug's script: Truncated Tracks Script

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Corrupted files
    By lrd in forum Internet, Networking, and Wireless
    Replies: 5
    Last Post: 12-23-2010, 03:15 AM
  2. Corrupted Files
    By hayze99 in forum macOS - Operating System
    Replies: 3
    Last Post: 07-29-2010, 09:10 PM
  3. Replies: 2
    Last Post: 04-24-2010, 12:53 PM
  4. Corrupted files, help please!
    By MoAmyot in forum Running Windows (or anything else) on your Mac
    Replies: 4
    Last Post: 09-25-2008, 12:56 PM
  5. Why are files corrupted?
    By sandown42 in forum Apple Notebooks
    Replies: 2
    Last Post: 05-04-2008, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts