[RELEASE] iPhoto Plugin Addon for XBMC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jayhawk785 Offline
Aeon Group
Posts: 230
Joined: Oct 2008
Post: #21
Fixed mine by downloading:

http://anarchintosh-projects.googlecode....2.0.10.zip

and installing it via xbmc. Awesome plugin.

Thanks.
find quote
jingai Offline
Skilled Skinner
Posts: 888
Joined: Mar 2010
Reputation: 8
Post: #22
jayhawk785 Wrote:Fixed mine by downloading:

http://anarchintosh-projects.googlecode....2.0.10.zip

and installing it via xbmc. Awesome plugin.

Thanks. That's kind of worrisome that it didn't install the dependency on its own, but glad you got it sorted.

For you ATV2 users out there, the new version has been pushed up (1.4.4 for dharma and 1.5.1 for eden-pre) which should get things going for you.

-j
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #23
i've added it to the eden-pre repo now.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jingai Offline
Skilled Skinner
Posts: 888
Joined: Mar 2010
Reputation: 8
Post: #24
spiff Wrote:i've added it to the eden-pre repo now.

Thanks bunches!

He was claiming that simplejson didn't automatically install on dharma, though. Any idea why? I've got it listed as a dependency in the addon.xml.

-j
find quote
Pavla Offline
Junior Member
Posts: 3
Joined: May 2011
Reputation: 0
Post: #25
Unfortunately, the update brakes functionality for me. On starting up an error about addon.py shows up. This is shown in the log, but it's unclear to me what's wrong. I'm running XBMC on snow leopard on a macbook pro.

Code:
14:27:41 T:2953850880 M:288849920  NOTICE: -->Python Interpreter Initialized<--
14:27:41 T:2953850880 M:288849920   ERROR: Error Type: exceptions.SyntaxError
14:27:41 T:2953850880 M:288849920   ERROR: Error Contents: ('invalid syntax', ('/Users/hildebrandsoethoudt/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py', 77, 13, "    with open(filename, 'rb') as f:\n"))
14:27:41 T:2953850880 M:288808960   ERROR:   File "/Users/hildebrandsoethoudt/Library/Application Support/XBMC/addons/plugin.image.iphoto/addon.py", line 77
                                                with open(filename, 'rb') as f:
                                                        ^
                                            SyntaxError: invalid syntax
14:27:42 T:2691777856 M:288108544   ERROR: GetDirectory - Error getting plugin://plugin.image.iphoto/
14:27:42 T:2691777856 M:288108544   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.iphoto/) failed

Edit: I just found out that snow leopard has a 2.6.1 python in /usr/bin/ and that I have version 2.7 in /Library/Frameworks/Python.framework/Versions/2.7/bin/python
It seems XBMC is shipped with its own python version, 2.4. And that version doesn't support the 'with ... as' syntax used. (it's supported since version 2.5, as stated in this thread: http://stackoverflow.com/questions/26850...hon-newbie)
(This post was last modified: 2011-05-13 15:11 by Pavla.)
find quote
jingai Offline
Skilled Skinner
Posts: 888
Joined: Mar 2010
Reputation: 8
Post: #26
Pavla Wrote:Edit: I just found out that snow leopard has a 2.6.1 python in /usr/bin/ and that I have version 2.7 in /Library/Frameworks/Python.framework/Versions/2.7/bin/python
It seems XBMC is shipped with its own python version, 2.4. And that version doesn't support the 'with ... as' syntax used. (it's supported since version 2.5, as stated in this thread: http://stackoverflow.com/questions/26850...hon-newbie)

Yes, I just realized that. Very sorry -- I could have sworn I had tested it with dharma, but I was kind of tired that night.. next time I'll just be more patient..

I have a patch that makes it work on dharma now though. I'll push it up shortly.

-j
find quote
jingai Offline
Skilled Skinner
Posts: 888
Joined: Mar 2010
Reputation: 8
Post: #27
1.4.5 is up, which should get it working again for stable users (I did test this time lol).

Apologies for the goof.

-j
find quote
NewFolk Offline
Junior Member
Posts: 31
Joined: Jan 2011
Reputation: 0
Post: #28
Hello, will your script work with win7 if I copy iPhoto library?
find quote
NewFolk Offline
Junior Member
Posts: 31
Joined: Jan 2011
Reputation: 0
Post: #29
Just copy and run scrip, and I have the same error log to pavla. Have Drahma latest stable release win7, script ver 1.4.5
find quote
Pavla Offline
Junior Member
Posts: 3
Joined: May 2011
Reputation: 0
Post: #30
jingai Wrote:1.4.5 is up, which should get it working again for stable users (I did test this time lol).

Apologies for the goof.

-j

Many thanks! It's working for me again Smile
find quote
Post Reply