2010-07-24, 23:25
I've just patched the iPhoto plugin to use DialogProgress to prevent the script error when you import the iPhoto library.
But, it's extremely slow. I'm passing the progress dialog to a callback to update it. It takes roughly 45 seconds to import my library if I do this versus 3-4 seconds if I don't.
However, if I call the library update function prior to displaying the root directory, it runs in 3-4 seconds like it should, even with the progress dialog.
Anyone have any ideas? Source is at git://github.com/jingai/plugin.image.iphoto.git if you'd like to have a look.
I'm testing on XBMC r32042. I see the same behavior on both MacOS X and Linux, both with and without debugging enabled.
There are no errors in the log, either.
Thanks,
Jonathan
But, it's extremely slow. I'm passing the progress dialog to a callback to update it. It takes roughly 45 seconds to import my library if I do this versus 3-4 seconds if I don't.
However, if I call the library update function prior to displaying the root directory, it runs in 3-4 seconds like it should, even with the progress dialog.
Anyone have any ideas? Source is at git://github.com/jingai/plugin.image.iphoto.git if you'd like to have a look.
I'm testing on XBMC r32042. I see the same behavior on both MacOS X and Linux, both with and without debugging enabled.
There are no errors in the log, either.
Thanks,
Jonathan