Quote:
Originally Posted by kovidgoyal
I'm glad to hear that it does have this. Do you have a link to some documentation about this system. I can always write a python extension to use cocoa, or ship pyobjc with libprs500.
|
http://www.oreillynet.com/pub/a/mac/...yobjc_one.html
Look for NSWorkSpace on this page. This code is a python example of how one would do what i was talking about.
I suppose in the case of the 505's internal memory, one would look for say,database/media|cache|sync on whatever path the notification gives the handler there (
Code:
path = aNotification.userInfo()['NSDevicePath']
in that example) and run with it...process the metadata in cache/media.xml...get a raw file listing, etc/whatever.
Hope that help in some way
-K