72 points · by troyhunt · 14y ago · 85 comments
It's been explained to me that this is because my music collection is around 200GB, so my iTunes Library.xml file is around 60MB, and any action (playing a song, renaming, etc.) rewrites the entire XML file on disk (incrementing play count, renaming, etc.).
And this is on a MacBook Air with SSD under Lion!
My music library is about 100GB and accordingly, my iTunes library XML is 31.2MB. My system operates on an SSD, but the entire iTunes DB is located on an internal 2TB hard drive, it's my slow one too.
Never experienced this or anything close to this. It could be a bug related to libraries around 200GB or an XML file of over 60MB or something, but it's not directly because of the fact that iTunes re-writes the XML file when you make any change.
That does happen, but it shouldn't lock up iTunes unless there is something wrong with your computer. Why? Because iTunes doesn't even use that XML file. It only exists to give 3rd party apps direct access to the iTunes library info. I can jump through my 20,700 song library, with the iTunes folder open watching it rewrite that XML file every time I do anything. No machine slowdown to speak of, on both a Mac Pro and an 11 inch MacBook Air where the library is in the same location as the system.
I think there is something wrong with your machine. This would drive me absolutely insane, and I use iTunes every single day for hours a day, almost without exception.
Mine does the same since it is on a external USB HDD. On a internal SATA drive it is instant.
So for file renames I understand, but not for playcounts or playlist changes or anything like that -- because those should access my SSD only, and not touch the external drive.
I love it, I just reloaded OS X and it keeps trying to start iTunes. Everytime I just deny the TOS and it slinks away. Good riddance.
External drives, network locations, internal secondary drives, over the years my needs and requirements have changed. iTunes has worked in all those locations. My current library has a creation date of 2009.
Initial import does take quite some time. Good thing I haven't had to do it since... well 2009 I guess.
iTunes isn't the black box people make it out to be. iOS device management through iTunes is, I'm not even going to touch that one. However the regular library functions of iTunes are quite simple and keeping a library from being destroyed isn't difficult.
> Good riddance.
Still the best library based jukebox for OS X. I'm willing to put it up against any other option.
Your right as far as I know on your last point, not that I've done much searching, but I can hope there's something out there someday.
Itunes is the very definition of a black box. If you have an even slightly large library, it becomes a slow behemoth writing it's awkward binary-xml-shit files every time a change is made.
And no offense, you did not move your library across all those spots without issue. It's frankly not possible. Moving those files causes iTunes to lose it's absolute references to them and you have to do a reimport.
Probably outliers with music libraries in the multi TB range
But for some reason. Apple can't get a decent programmer. Their software sucks. Plain down right sucks. I love using apple hardware but I can't stand any software made by them. (See: Xcode, Itunes, Safari)
If you prefer Emacs/Vim, OK, but I can't see a much better tool than XCode for Objective-C (and arguably C/C++), plus UI building. Version 4 is buggy and crashes, but then again it's a mostly complete rewrite of the old XCode codebase. 4.3 is stabler than previous 4.x releases --it will get better.
As for iTunes, I can't see any problem with it, besides handling a lot of different functionality in one app. Do you see many actual bugs in day to day use? Because using it for almost 10 years, I don't remember any.
Safari, yes, tend to do some stupid things. Though, Chrome, to which I migrated is also based on Apple code for the core engine.
Plus: the OS, Logic, Aperture, Pages, Keynote, all top notch apps.
Apple Safari uses WebKit - a free open source web browser engine. It's not Apple's code, it existed way before Apple got into browser business.
I used Konqueror long before Apple made Safari, so I am aware of the history. It's hardly the whole story though.
Safari uses Webkit, but Apple made Webkit. Webkit did not exist before Apple got into the browsing business. What did exist was khtml made by the KDE project.
That engine was a nice stable base that Apple used to build Webkit upon but it was lightyears behind the Webkit we know. Apple put TONS of work into Webkit and made it into one of the rendering engines that it is today, long before even Google got involved.
Most of Webkit buy the time was Apple's code, including tons of bugfixes, huge performance improvements, all the HTML5 support (heck Canvas is Apple's invention, before it become a standard), css tranformations and animation, and the all-important Javascript engine, which was the first Javascript engine to kick of the speedy javascript JIT race (Firefox followed suit and then come V8).
Apple is intentionally keeping iTunes on Windows a "sub-par" experience to attract more users to move over to MacOS. I think the majority of non-power don't understand the problem is with iTunes specifically, and would say something like "The whole damn computer sucks".
</conspiracy>
Having never been an Mac OS user, I had always assumed they put all their effort into the Mac version, and then did some kind of nasty port and hacked away until a windows version worked. Not a conspiracy theory, so much as a lack of interest from Apple to make a decent windows version.
On windows, I use winamp. It supports my iPod, and actually allows me to listen to and manage my music collection.
Edit: It's been a while since I followed Amarok developments, turns out it's now available multi platform... Starts download on all machines...
I actually think I've heard this one before, especially when the software was just being released on Windows...
And every time a new update comes, I click "update" on the automatic updater hoping that this time they fixed it, but no such luck.
I was so happy when iOS started updating without a computer.
Some of the other problems I've been having: iTunes gives me an alert saying some tracks can not be synced and so the sync process hangs until I close the prompt or manually stop the sync on my iPhone. If I remove a large app on my phone (example: the 1Gb Max Payne game) and then attempt to sync the phone after, iTunes decides to install the app again which means a lengthy transfer of a 1Gb file. If I make a change to my playlist on the phone and sync, two versions of the playlist are created (not always reproducible).
iTunes is a horrible horrible experience on either OS. I've given up using it as a music player, in favor of Ecoute[1]. Pity I still need it for my iPhone.
It takes longer than any other app to power up and then greets you with a "Loading..." routine. In case you get over this it will do it again every time you switch to a different item on the menu, e.g. Search. It's like it's not sure of itself and must phone home before displaying the UI to, I don't know, show a user the "Purchased" screen. Same deal with the App Store and Mail apps. All very clunky.
It wouldn't be too much to ask to cache what has been loaded WHILE the app is running, is it? Or even maybe keep it cached w/o the pictures. Hell, they could maybe poll 50 entries instead of 25 and cache it with no problem (excluding graphics).
While I am at this, WHY does mobile safari have to reload a page every time i switch tabs/press the home button and instantly power it up again? It's not only hugely annoying on a non 3g device, it also makes no sense, you should at least be able to set an interval/turn it off...
I'm still looking for a viable replacement on OSX.
Actually scratch that. More urgently I'm seeking a Finder-replacement that doesn't lock up for seconds at a time all the time. In 2012. On a 2 GHz computer. With a SSD. Truly magical!
You can generate a sysdiagnose report which will contain too much information by pressing ctrl-opt-cmd-shift-. when experiencing a problem. The spindump file inside it is quite readable to a systems programmer and may be helpful.
Seriously, is this HN or YouTube? It's just ridiculous how whiny techs get when it comes to iTunes, OS X and iOS. I can solve an endless stream of technical problems all day with varying requirements and urgency, but syncing my iPhone is such a mystery!
Give me a break. Here: Create a new partition on your drive, install a fresh copy of OS X. Does the Finder still lock up? No? What a surprise. OS X is a preferable OS for some people. It's not going to hold your hand and wipe your ass for you FFS, you still need to put in the slightest bit of effort.
Then the duplicate playlists that appear out of nowhere for whatever reason. But they're only duplicated on the device.
Then there's the need to use a third-party hack to detect and remove dead tracks, or add new ones when I'm not purchasing musing from iTunes. As far as Apple is concerned, I must purchase my music from them, not from Amazon. So something so mundane as a folder watch isn't needed.
It's unfortunate that we love the devices but have no choice but to put up with the horrid crap that is the software.
Now a Windows user hears about all the hoopla about how great Apple interfaces are, looks at iTunes and says "that cannot be true".
It manages all the references incredibly good, picture captions, TOC... it requires more work than Office, but I think is more rewarding.
Also, Word can track revision history on each document. What's the equivalent for LaTeX? A git repo?
The upshot of network effects is that if you work for anybody but yourself, a Windows PC with a moderately recent Microsoft Office is a requirement.
For internal stuff, and papers where our group has sole authorship (and some enlightened partners) we have a very nice set of scripts for auto-generating git repos with all the latex styles and generic skeletons for us.
Given the default behavior of organizing all of your media within the iTunes directory, it makes perfect sense and would be a great feature. I'm sure there are other people more qualified to comment, but my first impression of the problem is that without some clever implementation there would be some major speed issues with large libraries.
I was thinking that you meant live monitoring, i.e. your library would be a reflection of your directory structure with additional metadata stored in unit sections so that it scales better.
I never understood why it has to have a system reboot either, and I'm on a Mac. I don't like rebooting, I just like to let my Mac sleep!
Maybe people were used to reboot their computers 7 years ago but these days, you can entirely work and reboot only for system patches.
But maybe Apple uses a toolkit that is supposed to be compatible with older versions of Windows as well. In that case, just reboot that dinosaur.
Why is there no way to simply change my settings without syncing??
Another annoying "feature" - iTunes handles syncing everything BUT pictures. Why?? Why do I need to open Windows to drag/drop the files in a folder?
The worst problem I've had is error codes when trying to wifi sync, and that was solved by just disabling and reenabling the feature.