a4k-openproject / a4kOfficial

Apache License 2.0
21 stars 1 forks source link

[BUG] Error on playback #2

Closed irbyjm closed 2 years ago

irbyjm commented 2 years ago

Attempted to play S01E03 Paper Girls, hit enter:

2022-07-29 16:58:22.022 T:3659    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: 'super' object has no attribute 'get_listitem'
                                                   Traceback (most recent call last):
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/seren.py", line 14, in <module>
                                                       router.dispatch(g.REQUEST_PARAMS)
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/resources/lib/modules/router.py", line 206, in dispatch
                                                       seren_player.play_source(
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/resources/lib/modules/player.py", line 100, in play_source
                                                       xbmcplugin.setResolvedUrl(g.PLUGIN_HANDLE, True, self._create_list_item(stream_link))
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/resources/lib/modules/player.py", line 375, in _create_list_item
                                                       item = provider_module.get_listitem(stream_link)
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/userdata/addon_data/plugin.video.seren/providerModules/a4kOfficial/core_justwatch.py", line 230, in get_listitem
                                                       return super(JustWatchCore).get_listitem(return_data)
                                                   AttributeError: 'super' object has no attribute 'get_listitem'
                                                   -->End of Python script error report<--

Currently stuck looking at this screen: image

irbyjm commented 2 years ago

@drinfernoo Still can't play a Prime object on latest version but the first two lines might lead to a clue. It obviously recognized I had amazon-test installed during provider installation cause it was enabled.

022-07-30 09:48:16.263 T:3233    ERROR <general>: EXCEPTION: Unknown addon id 'primevideo'.
2022-07-30 09:48:16.264 T:3233     INFO <general>: SEREN (11): a4kOfficial: 'plugin.video.amazon-test' is not installed; disabling 'primevideo'
2022-07-30 09:48:16.286 T:3233     INFO <general>: SEREN (11): Init provider packages
2022-07-30 09:48:16.462 T:3233    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: 'NoneType' object has no attribute 'setInfo'
                                                   Traceback (most recent call last):
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/seren.py", line 14, in <module>
                                                       router.dispatch(g.REQUEST_PARAMS)
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/resources/lib/modules/router.py", line 206, in dispatch
                                                       seren_player.play_source(
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/resources/lib/modules/player.py", line 100, in play_source
                                                       xbmcplugin.setResolvedUrl(g.PLUGIN_HANDLE, True, self._create_list_item(stream_link))
                                                     File "/home/irbyjm/.var/app/tv.kodi.Kodi/data/addons/plugin.video.seren/resources/lib/modules/player.py", line 376, in _create_list_item
                                                       item.setInfo("video", info)
                                                   AttributeError: 'NoneType' object has no attribute 'setInfo'
                                                   -->End of Python script error report<--
drinfernoo commented 2 years ago

This should've been fixed in 0f142ef86e10fb35ac0a4b844b3b2e48a800ab43 🤔