Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 24, 2008, 12:01 PM   #1
brepublican
macrumors 6502a
 
Join Date: Jul 2005
Location: NY
iTunes just deleted my entire Library!!!

I am so pissed and just need to vent right now!

I'm running 10.5.1 and iTunes 7.6. Last night I hooked up my iPod to sync with my Library and ran this script that I have that reshuffles my smart playlists. Before you could say "She sells sea shells by the sea shore", iTunes had deleted every entire song from the Library and placed everything in the trash! I am soooo pissed

I mean, I still have the music files (thank God!) and all, but I make extensive use of playlists and play counts and such, and now I am completely lost (my library has more than 9,000 songs). To add insult to injury, I cant even just simply drag everything back cos I dont have enough disk space on my PowerBook. Gosh. Arrrgggh!!!

Shame on you Leopard!

</End of rant>

Btw, is this some form of the data loss bug in 10.5?
__________________
12" PB Rev D / 512MB RAM / 1.5GHz / 80GB / SD + Apple pro Speakers w/ Griffin iFire | iPod 4G 20GB | Airport Express
Quote:
Originally Posted by runplaysleeprun
"I've got some eggs here. the powerbook is in the car. i was going to make an omelet on my way home."

Last edited by brepublican; Jan 25, 2008 at 02:23 PM.
brepublican is offline   0 Reply With Quote
Old Jan 24, 2008, 12:03 PM   #2
xUKHCx
Administrator emeritus
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
a.) It sounds like the script was to blame for this
b.) why can't you move them back as they take up the same amount of disk space in the trash as they do in your music library.
xUKHCx is offline   0 Reply With Quote
Old Jan 24, 2008, 12:06 PM   #3
brepublican
Thread Starter
macrumors 6502a
 
Join Date: Jul 2005
Location: NY
Quote:
Originally Posted by xUKHCx View Post
a.) It sounds like the script was to blame for this
b.) why can't you move them back as they take up the same amount of disk space in the trash as they do in your music library.
I dont think its the script. I've been using it for over 2 years now (and about 3months with 10.5) and never had any problems before...

But I can move them back in cos iTunes organises my files, so it'd copy everything in. I have about 5GB left and my music library is ~40GB. Basically, I'll have to go home (4 hrs away) and get my external drive if I want to move them back.
__________________
12" PB Rev D / 512MB RAM / 1.5GHz / 80GB / SD + Apple pro Speakers w/ Griffin iFire | iPod 4G 20GB | Airport Express
Quote:
Originally Posted by runplaysleeprun
"I've got some eggs here. the powerbook is in the car. i was going to make an omelet on my way home."
brepublican is offline   0 Reply With Quote
Old Jan 24, 2008, 12:17 PM   #4
xUKHCx
Administrator emeritus
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
Quote:
Originally Posted by brepublican View Post
I dont think its the script. I've been using it for over 2 years now (and about 3months with 10.5) and never had any problems before...

But I can move them back in cos iTunes organises my files, so it'd copy everything in. I have about 5GB left and my music library is ~40GB. Basically, I'll have to go home (4 hrs away) and get my external drive if I want to move them back.
By that reasoning it is also not 10.5's fault as you have been using that for 3 months without a problem.

Tell iTunes not to copy the files.
xUKHCx is offline   0 Reply With Quote
Old Jan 24, 2008, 12:27 PM   #5
ChrisA
macrumors G4
 
Join Date: Jan 2006
Location: Redondo Beach, California
Quote:
Originally Posted by brepublican View Post
I...and ran this script that I have that reshuffles my smart playlists.
What script? can you post the code here? I'll bet you a beer that it was not iTunes, not Leopard but whoever wrote your script that you should blame. "It worked in the past" is not a good answer. Bugs can hide. The more subtle bugs involve things like "race condidtions" that are probabilistic in nature. And I've seen code with other problems where the developer took a short cut like not checking return codes from every call. There are many many ways in which software can fail only once in 1,000 times it is run. The cases where it fails every time are "way easy" to find and fix. The 1 in the 1,000 bugs are best found by inspecting the source code or instrumentation at run time. So you have found a 1 in a 1000 bug. Hence my request to post the script.

As I type this I'm working on my own software. I'm currently testing it's ability to handle errors. Gosh this is a slow and tedious process. I'm having to create corrupted files and see if they are detected and reported. I'm simulating a zillion typical user errors and screwing up file permissions to see if they are dealt with. Believe me, no one does this kind of testing unless they are on salary and their boss is willing to fund them for months of work. Freeware authors just skip all of this stuff.

Look at the positive side of this, you have reminded many people here that they need to verify that their backup system does in fact work. Every so often we need to try and recover some files just to prove that we can.

Last edited by ChrisA; Jan 24, 2008 at 12:41 PM.
ChrisA is offline   0 Reply With Quote
Old Jan 24, 2008, 12:52 PM   #6
brepublican
Thread Starter
macrumors 6502a
 
Join Date: Jul 2005
Location: NY
Quote:
Originally Posted by ChrisA View Post
I'll bet you a beer that it was not iTunes, not Leopard but whoever wrote your script that you should blame.
Get the kegger out, it is the script! Its one of Doug's, and he's recently updated his site with a warning not to run it, otherwise it'll delete your entire library! Well, then, egg on my face?

I'm still pissed though. And anyone else who has the script, please dont run it?
(But I take it back Apple. Love youuuu )
__________________
12" PB Rev D / 512MB RAM / 1.5GHz / 80GB / SD + Apple pro Speakers w/ Griffin iFire | iPod 4G 20GB | Airport Express
Quote:
Originally Posted by runplaysleeprun
"I've got some eggs here. the powerbook is in the car. i was going to make an omelet on my way home."
brepublican is offline   0 Reply With Quote
Old Jan 25, 2008, 05:06 AM   #7
xUKHCx
Administrator emeritus
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
Quote:
Originally Posted by brepublican View Post
Get the kegger out, it is the script! Its one of Doug's, and he's recently updated his site with a warning not to run it, otherwise it'll delete your entire library! Well, then, egg on my face?

I'm still pissed though. And anyone else who has the script, please dont run it?
(But I take it back Apple. Love youuuu )
What is the name of the script? For those who might come across this thread by searching.
xUKHCx is offline   0 Reply With Quote
Old Jan 25, 2008, 02:23 PM   #8
brepublican
Thread Starter
macrumors 6502a
 
Join Date: Jul 2005
Location: NY
Quote:
Originally Posted by xUKHCx View Post
What is the name of the script? For those who might come across this thread by searching.
The script is "Reshuffle Smart Playlists". Here is the link for it, just incase someone wants to look at it: Reshuffle Smart Playlists
__________________
12" PB Rev D / 512MB RAM / 1.5GHz / 80GB / SD + Apple pro Speakers w/ Griffin iFire | iPod 4G 20GB | Airport Express
Quote:
Originally Posted by runplaysleeprun
"I've got some eggs here. the powerbook is in the car. i was going to make an omelet on my way home."
brepublican is offline   0 Reply With Quote
Old Jan 25, 2008, 02:33 PM   #9
xUKHCx
Administrator emeritus
 
xUKHCx's Avatar
 
Join Date: Jan 2006
Location: The Kop
It seems as if iTunes changed the definitions of its master library between 7.5 and 7.6, since that is when the problem started happening.

I just modified the script to see which playlists it would've deleted on mine and here is the list

{"Library", "Music", "Movies", "Purchased on iPhone", "Aphexpusher", "AFX", "Aphex Twin"}

Only the last three are smart playlists set up by me.
xUKHCx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Accidentally deleted my entire iTunes library HELP! chrisowenn iPod touch 9 Oct 12, 2013 01:09 PM
iTunes Match erasing entire library csslash iOS 6 14 Aug 19, 2012 06:33 PM
itunes match just erased my entire library? poohat1000 OS X 0 Aug 6, 2012 08:13 PM
Entire music library deleted from iPhone due to iTunes Match? mrblack927 iOS 6 23 Aug 5, 2012 10:18 AM
Transferring Entire iTunes Library Alex-Sykes Mac Basics and Help 1 Jul 18, 2012 09:34 AM

Forum Jump

All times are GMT -5. The time now is 04:40 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC