Posts: 15
Joined: Oct 2015
Reputation:
1
For all people that miss a plugin that allows to view the OS X Photo App library (mac) from within XBMC there is good news. The Plugin PhotoApp will be released in a few days.
The Plugin supports the categories Moments, Albums, Slideshows (Faces and Places will need some more time).
The latest release is available in the official XBMC add-on repository. If you would like to help with the add-on or provide translations, the source code will be available here.
Posts: 55
Joined: Apr 2014
Reputation:
0
Is there any beta we can test until you release the final version?
Posts: 15
Joined: Oct 2015
Reputation:
1
Thank you for this offer.
I will send you a link to the zip file with the beta this evening.
Posts: 55
Joined: Apr 2014
Reputation:
0
For me it’s not working. My Kodi runs on Windows and I try to connect via SMB to my Mac. I get an error because not finding the Library.apdb. Running Kodi on the Mac works but it’s not what I want. I tried to copy the Photo.Library onto the Windows PC to get local access but I cannot do that. Probably a problem with the structure of that file?
Posts: 15
Joined: Oct 2015
Reputation:
1
I did not try test the windows-smb-mac configuration yet. I am going to do that...
Did you set the correct path to the photo library in settings?
Can you send me your settings file?
Can you send me the error message from the log file?
Posts: 15
Joined: Oct 2015
Reputation:
1
Apple OS X photo app uses a sqlite database to store information about your photos, albums and slideshows (iPhoto used XML files for that). This database is stored in the photo library and needs to be read by the add-on and this seems to be a problem.
According to some internet posts it is not recommended to access a sqlite database over an smb share (there are problems with database locks, possible data damage and performance issues).
Therefore the chances that this will ever work are not too good. However I will do some more investigations...
Posts: 2,441
Joined: Mar 2010
Reputation:
54
jingai
Skilled Skinner
Posts: 2,441
One thing you could probably do is have the addon copy over the database to the local machine first and store it in the addon data folder. Store the modification date of the database file and then compare it against your local copy and you'll only have to copy it when it has changed.
Posts: 15
Joined: Oct 2015
Reputation:
1
I added a new version that can make a local copy of the remote PhotoApp database. This can be activated in the addon settings.
@hidalgo67: can you try if this works?
@ jingai: thank you for the hint!
Posts: 15
Joined: Oct 2015
Reputation:
1
When I look at your logfile I would guess you did not activate the local copy flag in the addon settings (the databas path is still an smb path, but it should be a local path now).
Did you activate the flag?
Posts: 15
Joined: Oct 2015
Reputation:
1
Ok, we are getting closer... ;-)
Now it seams, there ist a problem with making the database copy or creating the folder that holds the database copy (it works on my mac). Can you please check if the folder "C:\Users\pvr\AppData\Roaming\Kodi\userdata\addon_data\plugin.image.photoapp\" already exists? If it is not there can you try to create it manually?
Posts: 55
Joined: Apr 2014
Reputation:
0
Yes, the folder exists. It also creates the copy of the database file