#54
Verified
Loading artwork bug
Reported by hyder on TuneConnect for Mac/PC · 23/02/2008 14:03:26
- Assigned to:
- Matt Patenaude
- Priority:
- Normal
- Status:
- Verified
- Category:
- General Malfunction
- Version:
- 2.0 RC 1
- Platform:
- 10.4.11, 2G Duo (c), 1GHz G4 (s)
I have one album that the artwork won't show on TC. 'Tis there on the server computer, but the just has a white blank for the artwork.
I've attached the offending artwork, but I am not sure a "pictClipping" will allow you to debug.
Nothing in the consoles of either machine, except the oasscript error I get for every song change.

Matt Patenaude
6 months ago
I have the same problem with two albums on mine as well. It's very isolated, so I'm not sure how to go about debugging it, but I'll see if I can figure it out.
hyder
6 months ago
I figure it must have something to do with the artwork file itself. You don't see a different file type or anything? (on the few that don't work)
Matt Patenaude
6 months ago
I'll check it out in just a sec'. It could be that I am just sending the wrong file type.
Matt Patenaude
6 months ago
I have absolutely no clue. The type is being sent correctly, but somehow the data isn't being read properly. I'll snoop around some code in other frameworks, and see if I can get a........... wait a minute! :D
PyObjC to the rescue. Let me see what I can do.
Matt Patenaude
6 months ago
Well I still have no clue what's causing it, though I have accomplished a victory in a different way. :)
I found a way to get the artwork data directly in a form that's useful to me, that Python can natively understand, and now I no longer need to write a temporary file for the artwork. So a) I ditched all of the AppleScript left in the server (which means no more osascript errors for you :)), b) I avoided any potential write permissions problems, and c) it's a little bit faster.