[RELEASE] iTunes and iPhoto integration plugins for XBMC - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148) +---- Thread: [RELEASE] iTunes and iPhoto integration plugins for XBMC (/showthread.php?tid=37313) |
- Boseman - 2010-01-06 interceptor121 Wrote:In my case the plugin seems to work either with local or remote iPhoto library I get a nice progress bar with 1347 pictures So the fact that it imports the library is a good step that takes you half way there. My experience with the null physical pictures was solved in a different manner than you describe. The simple way to solve it for me was to assure that I had the proper symlinks in place to point to the photo's. The Albumdata.xml has physical pointers to the actual photo. So when the plugin is resolving the location of the physical photos, it relies on the proper drive mount setup on the Appletv. This needs to be the full path name as you find on your Mac. See the following for details. While I wrote this a while back, the principles still hold true. I use the same method with the host as SL. http://forum.xbmc.org/showpost.php?p=304914&postcount=52 How do you mount the iPhoto Library drive.... afp, smb, or thru XBMCs smb client? - interceptor121 - 2010-01-06 AFP And I have tried mounting the whole drive, the users folder, my home folder it still fails with your method Can it have anything to do with the fact that my drive is called Macintosh HD and maybe it does not like the space? Just for confirmation do you connect as guest or as user to the AFP share? - Boseman - 2010-01-06 pecinko Wrote:Right. Local library in a default location. Running XBMC 9.11, on 10.5.8 and trying to import iPhoto 8.1.1 (419) library. Hmmmm, so you got me. If everything is Apple default, I believe the iPhoto plugin should just work. The default.py for the plugin looks for the Albumdata.xml at os.getenv("HOME")+"/Pictures/iPhoto Library/AlbumData.xml" which is the default. Albumdata.xml should have an active path of /Volumes/Macintosh HD/Users/<username>/Pictures/iPhoto Library/ Are there any strange permissions that might be getting in your way? Is the library a "shared" library in iPhoto? - Boseman - 2010-01-06 interceptor121 Wrote:AFP Guest with NitoTV automount. It has to be the full drive, since Albumdata.xml is looking for /Volumes/Macintosh HD/....... (if that is what you have it on). Of course, the complete path has to be "shared" on your Mac. The sym link to your iPhoto Library package seems OK since it finds it and imports OK. I would think it has something to do with the pointers from Albumdata.xml to the physical photos. When you ls -al /Volumes on the ATV do you see Macintosh HD? Then in your Albumdata.xml file, is your active path /Volumes/Macintosh HD/...... and can you follow that same path to the iPhoto Library on the AppleTV? - interceptor121 - 2010-01-06 I can see Macintosh HD and all the mounts just fine However inside Albumdata.xml the path is not /volumes/macintosh HD/users but just /users/username/pictures So I guess that is where the problem is As I said I am sure that if I move the iPhoto library on a network share it will be fine - Boseman - 2010-01-07 interceptor121 Wrote:I can see Macintosh HD and all the mounts just fine Mine is on an external drive and it's fine. Interesting, so the question is how do we fool the ATV/plugin. What if you sym link your Macs username into /Users on the ATV. Something like: ln -a /mnt/Scratch/Volumes/Macintosh\ HD/Users/<username> /Users/<username> That should give the iPhoto plugin the same path as what Albumdata.xml has? - interceptor121 - 2010-01-07 Yep that works I see now a symlink to username in scratch users which does the job I should have got there myself anyway this is I believe 99% of the configuration of a typical user not putting the library on an external drive Thank you Quite funny I embarked trying to fix this for fun as I have all my media on a UPnP NAS...where I also have an itune server via mt-daapd The only thing that is weird is that the performance of the NAS on picture is crap (probably because they are many small files?) while on the iPhoto Library technique is very good despite accessing a mac book - Boseman - 2010-01-07 interceptor121 Wrote:Yep that works Glad it worked for you. Good to know that if its on the local/default drive, there is no /Volume reference in the Albumdata.xml. Makes sense. - interceptor121 - 2010-01-07 I think the iTunes library is different In that case you can see localhost/users/username Not sure I should start playing with this now! Anyway going back to the iPhoto discussion what is the advantage of this plug in? I mean ok you don't have to copy the pictures on the ATV but pictures are quite strange animals in that are small files and many so maybe keeping the stuff local on the ATV is better? - interceptor121 - 2010-01-07 Actually playing with my media server I disabled picture rescaling and now it flies Having a NAS is much better than trying to share from computers though my NAS has no AFP the fact that XMBC supports Daapd and UPnP solves all issues - Boseman - 2010-01-07 Actually, iTunes handles its library management differently. It seems the iTunes library points right to the actual music no matter where it is. So the key there is just to sym link the /Users/<username>/Music/iTunes folder into the ATV /Users/frontrow/Music folder. ln -a /mnt/Scratch/Volumes/HD\ Macintosh/Users/<username>/Music/iTunes /Users/frontrow/Music As for an opinion. I really don't use either of these plugins anymore. The iTunes plugin is lacking in information(no thumbs, mp3 tags, etc) and the iPhoto just seems slow to me. So for music/photo integration I use the Apple TV software and interface. Just seems more integrated to me for slideshows and music on my AppleTV connected TV. There is hope tho. Davilla, one of the premier XBMC OS X developers, seems to have something in the works. http://forum.xbmc.org/showpost.php?p=441940&postcount=113 - ilgaspa - 2010-01-07 I think I have the same problem as zarch :| When I press "Import my iphoto library" nothing happens... here are the contents of my log.. any clue on what it can be? :| Code: 14:08:50 T:2691921152 M:2357309440 ERROR: Unable to load: special://home/plugins/pictures/iPhoto/resources/settings.xml, Line 0 - steve1977 - 2010-01-07 Boseman Wrote:I know folks are struggling with this and I am sure there are issues, but I do have this successfully working on SL so here goes, hope it helps: Narrowing down the problem. It appears to work on iPhoto 8, but not on 9. Can anyone confirm this? Anyone running iPhoto 9 with a working iPhoto plugin? - interceptor121 - 2010-01-07 I have iPhoto 8. The integration works with both XBMC 9.04 and 9.11 - pecinko - 2010-01-08 Boseman Wrote:Are there any strange permissions that might be getting in your way? Is the library a "shared" library in iPhoto? I don't think so. No, library is not shared. It was working couple-of-iPhoto-updates ago, on 9.04 final. |