-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why is my VTMGO - login not accepted even with another password and emailaddress linked on dpgmedia in belgium #387
Comments
I have the latest version since a long time and since some days it doesn't work anymore. I guessed connection/login issue with dpg media so I uninstalled and reinstalled it yesterday and I was correct. Can't register/connect anymore. As what you are describing. @michaelarnauts I guess something must have been changed from dpg media's server side |
Is it possiblle to be fixed or do you need to negociate about it with the developpers of dpg because it is very annoying at the moment: when i pulled a api registration commandline code i saw that normal accounts dont login anymore the only want you to registrate through an email sent code without password. so maybe there is some way to refix that in the code of authentication.py files. ? i am hoping you can soon find it and most of al fix it. i know you have other things on your list to do but i woulld presume this is something important to many users as from now on i think there are many people who use kodi or corelec or ibreelec and thy want in belgium this addon then it should be somehow working in a short time. people dont like to login after and after again because it is timeconsuming andnot good for them. in my case no worries but maybe you could implement an (just a proposal) peace of the web inteface of dpg into the code to be able to get a full login system connected to the addon so it goes directly to their servers so that loginsystem is a UI interface with the right login seperated from the kodi logins. just wondering if that could be possible and i will be able to try it out for you before you sent it to public instances. so you can work on the code without all the negative comments to read beause as long as it is not fixed you need time to do that and a few people to try the reinstall or the update plugin as something that is to be stagely develloped. sorry for my long conversation here i was just thinking with you together we come to vtm go we solve this somehow. because i also tried to remove the services and other stuff to be able to login but it doesnt work because the login has an error and i was looking at the scripts and maybe it could also be that the registration link needs to be alterd in a not seperated token file in py but as on option to login through the addon? could that be helping you dont need to refresh the token code as long as you can login does it? and more i like to say i am willing to try everything to help you out in my brain not that i am a programmer but i am glad to hep you testing every single bit of a new addon you can put together in the login stage to be solved. so kind regards again from wim pauwels (en eigenlijk ben ik nederlandstalig maar ik dacht ik zal het in het engels doen dan begrijpt iedere bezoeker het) |
@michaelarnauts `wim-tv:~ # curl -X GET -H 'Cookie: authId=2dc44dfb-514f-48cb-9962-71836534ee41' 'https://login2.vtm.be/authorize?response_type=code&response_mode=form_povtm.be/vtmgo/aanmelden?redirectUrl=https://vtm.be/vtmgo'
kind regards wim pauwels |
sticking to English is common practice on international tech platforms and yes, it is so all visitors could follow (also Flemish here) |
I'm not using Kodi (and so also this plugin) anymore, but if someone can find a fix, I can make a new release for it. I assume they have updated the required API version. See #376 for a previous fix. It might be this simple. It can also be that they changed some domains. To really check, you would need to setup mitmproxy, and push a patched apk to your mobile phone or emulator, so you can intercept the HTTPS traffic the app is making towards the dpg media backend. @wim63 I'm not sure what you are saying, but we don't use the username/password authentication flow, but the device flow. This requires to go to a webpage, login and fill in a code. The addon keeps on checking in the background to see if authentication has been granted. @Clyde72 Correct, I assume all people here speak dutch, but I tend to keep my communication in English on GitHub. |
i found tshe explenattion of the backend that is in java written and partly in something else: in this url you may find a bit more information maybe when you go to sitemapsyou find more information about it. i will look into it futher untill i find it i wont stop with looking for it why the problems with login in vtmgo are this hard today. shouldnt be nontheless it should easier. may be it is now another server dns orsomething that we need to rename in the python code i dont know but i will soon be clearer about all this kind regards wim pauwels |
as a result of my searching i found this command under linux to find at least already the DNS servers of vtm.be
i am gonna go now to the dpg servers to see what is changed there: for vtmgo this wil be the names:
now i am gonna give the dpgmedia.be dns servers curious myself
to add the numbers of the ipaddressess i will dig further: something to find is the following result i found the adresses for dpgmedia acounts and guess what: google handles the protocols i think look at these results for a moment: so i will now look for more info with this site i am almost there i am gonna take a short break i did this all in two hours just mention. so just to mention the website i got the info from: https://www.cyberciti.biz/faq/linux-unix-host-command-examples-usage-syntax/ |
Unfortunately it doesn't look like it's as simple as bumping the version again to e.g. 16, similar to #376... When I try to use the following User-Agent and x-app-versions:
It no longer gives an error as reported in #386, and opens the app, but all the program lists are empty... I got these values by decompiling the most recent VTM GO Android APK, I guessed that perhaps I could find the values to use there... At some point in the app (unfortunately it's obfuscated), the User-Agent is set like this:
I got the values for versionName, versionCode and SDK version out of the AndroidManifest.xml. Not sure where to go from there, but perhaps this gives someone inspiration... |
I was just testing the same; bumping the |
I analysed it a bit. See gist: https://gist.github.com/davidbe/4a09ebc002d4d61cc33f993d5b55f87a Registering a new device works, that is not an issue. @michaelarnauts , that's already something that needs to be updated! Other issue is, I guess, in parsing the json that is returned for items in the menu. That is something I have to dig in further to understand what has changed. |
@davidbe that's a great start! I suppose the JSON has indeed changed a bit. If you follow the code, there is a part where I loop over the JSON structure and create actual python objects (Program, Movie, Series) for this. I think the structure has changed a little bit, probably near the top, so it doesn't find any results when looping. You can also try to run pytest, it should run automated tests, and makes it easier to try a change somewhere and run a test. I think you do need to update an .env file, not sure anymore. (Typing on my mobile, do I can't really check). Good luck! |
@michaelarnauts , thank you for the hint. I did some follow-up analyses (a bit more chaotic / incomplete: https://gist.github.com/davidbe/f9ba35d9d5a51c68c4ccf3c50b44e041). My conclusion is that vtmgo has simplified different items in their json. It seems that there is no difference anymore betwoon program, movie and series. All have the same content. I guess what is needed is:
This is not a little change. :-/ |
and i am willing to wait for the update as long its been reworked nicely
like you say. i also asked the team of vtmgo to be more open about the
procedure through an emailcontact we will hopefully get soon response
because in the weekend nobody works besides us then?😇😉 iknow just mentiib
that with a broad joking smile but nowserious again the thing is i will
send that answer to you if not clear for the problem enough it is i will
softly push them in words to give more details about the server structure
the mai tainer wins here and as soon we get response the more actions you
all can take to make the plugin work again like it should. i believe we
will accommlish this mission. i have time to ask many questions about it
but my mail was sent friday and myself i was ill from wednesday previous
week but i kept holdi ng on to figure this issue out like normally they
should from their side be more transparant on it no worries i could get
harsh words on it then i bow myself over the peace of mail again and give a
retry in other words if we all stand together on this issue without naming
you as developpers we could get were we want i my opinion. standby
please.. i keep you all updated fir more news in it okay? see you later
kind regardswim pauwels
Op zo 30 jun. 2024 20:42 schreef david ***@***.***>:
… @michaelarnauts <https://github.com/michaelarnauts> , thank you for the
hint.
I did some follow-up analyses (a bit more chaotic / incomplete:
https://gist.github.com/davidbe/f9ba35d9d5a51c68c4ccf3c50b44e041). My
conclusion is that vtmgo has simplified different items in their json. It
seems that there is no difference anymore betwoon program, movie and
series. All have the same content.
I guess what is needed is:
- to add a new object, which is more generic, Teaser (that's how they
are called in the json?)
- rewrite the main storefront-method where the whole json is parsed
and build up in cache to not make a difference between program, movie and
series
- rewrite of all the helper-methods
This is not a little change. :-/
—
Reply to this email directly, view it on GitHub
<#387 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJQCCZ4XTIF2MSZ5IEFQLQDZKBGQBAVCNFSM6AAAAABKA5MWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGY2DOMRQGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Please don't involve DPG Media with this. They won't disclose details about anything. This whole plugin is done by reverse engineering the API in someone's free time. |
i just need to understand it too why im always logout from the androidtv
app also the mobile one it keeps me mogging out and they assume there are
no reasonable changes dont make me mad in this issue i know what i asked is
just about the real login app login even thethe protocol keeps changing
something and i really like to k ow how teprocedure works if they say you
dont need apasswd and the salme screen keeps coming not normal in my eyes.
i just really needto see why 3 credentials and on what liinks they are put
so i can adapt en write the links for authentication and see with your
p!ugi n fidnt say something about developoers my mail so no worries we
just need the procols. example of fixing the imposssible is one day i
worked for a pidgeon company that gave pidgeons to a transport for letging
them fly back home and al those people were saying they had no internet in
the same street. it was no option for the representatives to let them be
all be flying for price just because a certain doculent could not be
rdworked buy a colleauge inshort i called the provider of the modem
bevause it was down. the first really stupid question from the man behind
the phone he said : how do you call me? i said i needed directly someone to
fix a internet problem for a whole street now it can be frustrating when
hearing to have to wat or buy a new modem because in oyr situation those
animals were already on their way to be freed in the morning. now i said do
we really have make this happen that 50 people had to go back to the person
who did all the calculating work to make the pidgeons abke to prices.
dayflight iption was not ootion i daid zt the man and he git nervous but i
repeated what i needed again maybe you have someone standby it was euhm
already half past ten i the late evening but i became a winner because
when he said to call back tomorrow then a disagreed with him i stubbor'n
held the kine so i could make himcall the person that was standby at stil
11 o clock eveningtime to make him come he called me from his own mibile
and what they did is replace a new phonecard in a case in the street there
by an older one the prevous one. he xame to see if it worked and we were al
satisfied myself the most iff zll i dont like to call but if it necessary i
always win. not for the winning feeling buypt just for the feeling i made
more than 50 players with pidgeons their day and night. sorry i mistyped
some letters in the story but it is not a joke it is very true. so
peoplehad internet and could follow their flight again. not making this
true story. that is just one of my helping stories there many in my life
that were good ended like this one here. they all gave mea drink and most
of all i had many grateful thanks gotten from all the people there before
nobody believed i coul fix it in two hours my father in law didnt except
me to fix it but if i could he was most asthonished and stood a few minutes
shaking his head. lesson learned if companies dont be transparant enough
you can dubtile to dig further to make them act right towards the
questions. just to mention this as that i do belive in action takers like
myself if you dont do it yourself you lose selftrust and talking the right
words some people dont think thrice but i do think long before answer is
given in detail so i tell everything i think thats the truth no other
shorter way for me i am a person with autism but i can talk verywell. just
to mention what i see is what i will get is my motto. kind regards i it
was long but thee story took in fact three hours before i heard someon so
i know what i am doing believe inme please. just to help you anonymously
towards vtmgo no worries will get info this soon.kind regards
Op zo 30 jun. 2024 22:03 schreef Michaël Arnauts ***@***.***>:
… Please don't involve DPG Media with this. They won't disclose details
about anything. This whole plugin is done by reverse engineering the API in
someone's free time.
—
Reply to this email directly, view it on GitHub
<#387 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJQCCZ3NP7RWPVVZDIJHS43ZKBQCVAVCNFSM6AAAAABKA5MWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGY4DQNBWHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
A couple things changed:
These changes got my own script going again |
Great info and a relieve that you got it working again. Hopefully we can see these changes in a new update of the app? |
Nice. Seems like we gonna get served streams with ad blocks now. Bummer but not a disaster. |
@Jerry911 so i adapted nothing exept that i added the code line 3 of your comment in the right way underneatch the other data word so there are now two datas underneath each other.would that be the problem? do i need to delete the old line above it? please tell me soon. |
I am quite sure that you will have to include all of the changes I mentioned. The url from where the content is served changed so the old one wont work. The api key also changed and the app version was also mandatory to update for me to get the requests working. Also I did these changes on my own scripts which do something different than this repository. I used some of this code as a base though and those 4 changes got it working again for me so I assume that playback should work to. I am also still trying to figure out where the values for the third point come from, I copy pasted my values that I found in the web browser post request. Those values are personal though. |
@Jerry911
in the file underneath the existing word 'data......' in the code of that file but maybe i need to delete the same wordcode form the upperline? that is what is bothering me now; i am waiting for your answer again but in the mean time i will try that file change to do work. i will keeep you updated when i found it or not. already thanks for kind answering my question and till soon kind regards wim pauwels |
@wim63 Where you have to insert your own advertising id, network user id and gdpr consent string. There should not be 2 "data =" lines, though the last one should override the first one. So I think the problem will probably be something different. I have no experience with the live streams, could be that that url also changed. Or maybe it also requires a new json payload. |
@Jerry911 so that there is a soution to the llive stream section? if we can find this one i i wil today try many things to test that problem. if someone works with me to see of course what coudl be wrong like you did before in code language of course. we need to retreive the live stream WMP coded stream an put that perhaps instead of the player that now doenst fuction as long as it is logged in by me..... just thinking ..... gonna try something and i will let you know for sure when it worked what i changed. |
@Jerry911 |
@Firomanio through accessing VTMGO via the browser, use the dev console of your browser, look at the payload of a post request when you watch something there. That should contain the values of "advertisingDeviceId", "advertisingNetworkUserId" and "gdprConsentString". Unfortunately, using the values I found this way, I was not yet able to for example play a channel, I'm getting server errors (500). Not sure why... |
Tried it as well, getting the same error as you. Saw that Popcorn-Sdk-Version: 7 is now used by VTMGO, tried to edit that part in the files as well but to no avail. |
Has anyone making progress on the addon? What has to be done for sure:
But then I'm a bit clueless. The json changed, I can rebuild (a bit) the menu, but that's all. I don't really now what is needed to start playing something (which url to get the all the information? and which url to remember to start to play) Has anyone experience with using mitmproxy and a virtual android device (emulated within Adroid Studio). I followed different guides (they are sparse) but none of them worked, mitmproxy is running but isn't catching anything. |
I'm getting the same errors as everyone. I changed util.py same as @davidbe Changes in vtmgostream.py (where myID is replaced by my own id's I got from the webplayer):
I get the following error when playing whatever:
they have definitely changed their API big time. |
@Firomanio that's why we need to know what calls the vtmgo-app on android perform and using mitmproxy seems to be a way to go... if you can get it set up, ofcourse :-/ |
I guess what could work as well is to setup wireshark on a Raspberry pi (or similar), put it in AP mode, enable monitoring in wireshark and having the android phone connect to the PI wifi and use the internet over the PI LAN port. That way we should be able to see all communication from the VTMGO app no ? |
Thank you all for the hard work in rewriting the code. For what I tested, it worked flawlessly I wish I had more time to pick up programming again 🙈 |
Thanks for the hard work. I'm glad it got fixed again. How can I use this new version, however? I usually install updates via the KODI ADD-ONS. (RPI 5 with LIBREELEC)? Should I copy it manually now? |
Yes, you have to do it manually:
|
Thx to all the contributors for their effort on this one 🙏. Unfortunately I am not a programmer so I followed the process passively. Trying to grasp the logic behind the addons' functioning. |
Beautiful. It works again !!! KODI (Raspberry pi5 with libreElec). Again, MANY thanks!!!!! |
Thank you @michaelarnauts . It works well. Only thing I miss is the geoblocked tag (I live in the Netherlands). |
@henkv1 , I saw too that you were using geoblock. I was not really sure whether it was a geoblock or mere a difference between 'vtmgo available free', VTMGo+ (paid) and Streamz (paid). Edit: the 'portraitTeaserOverlayImageUrl' is an image overlaying the program's image with the icons of plus or Streamz. |
@davidbe never noticed any Streamz files in VTMGO. |
I think indeed the best way is to check the URL of the overlay to indicate if it's geoblocked, VTM+ of streamz... I might add this when I find a bit of free time. Also, the backend of the vtmgo and streamz service is almost identical, so the same changes as this add-on can be done there. I don't have a streamz-subscription myself anymore, so that makes it harder to test this. |
This comment was marked as resolved.
This comment was marked as resolved.
@davidbe I added the streamz and vtmgo+ tags in my repo. You can check it out. |
One think I noticed on KODI on librelec on a RPI 5 is that when after a played program is finished, I see the "wheel" spinning. After a program is played (or stopped) it should go back to the episode listing, but it just seems to 'hang' on the spinning wheel. When the wheel is spinning and I push buttons I hear still the sound effects of the buttons so the KODI is not really hanging but the only thing I can do is a reboot. When I leave the wheel running for several minutes it sometimes goes back but than I'm out of the VTM addon and back in the main "VIDEOS" screen. When I start a program for a few minutes and STOP it, it does go back imediately to the episode list. It's only when the program is played for a long time (to the end) that it hangs. This behaviour was already there in the "old" version of VTM GO (it didn't do it in the VRT and PLAY addons). But it is still here in the new version. Not sure if this is a KODI issue or an add-on issue. Does anyone else experience this? |
I know works aren't probably finished yet: I have installed henkv1 latest code and tried to watch a movie. |
@badoneti , I have not the same issue. Everything runs without an issue. I'm using @michaelarnauts api-17 branch: https://github.com/add-ons/plugin.video.vtm.go/tree/api-17 |
What I do notice when starting a program in VTM go, it first starts with a low quality image, and then after about 2 minutes it automatically goes to a good high resolution image. Maybe at that point is where your video freezes? I think this behaviour has something to do with the setting "Maximum Bandwith (Kbps)" in the VTM go plugin settings (in the "afspelen" menu). This is default 0 which probably means "automatic". Maybe try to add a value in there (like 1024) and see if this makes a difference because maybe this "automatic" behaviour causes your freeze. |
Thanks for the suggestion. So I tested a bit more, this time explicitly using the branch mentioned by @davidbe
Perhaps the logfile can help identifying the cause and whether it is specific to this movie or more general 2024-07-16 18:57:42.288 T:1681 warning : Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo. |
I’m also running the Michaelarnauts branch without any problems! |
hallo there again i wanted to say that i recently installed the latest version api17 update but in this update you telling me that qmusic and joe live streams do work but in fact they dont so my question is can you fix the streams again? it just tellls me on both channels that vtmgo doenst find the stream. or jus in shot it says error. thanks in advance kind regards wim |
Thanks @davidbe for pointing me to this issue. Manually installing api17 from zip did make it work again. Can somebody explain me though why this fix is not inserted into a new version v1.4.5 of the plugin so that it can be fixed by the auto-update? |
It seems the api17 branch is gone. Does this mean that this addon is now abandoned? No release for Kodi Omega either, I see. |
at bert van de poel.
well you see no branch but the master zip file in git related to api 17 was downloadeable and installable as long as you dont update it together with the latest vtmgo plugin version because you have to revert the working state of it then. also few channels dont work like qmusic but and joe fm but you could see them now in nextpvr plugin as a solution with m3u link.
as far as you need the plugin master zip file i could send it to you anyways but tell me your emailcontact info seperately please
mine is ***@***.*** tell me if i need to send it seperately.
kind regards
wim pauwels
belgium
Bert Van de Poel ***@***.***> schreef op 26 december 2024 03:31:43 CET:
It seems the api17 branch is gone. Does this mean that this addon is now abandoned? No release for Kodi Omega either, I see.
--
Reply to this email directly or view it on GitHub:
#387 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
wim pauwels
|
HenkV1 still hase the api-17 branch: |
@wim63 |
@Bompsietsjoe kind regards and have fun with installing it |
@Bompsietsjoe |
I noticed Vtmgo and streamz stopped working so I started testing and coding myself. I created an api-18 branch for both VTM-GO and Streamz on my github page. |
Indeed, the add-on has stopped working.
But with you api-18 it works fine again.
Thank you very much.
Kr
Dirk Devinck
Van: SirSFL ***@***.***>
Verzonden: dinsdag 7 januari 2025 0:33
Aan: add-ons/plugin.video.vtm.go ***@***.***>
CC: Bompsietsjoe ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [add-ons/plugin.video.vtm.go] why is my VTMGO - login not accepted even with another password and emailaddress linked on dpgmedia in belgium (Issue #387)
I noticed Vtmgo and streamz stopped working so I started testing and coding myself.
I created an api-18 branch for both VTM-GO and Streamz on my github page.
Make sure to select api-18 branch
https://github.com/SirSFL/plugin.video.vtm.go
—
Reply to this email directly, view it on GitHub <#387 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BLLMHJOYGMX7ILZYJ4UD46L2JMHC5AVCNFSM6AAAAABKA5MWAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZUGEYDQMJRHA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/BLLMHJKZRZLWQOCF3LPMJKT2JMHC5A5CNFSM6AAAAABKA5MWAGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUZNXC5M.gif> Message ID: ***@***.*** ***@***.***> >
…--
Dit e-mailbericht is met Avast-antivirussoftware gecontroleerd op virussen.
www.avast.com
|
I'm back at my mom's place and gave https://github.com/SirSFL/plugin.video.vtm.go a shot on her mediacenter. Works like a charm. Thanks a ton! |
Describe the bug
A clear and concise description of what the bug is.
when try to login the latest version of your plugin here plugin.video.vtm.go, i always keep on being asked to login on my addon and it doesnt even want to connect to the internet with a weird error: xmbc.python plugin is not fulfillable.
How can i get a version vtmgo addon in kodi coreelec that accepts the login only one time and not repeats that query again?
To Reproduce
Steps to reproduce the behavior:
1.installting matrix plugin on coreelec add-on plugin.video.vtm.go
2.opening the add-on makes me ask for the pasword to be filled in in my account but....it always gives the same error just like' vtm Go Error (no further info on the screen)
3. and then it hangs for a while thinking it is loaded but the loading wheel gets stuck somehow
Expected behavior
A clear and concise description of what you expected to happen.
What is to be expected is a normal one time plugin login.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Add debug logs to help troubleshoot the issue. See https://kodi.wiki/view/Log_file/Easy for more info.
i tried to do this but in kodi i am not able to log now because the error happens before pressing the button on the add-on
System
Additional context
Add any other context about the problem here.
I really am getting my nerves about this problem because there a lot of programmes i would like to watch there before their gone because in belgium the only keep backups if it is important for the world but even then time is limited to be able to watch throug the years something you've missed and the dont come back with a saved version in youtube forget about that kind of kindnessin belgum towards programmes. so a quick good fix for years must be able to be done.
i found out that if you type login.vtm.be/androidtv that site for logging in to dpg does exist so maybe is question of looking for a twice logged in in you authentication python file and update the version to python3 just to mention what could be done.i am hoping an soon solvable respons with sending this to you
anyways kind regards wim pauwels
The text was updated successfully, but these errors were encountered: