1.0.0+kodimov.4: password-less first login from the Movistar network
On a new box the home-network login now also finds the account number (accountInfo) and registers the box as a device, so no email, password or account number is needed. The new device id is saved straight away, so a retry reuses it instead of adding another one. Error pages from the new servers (including HTML 401s) are retried. Tested live on 2026-11-07 with a fresh profile; the test devices were deleted afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4a0a7e97d
commit
c9f062206c
6 files changed
+80
-44
No files matched your search
@@ -663,11 +663,8 @@ def login():
|
||||
show_notification(addon.getLocalizedString(30166)) # Failed
|
||||
|
||||
def network_login():
|
||||
# The account number and the device are found/registered automatically.
|
||||
account_number = addon.getSetting('account_number')
|
||||
if not account_number and not m.cache.load_file('account.json') and not m.cache.load_file('tokens.json'):
|
||||
account_number = input_window(addon.getLocalizedString(30502)) # Account number
|
||||
if not account_number: return
|
||||
addon.setSetting('account_number', account_number)
|
||||
# Keeps device_id.conf: clearing the session would register a new device.
|
||||
if m.try_network_login(account_number, force=True):
|
||||
show_notification(addon.getLocalizedString(30503), xbmcgui.NOTIFICATION_INFO) # Logged in
|
||||
|
||||
Reference in new issue
Block a user