GithubHelp home page GithubHelp logo

kodi-repo-plugins's People

Contributors

sarbes avatar

Watchers

 avatar  avatar  avatar

Forkers

egetzner sl1txdvd

kodi-repo-plugins's Issues

Kodi 20

The test installation to using FilmFriends (v1.0.3) in Kodi 20 works well but it occurs two ERRORs possibly both on changed json handling.

at calling LOGIN:

2023-06-24 16:10:50.538 T:1007  warning <general>: RunScript called for a non-script addon 'plugin.video.filmfriend'. This behaviour is deprecated.
2023-06-24 16:10:51.290 T:10158   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'requests.exceptions.JSONDecodeError'>
                                                   Error Contents: [Errno Expecting value] : 0
                                                   Traceback (most recent call last):
                                                     File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 37, in _scan_once
                                                   IndexError: string index out of range

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 910, in json
                                                       return complexjson.loads(self.text, **kwargs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/usr/lib/python3.11/site-packages/simplejson/__init__.py", line 525, in loads
                                                     File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 372, in decode
                                                     File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 402, in raw_decode
                                                     File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 79, in scan_once
                                                     File "/usr/lib/python3.11/site-packages/simplejson/scanner.py", line 39, in _scan_once
                                                   simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.filmfriend/default.py", line 51, in <module>
                                                       login.pick()
                                                     File "/storage/.kodi/addons/plugin.video.filmfriend/resources/lib/login.py", line 45, in pick
                                                       j = requests.get(f'{base}tenant-groups/fba2f8b5-6a3a-4da3-b555-21613a88d3ef/tenants?orderBy=DisplayCategory&sortDirection=Ascending&skip=&take=1000').json()
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 917, in json
                                                       raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
                                                   requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0
                                                   -->End of Python script error report<--

and at PLAY

2023-06-24 16:11:12.926 T:10190   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'json.decoder.JSONDecodeError'>
                                                   Error Contents: Expecting value: line 1 column 1 (char 0)
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/plugin.video.filmfriend/default.py", line 57, in <module>
                                                       p.action()
                                                     File "/storage/.kodi/addons/script.module.libmediathek4/lib/libmediathek4.py", line 237, in action
                                                       self.play(self.playbackModes[mode]())
                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.filmfriend/default.py", line 47, in playVideo
                                                       return jsonParser.getVideoUrl(self.params['video'])
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/.kodi/addons/plugin.video.filmfriend/resources/lib/jsonparser.py", line 183, in getVideoUrl
                                                       j = json.loads(r)
                                                           ^^^^^^^^^^^^^
                                                     File "/usr/lib/python3.11/json/__init__.py", line 346, in loads
                                                     File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
                                                     File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
                                                   json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
                                                   -->End of Python script error report<--

2023-06-24 16:11:13.040 T:1007    error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.filmfriend/?mode=playVideo&video=c9667fb5-2b9a-41da-9bbd-c6a2ca2220be]

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.