-
Notifications
You must be signed in to change notification settings - Fork 26
Login procedure change and bugs fixing #3
base: main
Are you sure you want to change the base?
Conversation
Hotstar 1.2.1
@Vikassm73 API ERROR AND INVALIDHEADER |
Updation in Guest Login
Correction done in new updates |
good work @Vikassm73 @manzoor22233 |
@Vikassm73 same error |
Just do logout once and try again |
Correction in api
@Vikassm73 i could only watch movie as guest....while trying for login it is showing as subscription error or 400: invalid response from sever...anyway thanksss |
Correction in Login
Please try now |
@Vikassm73 i can logged in successfully..but if i want to watch movies or shows,i have the only "search" option. while clicking on desktop option it is showing as 404: invalid response from server.....thanks for your hard works AND otherwise all are perfect working |
Changes in Menuitem
Till yesterday, menus were working fine. Now updated new changes |
@Vikassm73 wow perfect job.....thank u so much |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove __pycache__
and made above changes so i can merge it
addon.xml
Outdated
<requires> | ||
<import addon="xbmc.python" version="3.0.0"/> | ||
<import addon="script.module.codequick" version="1.0.2"/> | ||
<import addon="script.module.inputstreamhelper" version="0.5.2"/> | ||
<import addon="repository.botallen" version="2.0.0"/> | ||
<import addon="script.module.web-pdb"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is use of this dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required, just for debug purpose. I will remove it
resources/lib/api.py
Outdated
url, headers={"x-country-code": "in", "x-platform-code": "ANDROID_TV"}) | ||
return deep_get(resp, "body.results.menuItems") | ||
url, headers={"x-country-code": "in", "x-platform-code": "PCTV"}) | ||
return deep_get(resp["body"]["results"]["menuItems"][0]["subItem"][1], "subItem") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can lead to runtime error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverse back to old code
@@ -69,16 +69,7 @@ def play_ext(plugin, contentId, partner=None): | |||
|
|||
@Script.register | |||
def login(plugin): | |||
msg = "1. Go to [B]https://tv.hotstar.com[/B]\n2. Login with your hotstar account[CR]3. Enter the 4 digit code : " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this dialog is necessary for login.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous method of login using login code is no longer working. That's why I have removed this. Now, I have used OTP based method.
@@ -31,19 +35,39 @@ def login_wrapper(*args, **kwargs): | |||
else: | |||
# login require | |||
Script.notify( | |||
"Login Error", "Please login to watch this content") | |||
executebuiltin( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is good way to directly provide login popup when content is not subscribed so user will not be confuse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I have not subscribed then popup of login screen may be annoying. Just simple message could solve the purpose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you pls provide the updated addon link for Hotstar 1.2.1?
Few corrections
Bugs fixing in login
Bugs fixing
Bugs Fixing
Premium login fix
still login error and why i need login to watch free content that i can also watch it on hotstar for absolutely free of cost |
No need to login if you are using it for Free content. Just log out once and try to play any free content without login. Try couple of time if it just failed without any error. Your message shows that you have not downloaded and install from my repository |
@Vikassm73 I am new to this community and want to know how to get the new version of this Hotstar 1.2.1 on my firetv stick please? |
Follow link Do further communication there only. |
Please help me I uses https://kido.botallen.com by addon this i get jiotv and hotstar but I'm unable to login into hotstar please help me |
Correction in login
Correction in login
Getting this issue Uploading VID20240205134431.mp4… |
New version contain changes in login procedure as well as done some bugs fixing