(2012-04-20, 22:54)ctawn Wrote: I just moved most of my userdata folder (database and thumbnails in particular) over from a Mac to an ATV2. I'm trying to sort out a few remaining issues and one of them is with this (excellent) plugin.
So a few questions:
1. how do I purge the data that was carried over from the Mac, including the thumbnails?
From the context menu inside the plugin you can tell it to purge the database and to purge the map files it cached.
Purging the database is really kind of useless in your case though since it gets rewritten entirely whenever you import your library -- the option is really there as kind of a failsafe in case something odd happens to the database that prevents the plugin from working at all.
Purging the map files might be useless as well since you're still pointing to the same iPhoto library (they should all still be valid).
Thumbnails are handled in XBMC itself. Unfortunately there is no easy way currently to tell XBMC to clean out the Thumbnails folder of unused images. Your only easy option is to delete the folder entirely and have XBMC regenerate all of your thumbs currently. I believe there is a utility someone wrote for Windows that will purge unused thumbs from the folder, but I haven't personally used it. That said, since the iPhoto library itself hasn't changed, the thumbnails it cached should still be valid anyway.
My plugin doesn't store any of your images locally. When you select Import Library it is actually just scanning your AlbumData.xml file and storing information and references to your actual images in a local database. My current database is 1.4MB and I've got 4000+ photos.
In short: you don't really have to do anything for my plugin when you move it to another machine. You can even omit copying the files from addon_data and it will just reconstruct it all the next time you select Import Library.
(2012-04-20, 22:54)ctawn Wrote: 2. assuming I manage to add my iPhoto library on my Mac using afp:// (have not yet tried due to #1 above), will importing the library import original size photos or just thumbnails or what? Obviously I'm concerned about storage space on the ATV2 in a way that I wasn't on the Mac!
As noted above, it doesn't actually copy any of your images to the local filesystem. The thumbnails are cached by XBMC, but there is nothing you need to do within my plugin to save space.
To give you an idea, on my library of 4000+ photos, my plugin utilizes a total of 1.5MB of space on the local filesystem.
-j