Skip to content
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

PCTV DistanTV Mobile #56

Open
nicolaevladescu opened this issue Dec 12, 2017 · 0 comments
Open

PCTV DistanTV Mobile #56

nicolaevladescu opened this issue Dec 12, 2017 · 0 comments

Comments

@nicolaevladescu
Copy link

nicolaevladescu commented Dec 12, 2017

I am using a PCTV tripleStick 292e

And TVCenter V 6.4.9.1033

I think they changed how DistanTV Mobile auth works.

From inspecting the web interface, i see they use a cookie across calls, the value of the cookies was received after a POST like this:

curl -v --data "inputPin=1337&pin5" "http://192.168.168.122/TVC/checklogin?request=/TVC/index.html"

It returns a Set-Cookie: __tiny_sessid=b871f84e-5d56-4def-858f-ab2506c2b990; path=/; header with value.

I was able to access the channel list (the url in the error below) with that value set as Cookie header.

Error Log:

09:39:24.615 T:1626338208   ERROR: PVR - GetChannels - addon ':192.168.168.122' returned an error: server error
09:39:24.615 T:1626338208   ERROR: PVR - GetChannels - cannot get channels from client '2063621176': server error
09:39:24.615 T:1626338208   ERROR: PVRChannelGroup - Load - failed to update channels
09:39:24.615 T:1626338208   ERROR: PVRChannelGroupInternal - Load - failed to load channels
09:39:24.615 T:1626338208   ERROR: CPVRChannelGroups - Load - failed to load channels
09:39:24.615 T:1626338208   ERROR: PVRManager - Process - failed to load PVR data, retrying
09:39:25.728 T:1626338208   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
09:39:25.728 T:1626338208   ERROR: CCurlFile::Open failed with code 403 for http://USERNAME:[email protected]:80/TVC/user/data/tv/channels?available=1
09:39:25.729 T:1626338208   ERROR: Open - failed to open source <http://USERNAME:[email protected]:80/TVC/user/data/tv/channels?available=1>
09:39:25.729 T:1626338208   ERROR: AddOnLog: PCTV Systems Client: No channels available.
09:39:25.729 T:1626338208   ERROR: PVR - GetChannels - addon ':192.168.168.122' returned an error: server error
09:39:25.729 T:1626338208   ERROR: PVR - GetChannels - cannot get channels from client '2063621176': server error
09:39:25.729 T:1626338208   ERROR: PVRChannelGroup - Load - failed to update channels
09:39:25.729 T:1626338208   ERROR: PVRChannelGroupInternal - Load - failed to load channels
09:39:25.729 T:1626338208   ERROR: CPVRChannelGroups - Load - failed to load channels
09:39:25.729 T:1626338208   ERROR: PVRManager - Process - failed to load PVR data, retrying
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant