plugin.video.vtm.go icon indicating copy to clipboard operation
plugin.video.vtm.go copied to clipboard

Api must be changed to api 20

Open Pkingducky opened this issue 7 months ago • 12 comments

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',

Pkingducky avatar May 16 '25 14:05 Pkingducky

Thanks for this, @Pkingducky - you saved me some time, was planning to investigate this evening. :-)

davidbe avatar May 16 '25 14:05 davidbe

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',

blowk avatar Jul 08 '25 18:07 blowk

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 ?

PeterCloet avatar Jul 08 '25 18:07 PeterCloet

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... :-/

davidbe avatar Jul 08 '25 20:07 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... :-/

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.

PeterCloet avatar Jul 09 '25 06:07 PeterCloet

Well, time isn't on my side these days. :-/ So, a joint effort of the community would be a good thing!

davidbe avatar Jul 09 '25 06:07 davidbe

Would it be useful to move this - and the info we already have - to a new thread, now with a correct title?

PeterCloet avatar Jul 09 '25 09:07 PeterCloet

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 😕

runob avatar Jul 09 '25 10:07 runob

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.

davidbe avatar Jul 09 '25 10:07 davidbe

Please share so we can all have a look

Pkingducky avatar Jul 12 '25 13:07 Pkingducky

@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?

PeterCloet avatar Jul 12 '25 13:07 PeterCloet

@Pkingducky I made it available here: https://github.com/add-ons/plugin.video.vtm.go/issues/405#issuecomment-3065742198

davidbe avatar Jul 12 '25 16:07 davidbe