Code Monkey home page Code Monkey logo

piwigo-kodi's People

Contributors

abrenoch avatar indridie avatar valodiadeseynes avatar xbgmsharp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

piwigo-kodi's Issues

Leverage request paging

Right now paging is not utilized in any way, this should be changed to be user definable.

do not display,just show black screen

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

Does not work

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.

Isengard having issues with plugin

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<--

Sync not working on kodi19 branch

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

Add option to force password at every launch

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

2.7 Support?

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!

make it easier to find latest version

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!

simpleJSON error

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<--

Multi-language configuration?

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.

picture do not rotate

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.