Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudb does not work #88

Closed
pitsi opened this issue May 7, 2022 · 5 comments
Closed

Cloudb does not work #88

pitsi opened this issue May 7, 2022 · 5 comments

Comments

@pitsi
Copy link

pitsi commented May 7, 2022

As mentioned in the title, and at least on my end, resolveurl fails on cloudb. This is what kodi's log says when I enter a relevant url in smr link tester

2022-05-07 18:27:29.840 T:140003115357952  NOTICE: SMR Link Tester: Version: |1.1.7| Queries: |{'link': 'http://cloudb.me/embed/tt8097030gr/', 'mode': 'play_link'}| (ENCODED)
2022-05-07 18:27:29.841 T:140003115357952  NOTICE: SMR Link Tester: Running on: |Python 2.7.16 (default, Oct 25 2020, 09:34:29)
                                            [GCC 8.3.0]|OpenSSL 1.1.1d  10 Sep 2019
2022-05-07 18:27:29.841 T:140003115357952  NOTICE: SMR Link Tester: Args: |['plugin://plugin.video.smr_link_tester/', '4', '?link=http%3A%2F%2Fcloudb.me%2Fembed%2Ftt8097030gr%2F&mode=play_link', 'resume:false']|
2022-05-07 18:27:29.841 T:140003115357952  NOTICE: SMR Link Tester: Playing Link: |http://cloudb.me/embed/tt8097030gr/|
2022-05-07 18:27:29.894 T:140003115357952  NOTICE: SMR Link Tester: Link Supported: |http://cloudb.me/embed/tt8097030gr/|
2022-05-07 18:27:31.054 T:140003115357952   ERROR: ResolveURL: ResolverError Error - From: cloudb Link: http://cloudb.me/embed/tt8097030gr/: Δεν βρέθηκε σύνδεσμος βίντεο
2022-05-07 18:27:31.094 T:140004715702400   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.smr_link_tester/?link=http%3A%2F%2Fcloudb.me%2Fembed%2Ftt8097030gr%2F&mode=play_link]

The above is from kodi 18.9. running resolveurl 5.1.66, but the same happens on kodi 19.4 too. The greek text at the end of a line says "no video url was found".

@Gujal00
Copy link
Owner

Gujal00 commented May 7, 2022

Fixed in c8a8e7a

@Gujal00 Gujal00 closed this as completed May 7, 2022
@pitsi
Copy link
Author

pitsi commented May 8, 2022

A big thank you from me and my nieces that watch their cartoons on kodi!
For the time beiing, I will patch the relevant file by myself while waiting for the updated version of resolveurl.

---edit
Aaand I messed up resolveurl as it seems. I deleted the existing cloudb.py/pyo and now smr link tester does not start with this error, so I assume something has changed in the addon's general structure...

2022-05-08 07:14:46.928 T:140581247874816   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: cannot import name helpers
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.smr_link_tester/default.py", line 18, in <module>
                                                import resolveurl
                                              File "/storage/.kodi/addons/script.module.resolveurl/lib/resolveurl/__init__.py", line 38, in <module>
                                                from resolveurl.plugins import *  # NOQA
                                              File "/storage/.kodi/addons/script.module.resolveurl/lib/resolveurl/plugins/cloudb.py", line 20, in <module>
                                                from resolveurl.lib import helpers
                                            ImportError: cannot import name helpers
                                            -->End of Python script error report<--

@shellc0de27
Copy link
Contributor

If you added the new py file, just change this from resolveurl.lib import helpers to from resolveurl.plugins.lib import helpers and should work till the update

@Gujal00
Copy link
Owner

Gujal00 commented May 8, 2022

@pitsi
There are base code changes so it is failing for you when you replaced just the plugin.
New resolveurl version pushed to repo, just update that and use

@pitsi
Copy link
Author

pitsi commented May 8, 2022

Thank you both for the clarifications.
If only I knew the basics of python to solve such a trivial issue myself...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants