New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Music, Audio, and Podcasting Do you use your Mac to create music? This is the place for discussions on creating and editing music on the Mac!

Finding Corrupted iTunes files


Post Reply New Thread Subscribe

 
Thread Tools
Daddy Elmis

 
Daddy Elmis's Avatar
 
Member Since: Mar 28, 2006
Posts: 390
Daddy Elmis has a spectacular aura about

Daddy Elmis is offline
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
QUOTE Thanks
Daddy Elmis

 
Daddy Elmis's Avatar
 
Member Since: Mar 28, 2006
Posts: 390
Daddy Elmis has a spectacular aura about

Daddy Elmis is offline
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.
QUOTE Thanks
Daddy Elmis

 
Daddy Elmis's Avatar
 
Member Since: Mar 28, 2006
Posts: 390
Daddy Elmis has a spectacular aura about

Daddy Elmis is offline
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.
QUOTE Thanks
chscag

 
chscag's Avatar
 
Member Since: Jan 23, 2008
Location: Fort Worth, Texas
Posts: 40,266
chscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond reputechscag has a reputation beyond repute
Mac Specs: 27" iMac i5, 3.2 GHz, iPad 3, iPhone 5c, 3 iPods, OS X Mavericks

chscag is online now
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?
QUOTE Thanks
Daddy Elmis

 
Daddy Elmis's Avatar
 
Member Since: Mar 28, 2006
Posts: 390
Daddy Elmis has a spectacular aura about

Daddy Elmis is offline
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
QUOTE Thanks

Post Reply New Thread Subscribe


« Migrating iTunes from iMac to new iMac | Load CDs onto iPod Touch? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Updated To iTunes 11 and Now I Have Missing Files derekeverett OS X - Apps and Games 1 12-05-2012 11:36 AM
iTunes Tips And Tricks RJgamer iPod Hardware and Accessories 2 07-12-2007 11:59 AM

All times are GMT -4. The time now is 07:01 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?