Open MarkCallow opened 7 years ago
I changed a few lines in addon.py for it to work somehow (I manage to see my "moments" now) I changed line 67 to self.photo_app_db_file = self.photo_app_path + 'Database/Photos.db' and line 76 to database_copy = xbmc.translatePath(os.path.join(addon.getAddonInfo("Profile"), "Photos.db"))
I also added manually my library path in resources/settings.xml
I also checked the option to copy the database in the home folder when configuring
Seems Addon not working for latest Photos 7.0 either.
I've tried the changes you suggested @Karimchakroun but the error logs simply displays:
2021-12-23 13:47:44.990 T:140597941339904 ERROR: GetDirectory - Error getting plugin://plugin.image.photoapp/?action=moments
2021-12-23 13:47:45.000 T:140599737402240 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.photoapp/?action=moments) failed
2021-12-23 13:47:47.535 T:140597951715072 ERROR: GetDirectory - Error getting plugin://plugin.image.photoapp/?action=albums&folderUuid=TopLevelAlbums
2021-12-23 13:47:47.537 T:140599737402240 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.photoapp/?action=albums&folderUuid=TopLevelAlbums) failed
2021-12-23 13:47:49.246 T:140597941339904 ERROR: GetDirectory - Error getting plugin://plugin.image.photoapp/?action=slideshows&folderUuid=TopLevelSlideshows
2021-12-23 13:47:49.253 T:140599737402240 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.photoapp/?action=slideshows&folderUuid=TopLevelSlideshows) failed
2021-12-23 13:47:50.601 T:140597951715072 ERROR: GetDirectory - Error getting plugin://plugin.image.photoapp/?action=albums&folderUuid=TopLevelAlbums
2021-12-23 13:47:50.618 T:140599737402240 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.photoapp/?action=albums&folderUuid=TopLevelAlbums) failed
Here's the Kodi log content after clicking "Moments"
I do have the location set correctly to my Photos' library.
Do you plan to continue work on this plug-in? The most recent change is almost a year ago.