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

UnicodeDecodeError #7

Open
Arsyad1105 opened this issue Dec 3, 2022 · 19 comments
Open

UnicodeDecodeError #7

Arsyad1105 opened this issue Dec 3, 2022 · 19 comments

Comments

@Arsyad1105
Copy link

Arsyad1105 commented Dec 3, 2022

I got error after entering OTP

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 216: invalid continuation byte

@Vikassm73
Copy link
Owner

What version of Kodi your using?

@Arsyad1105
Copy link
Author

What version of Kodi your using?

19.3

@Vikassm73
Copy link
Owner

Vikassm73 commented Dec 5, 2022

Uninstall your addon first. Then install below addon

(Zip removed)

@Arsyad1105
Copy link
Author

Uninstall your addon first. Then install below addon

plugin.video.hotstar.zip

Still same error

@Vikassm73
Copy link
Owner

send me a debug log

@Arsyad1105
Copy link
Author

2022-12-05 15:28:23.465 T:8222 INFO : CPythonInvoker(1, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/addon.py): script successfully run
2022-12-05 15:28:24.304 T:8222 INFO : initializing python engine.
2022-12-05 15:28:24.306 T:8222 INFO : CPythonInvoker(1, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/addon.py): script successfully run
2022-12-05 15:28:24.388 T:8140 INFO : Loading skin file: DialogAddonSettings.xml, load type: KEEP_IN_MEMORY
2022-12-05 15:28:25.260 T:8222 INFO : initializing python engine.
2022-12-05 15:28:25.263 T:8222 INFO : CPythonInvoker(1, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/addon.py): script successfully run
2022-12-05 15:28:28.988 T:8222 INFO : Python interpreter interrupted by user
2022-12-05 15:28:28.988 T:8226 ERROR : Skipped 2 duplicate messages..
2022-12-05 15:28:28.988 T:8226 ERROR : GetDirectory - Error getting plugin://plugin.video.hotstar/resources/lib/main/settings/?pickle=80049519000000000000007d948c075f7469746c655f948c0853657474696e677394732e
2022-12-05 15:28:28.998 T:8140 ERROR : CGUIMediaWindow::GetDirectory(plugin://plugin.video.hotstar/resources/lib/main/settings/?pickle=80049519000000000000007d948c075f7469746c655f948c0853657474696e677394732e) failed
2022-12-05 15:28:29.015 T:8238 INFO : initializing python engine.
2022-12-05 15:28:29.522 T:8238 INFO : CPythonInvoker(2, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/addon.py): script successfully run
2022-12-05 15:28:30.170 T:8238 INFO : initializing python engine.
2022-12-05 15:28:30.172 T:8238 INFO : CPythonInvoker(2, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/addon.py): script successfully run
2022-12-05 15:28:30.936 T:8238 INFO : initializing python engine.
2022-12-05 15:28:30.949 T:8140 INFO : Loading skin file: DialogNumeric.xml, load type: KEEP_IN_MEMORY
2022-12-05 15:28:33.200 T:8186 INFO : CPythonInvoker(0, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): script successfully run
2022-12-05 15:28:33.313 T:8186 INFO : Python interpreter stopped
2022-12-05 15:28:44.119 T:8238 ERROR : [Disney+-Hotstar.support] 'utf-8' codec can't decode byte 0xcf in position 216: invalid continuation byte
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.codequick/lib/codequick/support.py", line 306, in run_callback
redirect = parent_ins(route, arg_params, self.callback_params)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.codequick/lib/codequick/script.py", line 169, in call
return route.function(self, *args, **kwargs)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/resources/lib/main.py", line 69, in login
api.doLogin()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/resources/lib/api.py", line 158, in doLogin
db["udata"] = json.loads(json.loads(
File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/json/init.py", line 343, in loads
s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcf in position 216: invalid continuation byte
2022-12-05 15:28:44.119 T:8238 INFO : CPythonInvoker(2, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.hotstar/addon.py): script successfully run
2022-12-05 15:28:48.056 T:8140 INFO : CWinSystemAndroid::DestroyWindow
2022-12-05 15:28:48.190 T:8086 WARNING : CPeripheralBusAndroid: failed to update input device with ID 2 because it couldn't be found
2022-12-05 15:28:48.190 T:8086 WARNING : CPeripheralBusAndroid: failed to update input device with ID 4 because it couldn't be found

@Vikassm73
Copy link
Owner

Vikassm73 commented Dec 5, 2022

Do you have a valid subscription?
First Logout and try to login
If same error then Install below zip.
Enable Debug log option in add-on settings (Your previous log was not a debug enabled log)
First log out and then try to login again
Send log by attaching kodi.log and send it to [email protected]

plugin.video.hotstar.zip

@Vikassm73
Copy link
Owner

Your country is Malaysia. I am surprise, how you manage to get OTP. In your profile try to change your name yourself or with the help of customer support in English which might be entered in your language. and re-try the login procedure.

@Arsyad1105
Copy link
Author

Just change my profile name. Don't know the addon read the profile name. But now I got new issue that it said I don't have subscription even I have it.

@Vikassm73
Copy link
Owner

Even non premium content might not be working. Previously, was you able to play non premium content without login?

@Arsyad1105
Copy link
Author

Just test, non premium content also not playing but no error.

@Vikassm73
Copy link
Owner

Sorry but it may not work for your region. https://www.hotstar.com/my not available here hence can not test it properly.

@Arsyad1105
Copy link
Author

Arsyad1105 commented Dec 6, 2022

Sorry but it may not work for your region. https://www.hotstar.com/my not available here hence can not test it properly.

You can register controld dns and set country to Malaysia. It have 30 days free trial. If you want to test using my hotstar account I can give you.

@Vikassm73
Copy link
Owner

Vikassm73 commented Dec 6, 2022

Can you play anything (may be Series/Movie) without login?

@Arsyad1105
Copy link
Author

Can you play anything (may be Series/Movie) without login?

No, playback error

@Vikassm73
Copy link
Owner

check you email. New addon send

@Arsyad1105
Copy link
Author

It's working now 😁

@Arsyad1105
Copy link
Author

Arsyad1105 commented Dec 6, 2022

Can you make subtitle work too? In log it said 403 error for the subtitle link but when I copy the link and paste it on browser it just working. This problem still not fixed since the old addon from botallen.

@Vikassm73
Copy link
Owner

I will check if possible

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

2 participants