Api must be changed to api 20
in util.pi following code need to be updated
'User-Agent': 'VTM_GO/20.250502 (be.vmma.vtm.zenderapp; build:250502; Android 28) okhttp/4.12.0',
'x-app-version': '20',
'x-client-app': 'VTMGO/20.250502',
'x-persgroep-mobile-app': 'true',
'x-persgroep-os': 'android',
'x-persgroep-os-version': '28',
Thanks for this, @Pkingducky - you saved me some time, was planning to investigate this evening. :-)
I think the user-agent changed to following, but I don't know if this will work.
'User-Agent': 'VTM_GO/21.250624 (be.vmma.vtm.zenderapp; build:250624; Android 28) okhttp/4.12.0',
'x-app-version': '21',
'x-client-app': 'VTMGO/21.250624',
'x-persgroep-mobile-app': 'true',
'x-persgroep-os': 'android',
'x-persgroep-os-version': '28',
I updated the user-agent data in util.py but unfortunately that didn't do the trick. Last time an update was needed to the Popcorn-SDK version. Maybe this again the case?
@davidbe ?
I did a quick viaw. Popxorn-SDK version has not changed. It seems that the login-procedure has changed... And this means a whole lot of more digging... :-/
I did a quick viaw. Popxorn-SDK version has not changed. It seems that the login-procedure has changed... And this means a whole lot of more digging... :-/
Oh! That doesn't sound encouraging. @davidbe Is this something you actively plan to work on? Or should we start trying to engage other community members to help? BTW. I'm useless at coding but if there is anything I can do to help, please let me know.
Well, time isn't on my side these days. :-/ So, a joint effort of the community would be a good thing!
Would it be useful to move this - and the info we already have - to a new thread, now with a correct title?
I was having a look yesterday as well to see if I could intercept the TLS traffic with a TLS proxy to understand what has changed. With fiddler I did not manage to get far, the official app errors out when opening it if traffic flows through the proxy 😕
This addon is based on how the Android App works. To know what needs to be done & copied over to the addon, you have to know what happens there. I'm running an Android in a vm (Genymotion) and then mitmproxy to catch all trafic. I might paste the output somewhere so it can be analyzed.
There you can see, for example, what needs to be in the header and what the Popcorn-SDK version is passed. But also how login is handled.
Please share so we can all have a look
@Pkingducky I created a new issue (https://github.com/add-ons/plugin.video.vtm.go/issues/405) that covers the API and login changes required. Can you close this one and continue the conversation there?
@Pkingducky I made it available here: https://github.com/add-ons/plugin.video.vtm.go/issues/405#issuecomment-3065742198