smirgol / plugin.video.crunchyroll

Watch videos from the anime platform Crunchyroll.com on Kodi
GNU Affero General Public License v3.0
45 stars 11 forks source link

No longer working at all. "invalid_client" exception message. #39

Closed mlidbom closed 5 months ago

mlidbom commented 6 months ago

It just stopped working again for me, log below:

01-09 12:11:39.910 T:51024   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'resources.lib.model.CrunchyrollError'>
                                                   Error Contents: [401] {"code":"auth.obtain_access_token.client_inactive","context":[],"error":"invalid_client"}
                                                   Traceback (most recent call last):
                                                     File "C:\Users\magnu\AppData\Roaming\Kodi\addons\plugin.video.crunchyroll\default.py", line 34, in <module>
                                                       crunchyroll.main(sys.argv)
                                                     File "C:\Users\magnu\AppData\Roaming\Kodi\addons\plugin.video.crunchyroll\resources\lib\crunchyroll.py", line 79, in main
                                                       if api.start():
                                                     File "C:\Users\magnu\AppData\Roaming\Kodi\addons\plugin.video.crunchyroll\resources\lib\api.py", line 102, in start
                                                       self.create_session(session_restart)
                                                     File "C:\Users\magnu\AppData\Roaming\Kodi\addons\plugin.video.crunchyroll\resources\lib\api.py", line 146, in create_session
                                                       r_json = get_json_from_response(r)
                                                     File "C:\Users\magnu\AppData\Roaming\Kodi\addons\plugin.video.crunchyroll\resources\lib\api.py", line 370, in get_json_from_response
                                                       raise CrunchyrollError(f"[{code}] {r.text}")
                                                   resources.lib.model.CrunchyrollError: [401] {"code":"auth.obtain_access_token.client_inactive","context":[],"error":"invalid_client"}
                                                   -->End of Python script error report<--

2024-01-09 12:11:39.996 T:51024    INFO <general>: Python interpreter stopped
2024-01-09 12:11:40.013 T:48256   ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.crunchyroll/
2024-01-09 12:11:40.016 T:48060   ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.crunchyroll/) failed
Falbium commented 6 months ago

As per above plugin has just stopped working for me also

smirgol commented 6 months ago

Thanks for the report. Should be fixed in all branches. Cheers!

Misioslav commented 6 months ago

I came to report it as well but it’s fixed. Also new features are great (skip intro and credits)

mlidbom commented 6 months ago

Thank you @smirgol! Fixed in less than three hours. That's bleeping legendary :)