Posts: 15
Joined: Jul 2009
Reputation:
0
I´m running XMC Live 10.1 Dharma.
The iPhoto Database is on a Mac running 10.6.8.0 / iPhoto 2011 and is shared via SMB.
I´ve installe the plugin today / Version 1.4.5.
In the configuration of the plugin i switched to the SMB share wich I added before in Videos.
So far so good.
But now when I click in Pictures and open the Plugin 1.4.5 i see Folders like "Albums" "Faces" ect. and I see in the right up "Script failed: addon.py"
This is a XBMC Live 10.1 Dharma without any changes downloaded Image today from xmbc.org.
Are you sure that your script is running out of the box via XBMC Live?
It seems that it isn´t so.
Does anyone have a solution for me?
Posts: 15
Joined: Jul 2009
Reputation:
0
Here are the last lines from the xbmc.log
21:35:46 T:2194590576 M:1900367872 NOTICE: -->Python Interpreter Initialized<--
21:35:48 T:2194590576 M:1899855872 NOTICE: {'action': 'albums'}
21:35:48 T:2194590576 M:1899855872 NOTICE: 'albumid'
21:35:48 T:3077498752 M:1899855872 ERROR: GetDirectory - Error getting plugin://plugin.image.iphoto/?action=albums
21:35:48 T:3077498752 M:1899855872 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.iphoto/?action=albums) failed
21:35:50 T:3077498752 M:1899765760 ERROR: Texture manager unable to load file: /home/dba/.xbmc/addons/plugin.image.iphoto/resources/icons/faces.png
21:35:52 T:2205080432 M:1899765760 NOTICE: -->Python Interpreter Initialized<--
21:35:55 T:2205080432 M:1899765760 NOTICE: {'action': 'albums'}
21:35:55 T:2205080432 M:1899765760 NOTICE: 'albumid'
21:35:55 T:3077498752 M:1899761664 ERROR: GetDirectory - Error getting plugin://plugin.image.iphoto/?action=albums
21:35:55 T:3077498752 M:1899761664 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.iphoto/?action=albums) failed
21:35:59 T:2845911920 M:1899937792 NOTICE: -->Python Interpreter Initialized<--
21:36:01 T:2845911920 M:1899929600 ERROR: Error Type: exceptions.IOError
21:36:01 T:2845911920 M:1899929600 ERROR: Error Contents: (2, 'No such file or directory', 'smb://dba:mypassword@iMac/Pictures/AlbumData.xml')
21:36:01 T:2845911920 M:1899929600 ERROR: Traceback (most recent call last):
File "/home/dba/.xbmc/addons/plugin.image.iphoto/addon.py", line 574, in ?
copyfile(origxml, tmpfile)
File "/usr/lib/xbmc/system/python/python24.zip/shutil.py", line 47, in copyfile
fsrc = open(src, 'rb')
IOError: (2, 'No such file or directory', 'smb://dba:mypassword@iMac/Pictures/AlbumData.xml')
Posts: 15
Joined: Jul 2009
Reputation:
0
Yes i did - in the Configuration it sais: "choose the path to the database" but this is wrong i have to choose the database itself:
not "smb://dba:mypassword@iMac/Pictures"
so it works: "smb://dba:mypassword@iMac/Pictures/iphoto database"
Posts: 239
Joined: Nov 2010
Reputation:
1
Just a quick shout out of thanks ! Am running your plugin on current git head of xbmc as of last night on linux on an atv 1. I can tell you that accessing via AFP to my networked mac running lion it works great!
You're right, it is kinda wonky having to first access the directory under "Add Video Source" in order to set the path via the iPhoto plugin but once you get your head wrapped around that ... works great! Would be the creme' de la creme' if one could navigate right from the plugin add source dialog but its not too big of a deal.
Well done!
Posts: 2,441
Joined: Mar 2010
Reputation:
54
jingai
Skilled Skinner
Posts: 2,441
Thanks for the kind words. Always nice to hear that it's working well for others too.
-j