Fix profile switching by replacing API call#1783
Conversation
…itchProfile The /api/shakti/mre/profiles/switch endpoint was removed by Netflix, causing 404 errors on profile switch. Replace with the /SwitchProfile endpoint which handles server-side profile switching, followed by a /browse fetch to obtain a fresh authURL. PIN verification is handled separately before this method is called, so the old PIN limitation of /SwitchProfile no longer applies.
|
Works for me, thank you very much! |
|
also testing working profile switch and playback on profiles with no pin |
|
When it will be released? |
|
Manually applied using patch on my tuner. Works like charm. Profile switching works. |
Same here, this patch makes it work again on my CoreElec Machine. Thank you! |
|
Can confirm this works. Always back up your files first! |
|
Tested with Kodi 21 on Debian 13 (Trixie). It works. Thanks a lot for fixing. |
|
Why not merge? |
|
because has been removed API mode, also the same commit change value to set default params |
Summary
Details
Netflix seems to have removed the /api/shakti/mre/profiles/switch API, breaking profile switching with a 404 error. The /SwitchProfile?tkn=GUID endpoint was previously abandoned (May 2020) because it didn't work for PIN-locked profiles, but PIN verification is now handled separately in directory_utils.py:verify_profile_pin before activate_profile is called, making this limitation irrelevant.
Test plan
I did not test to switch to a PIN-locked profile — PIN prompt appears, switch works after entering correct PIN
Tested on: