abrenoch / piwigo-kodi Goto Github PK
View Code? Open in Web Editor NEWA Piwigo plugin for Kodi
License: GNU General Public License v3.0
A Piwigo plugin for Kodi
License: GNU General Public License v3.0
Right now paging is not utilized in any way, this should be changed to be user definable.
I had to change the default config url from http://www.piwigo.org/demo to http://fr.piwigo.org/demo to be able to open the addon in Kodi. It looks like the site structure has been changed. The error message is not specifying the URL error, so a new user might struggle to detect the issue.
I used kodi Kodi “Leia”,follow the piwigo-kodi‘s wiki ,down load the zip file,and install it succeed.I apply the correct info with my piwigo site in the plugin confiue zone,and login succeed.
I can browse the picture list,but when i click to view the picture,it just show a black screen
I put the plugin on kodi 15.2 and piwigo 2.7.4
I've got an error: "There was a problem communicating with the server. Please check the configuration".
The url/login/password are fine.
Had a user report issues installing the plugin to Helix, I haven't tried this yet myself
Kodi v15 errors with:
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'os' is not defined
Traceback (most recent call last):
File "C:\Users\Dave7\AppData\Roaming\Kodi\addons\plugin.image.piwigo\addon.py", line 20, in <module>
if os.access(cookie_filename, os.F_OK):
NameError: name 'os' is not defined
-->End of Python script error report<--
There may be an issue viewing the galleries of images that have been uploaded (reported using the lightroom plugin)
I'm unsure how active this project is, but the kodi19 branch is recently updated, so I tried it out. Running on CoreElec (Kodi 19) on an Odroid N2.
I'm trying to connect to my piwigo album, hosted by piwigo. It has been updated to the recently-released version 12.
In the GUI, I'm opening the piwigo addon. This displayes two "options", one back option (marked "...") and one un-named folder. Upon selecting the folder, at first, I got the following error :
2021-12-22 22:43:19.342 T:7010 INFO <general>: initializing python engine.
2021-12-22 22:43:20.962 T:7010 INFO <general>: CPythonInvoker(39, /storage/.kodi/addons/plugin.image.piwigo/addon.py): script successfully run
2021-12-22 22:43:21.441 T:7010 WARNING <general>: CPythonInvoker(39, /storage/.kodi/addons/plugin.image.piwigo/addon.py): the python script "/storage/.kodi/addons/plugin.image.piwigo/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE
2021-12-22 22:43:21.441 T:7010 INFO <general>: Python interpreter stopped
2021-12-22 22:43:30.578 T:7017 INFO <general>: initializing python engine.
2021-12-22 22:43:30.802 T:7017 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: module 'xbmc' has no attribute 'LOGNOTICE'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.image.piwigo/addon.py", line 288, in <module>
xbmc.log("syncServer now ...",level=xbmc.LOGNOTICE)
AttributeError: module 'xbmc' has no attribute 'LOGNOTICE'
-->End of Python script error report<--
2021-12-22 22:43:31.283 T:7017 WARNING <general>: CPythonInvoker(40, /storage/.kodi/addons/plugin.image.piwigo/addon.py): the python script "/storage/.kodi/addons/plugin.image.piwigo/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE
2021-12-22 22:43:31.284 T:7017 INFO <general>: Python interpreter stopped
2021-12-22 22:43:31.301 T:7016 ERROR <general>: GetDirectory - Error getting plugin://plugin.image.piwigo/sync
2021-12-22 22:43:31.302 T:5105 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.image.piwigo/sync) failed
After replacing the following line in addon.py (line 235)
if(response.find('scanning dirs')):
with this
if(response.find(b'scanning dirs')):
I get a more subtle error :
2021-12-22 22:45:28.736 T:7048 INFO <general>: initializing python engine.
2021-12-22 22:45:28.924 T:7048 WARNING <general>: syncServer now ...
2021-12-22 22:45:29.282 T:7048 WARNING <general>: scanning dirs success
2021-12-22 22:45:29.282 T:7048 WARNING <general>: syncServer Done
2021-12-22 22:45:29.283 T:7048 INFO <general>: CPythonInvoker(42, /storage/.kodi/addons/plugin.image.piwigo/addon.py): script successfully run
2021-12-22 22:45:29.771 T:7048 WARNING <general>: CPythonInvoker(42, /storage/.kodi/addons/plugin.image.piwigo/addon.py): the python script "/storage/.kodi/addons/plugin.image.piwigo/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon9xbmcaddon5AddonE
2021-12-22 22:45:29.771 T:7048 INFO <general>: Python interpreter stopped
2021-12-22 22:45:29.780 T:7047 ERROR <general>: GetDirectory - Error getting plugin://plugin.image.piwigo/sync
2021-12-22 22:45:29.788 T:5105 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.image.piwigo/sync) failed
there are some WARNING
level messages there that I added to find out whath path was being taken.
Greetings,
Indriði
this could perhaps be something that get added into the settings manually, or maybe blocking the modification of these settings with the password,, Otherwise it could just be disabled in the settings
Any plans for a 2.7-compatible version of piwigo-kodi. I love both packages, but I'd love them even more if they worked well together!
Thanks for this great addon! I found it via piwigo's website and hopelessly tried to install the 0.3 version from 2014 to Kodi 17.3, which of course didn't work. I had to google search "piwigo kodi" to find this git repo.
Read the instructions, but the release page is empty. I downloaded the master branch and it installed without any issues.
I understand this is still alpha and you probably want to fix other issues before releasing a new version, but in the meantime, if you're looking for reviewers, it would probably help to add a link to this repo from the piwigo tool description and maybe to update the readme to ask potential testers to download the zip from the master branch rather than wait for a release.
Thanks again!
11:59:47 T:9168 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.HTTPError'>
Error Contents: HTTP Error 502: Bad Gateway
Traceback (most recent call last):
File "C:\Users\Dave7\AppData\Roaming\Kodi\addons\piwigo-kodi-development\addon.py", line 336, in
populateImages(serverRequest('pwg.categories.getImages', {'order':'random', 'per_page':plugin.getSetting('limit')}))
File "C:\Users\Dave7\AppData\Roaming\Kodi\addons\piwigo-kodi-development\addon.py", line 123, in serverRequest
conn = opener.open(req)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 448, in error
return self._call_chain(_args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 382, in _call_chain
result = func(_args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 502: Bad Gateway
-->End of Python script error report<--
This could be resolved when installing from a repo, but it may cause issues for other users.
Pagination only will only allow slideshows to display the images on that current page, there should be an ability to play all images somewhere
Hi there,
Are you willing to make your plugin available in multiple languages? I'm willing to translate it into French if you're okay with that.
Hi ,
just installed this addon and it is great to view our piwigo album on kodi.
i am using kodi 17.6 with current master of you addon
I recognized that pictures are not automatically rotated while viewing in kodi.
in the web page all pictures are shown correctly.
Any hint on a setting would be great
thx
peter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.