iTunes playlist bug report (with workaround)

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

A persistent bug was troubling me. I've figured out what causes it, so I'm posting this here to inform Mr. Noodle, and to help anyone searching the forums.

The problem: I had Hazel set to add mp3 files to a certain playlist in iTunes. At some point, it stopped working: the songs would be added to iTunes, but not to the playlist. The logs showed this error message:
2009-11-18 13:21:38.410 hazelfolderwatch[9323] iTunes import error: {
NSLocalizedDescription = "iTunes got an error: File permission error.";
NSLocalizedFailureReason = "File permission error.";
OSAScriptErrorAppAddressKey = <NSAppleEventDescriptor: 'psn '("iTunes")>;
OSAScriptErrorAppNameKey = iTunes;
OSAScriptErrorBriefMessageKey = "File permission error.";
OSAScriptErrorMessageKey = "iTunes got an error: File permission error.";
OSAScriptErrorNumberKey = -54;
OSAScriptErrorRangeKey = NSRange: {0, 0};


Diagnosis: Eventually, I discovered that this happened because I have two playlists with the same name—one a regular playlist and one a Smart Playlist. Maybe Hazel was trying to add the files to the Smart Playlist....

Anyway, renaming the Smart Playlist solved the problem. But it would be helpful if Hazel could check for this situation and prefer the non-smart playlist. Even a more descriptive error message, such as 'Hazel can't add files to Smart Playlists,' would have helped me troubleshoot this more quickly.

By the way, thanks for Hazel—it's a great program.
saagpaneer
 
Posts: 4
Joined: Wed Nov 11, 2009 7:20 pm

Hazel is only reporting back what iTunes tells it is wrong. Looking at that error, it could mean a bunch of things, not just a playlist name clash and Hazel can't really interpret that for you, since, most of the time it would probably be wrong and even more misleading. Ultimately, it's up to iTunes to provide more accurate errors.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Hazel is only reporting back what iTunes tells it is wrong. Looking at that error, it could mean a bunch of things, not just a playlist name clash and Hazel can't really interpret that for you, since, most of the time it would probably be wrong and even more misleading. Ultimately, it's up to iTunes to provide more accurate errors.


Good day. I ran into this error EVERY time I import a TV Show into Itunes. All other media is fine for me (movies, music, etc).

here is what I get:
Code: Select all
2011-09-24 10:28:40.771 hazelfolderwatch[61581] The Big Bang Theory - S05E01.m4v: Rule Move to Itunes matched.
2011-09-24 10:28:40.819 hazelfolderwatch[61581] [Error] iTunes import failed: Could not add file /Users/username/Movies/Hazel Move to Itunes/The Big Bang Theory - S05E01.m4v to iTunes.
2011-09-24 10:28:40.819 hazelfolderwatch[61581] iTunes import error: {
    NSLocalizedDescription = "iTunes got an error: File permission error.";
    NSLocalizedFailureReason = "File permission error.";
    OSAScriptErrorAppAddressKey = <NSAppleEventDescriptor: 'psn '("iTunes")>;
    OSAScriptErrorAppNameKey = iTunes;
    OSAScriptErrorBriefMessageKey = "File permission error.";
    OSAScriptErrorMessageKey = "iTunes got an error: File permission error.";
    OSAScriptErrorNumberKey = -54;
    OSAScriptErrorRangeKey = NSRange: {0, 0};


BUT, the import finishs, but the file stays in the hotfolder, causing it to fail over and over and over again.

Any ideas?

Alright. I think i figured it out. Forums ARE AWESOME.

I post is here in case someone else runs into the problem.

I was moving tagged TV shows into the movies playlist. Thats why it failed. If its tagged already, just add it into the 'library' and its good to go. I feel dumb.
HackerJL
 
Posts: 31
Joined: Thu Sep 22, 2011 6:28 pm


Return to Support