[RELEASE] iPhoto Plugin Addon for XBMC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Toxic Man Offline
Junior Member
Posts: 20
Joined: Jan 2012
Reputation: 0
Post: #81
PM Received. loading now...
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #82
Version 1.7.0 has been pushed up to address referenced masters and to gracefully deal with a corrupted add-on database.

-j
find quote
gerdehaas Offline
Junior Member
Posts: 8
Joined: Aug 2011
Reputation: 0
Post: #83
Hi, This addon keeps giving addon database is corrupt you will need to rescan. I do not succeed in doing this as I cannot change the path i.e this path now shows /var/mobile/Pictures/iPhoto Library/ and it should in my opinion be the path to my iMac i.e. users/gerdehaas/Pictures/Iphoto Library/ could you tell me how to fix this? Thanks Gerry




jingai Wrote:This plugin imports an iPhoto library into XBMC. It's a port of d4rk's original iPhoto plugin circa 2008 to XBMC's new addons system.

If someone wants to translate the plugin to other language(s), feel free to do so and send me a patch.

From the README:

iPhoto plugin for XBMC
======================
This plugin imports an iPhoto library into XBMC. After importing, you will see categories that correspond with their iPhoto counterparts:

* Events
* Albums
* Faces
* Places
* Keywords
* Ratings

Configuration
=============
The plugin needs to know where your AlbumData.xml file is. If you haven't explicitly pointed iPhoto to a non-standard library location, the default of "~/Pictures/iPhoto Library/AlbumData.xml" should work fine. Otherwise, please enter in the correct path in the plugin's settings dialog.

The iPhoto plugin can also be configured to ignore certain album types. It is currently hard-coded to ignore albums of type "Book" and "Selected Event Album," but you can choose to ignore also:

* Empty -- albums with no pictures.
* Published -- MobileMe Gallery albums.
* Flagged -- albums flagged in iPhoto's interface.

All of these album types are ignored by default.

If you select "Auto update library", the plugin will compare the modification time of your AlbumData.xml with its current database and update the database automatically on start. This is disabled by default, but is probably what you want after testing the plugin.

You can also choose the view style for albums if you're using the Confluence skin. You may set this to "Image Wrap," "Pic Thumbs," or "Default". If you choose "Default," it will preserve whatever view mode you have chosen in XBMC for each album; otherwise, it will force the view style to the one selected
here.

About Places support
====================
If the plugin is configured to support the Places feature of iPhoto, it will parse the latitude/longitude pairs in iPhoto's database and look up the corresponding addresses using Google.

If Google reports one or more businesses near the coordinates, the plugin will use the name of the nearest business for the address to show in the Places category. Otherwise, the street address will be used. In both cases, the post code and country identifier are appended to the result.

The Places feature also downloads map images to display while you're browsing the Places category. Normally, you won't need to do anything to get this feature, besides enabling it in the plugin configuration. But, if you import your library many times within one day, Google may block you from retrieving map images. If you receive a map image with a red X over it, the plugin won't re-download the map until you clear the map image caches. You can do so by selecting "Remove cached maps" from the context menu of the Places category.

Translations
============
If you'd like to help translate this plugin to another language, please send a patch to jingai at floatingpenguins dot com.

If possible, patch against the most recent version at:

http://github.com/jingai/plugin.image.iphoto

Known Issues
============
* Sorting by Date sorts on the file date, not the EXIF date.
See http://trac.xbmc.org/ticket/10519
* Need icons for Faces, Places, and Keywords.
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #84
gerdehaas Wrote:Hi, This addon keeps giving addon database is corrupt you will need to rescan. I do not succeed in doing this as I cannot change the path i.e this path now shows /var/mobile/Pictures/iPhoto Library/ and it should in my opinion be the path to my iMac i.e. users/gerdehaas/Pictures/Iphoto Library/ could you tell me how to fix this?

You have to tell the addon where your library is. It will guess "~/Pictures/iPhoto Library" if you don't provide a path. It otherwise cannot know where your library is.

Either select "Add-on Settings" from the context menu or go to System->Settings->Addons and navigate to the iphoto addon to configure it.

-j
find quote
gerdehaas Offline
Junior Member
Posts: 8
Joined: Aug 2011
Reputation: 0
Wink  Editing location Post: #85
jingai Wrote:You have to tell the addon where your library is. It will guess "~/Pictures/iPhoto Library" if you don't provide a path. It otherwise cannot know where your library is.

Either select "Add-on Settings" from the context menu or go to System->Settings->Addons and navigate to the iphoto addon to configure it.

-j

Thanks for kind advice, but somewhere I am missing the clue. In my opinion I should be able to edit the path, but there is no way I can do this. Could you give me a short guideline how to edit this? I have all possible connections with my iMac from the ATV2 including access to my movies from the Atv2 in XBMC but somehow I am missing the clue for iPhoto addon thanks Gerry
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #86
gerdehaas Wrote:Thanks for kind advice, but somewhere I am missing the clue. In my opinion I should be able to edit the path, but there is no way I can do this.

I assume you mean as opposed to bringing up the file browser and choosing the path. I agree, honestly, but that's not my add-on's fault.

gerdehaas Wrote:Could you give me a short guideline how to edit this? I have all possible connections with my iMac from the ATV2 including access to my movies from the Atv2 in XBMC but somehow I am missing the clue for iPhoto addon thanks Gerry

I'm going to assume you're on an AppleTV2 or iPhone/iPad/etc given the path the add-on chose by default. For these devices, you need to add a dummy video source with the smb or afp path to the library to be able to navigate to it from within the add-on. Just set the source to have no scraper and it won't try to actually import the items into your library.

After you've added the video source, open the add-on settings and point the add-on at the location of your library -- the path to "iPhoto Library".

On devices with full operating systems (aka computers), you could simply mount the network share via the OS, but on iOS devices that's a bit more involved, so I suggest you do it via the dummy video source.

-j
find quote
JUICESIX90 Offline
Member
Posts: 75
Joined: Sep 2008
Reputation: 0
Post: #87
Excellent plug-in thank you for your hard work. Had it set up in just a few minutes.

I do have a question though. Should I be seing previews of the images in my library? At the moment I just get the place holder icon. Except for the movies that is, they show up ok.

My library is shared via ftp, my my openelec linux setup, to my mac iPhoto (latest ilife version) library.
find quote
perscitus Offline
Junior Member
Posts: 2
Joined: Feb 2012
Reputation: 0
Post: #88
Hi jingai.

I can only imagine how much work you have put into the iPhotos plugin, and I have seen your answer regarding Aperture support ...link below.

http://forum.xbmc.org/showthread.php?tid=70363

I have been looking for a solution my self....and came over this script for PS3 mediaserver.

http://www.ps3mediaserver.org/forum/view...11&t=11539

It looks like someone made a simple way of looking into the Aperture database, rewriting an iPhoto script.

Could this be part of the solution you were asking for in the thread about Aperture support?

I would just love if that came to be ;O)

Good work...in any case!

\perscitus
find quote
smiller29 Offline
Junior Member
Posts: 22
Joined: Jan 2012
Reputation: 0
Post: #89
JUICESIX90 Wrote:Excellent plug-in thank you for your hard work. Had it set up in just a few minutes.

I do have a question though. Should I be seing previews of the images in my library? At the moment I just get the place holder icon. Except for the movies that is, they show up ok.

My library is shared via ftp, my my openelec linux setup, to my mac iPhoto (latest ilife version) library.

I am having the same issue the thumbnails don't show up if I tell it to regenerate them it does but they don't stay there. if you leave the plugin and come back they are gone. I am using the plugin on Beta 2 and ATV2 and OSX and it is happening on both. I also use a MySQL DB that is shared with both installs of xbmc. Is this the way this was designed to work or should it save the thumbnails?
(This post was last modified: 2012-02-09 20:40 by smiller29.)
find quote
jingai Offline
Skilled Skinner
Posts: 873
Joined: Mar 2010
Reputation: 6
Post: #90
JUICESIX90 Wrote:Excellent plug-in thank you for your hard work. Had it set up in just a few minutes.

I do have a question though. Should I be seing previews of the images in my library? At the moment I just get the place holder icon. Except for the movies that is, they show up ok.

My library is shared via ftp, my my openelec linux setup, to my mac iPhoto (latest ilife version) library.

Yes, you should be seeing thumbnails. Please enable debugging and send me your debug log.

If you don't mind, it'd be helpful to see your AlbumData.xml as well.

-j
find quote
Post Reply