Xfinity Cable provider authentication failed

You are correct thanks alot.

You might want to try it from the UI again to see if there are other POST/PUT/PATCH commands issued after it. You're flying blind not knowing how their code works.

It worked exactly what I was hoping for just a Scan. Thanks for your help. I am going to use the list with the status along with the Scan once a week with text notifications if something is wrong with channels I define to check.

So this does a full scan for Xfinity TVE. Cool.
However, is there a way to limit it to just certain channels to re-scan, specifically those favorited?
I only use Xfiniity TVE for 20 channels, the rest are provided via Philo.
I do not need to have it re-scan all channels, and that takes forever as well.

That also shows, for me "not in subscription" channels as well.

That url isn't meant to be used with the GET method.

NO, this does

You're confusing a GET with a POST METHOD.

sorry quoted wrong post.

yes that code. works fine for me i saw the server logs start scanning

1 Like

NO, not that I know of.
You could do like I told Edwin_Perez and use your browsers network inspector.
Rescan an individual channel and see the command used.
Then write a script that gets your favorited channels and executes that command against them.

I really don't think any of this is necessary, as Channels DVR will re-auth channels transparently in the backround when needed as you watch or record them. Unless you know when your tokens will expire and want to force a re-auth before they do. I'm not going to as I'm sure my forced re-auth will happen by a task that triggers when the Xfinity auth servers are having issues. Enough problems to deal with already.

1 Like

You state the use case and possible necessity right in your own post.

To force re-auth at known time.
further more, this allows to see failures. And to be sure the tokens are updated.

The major issue for many of us is that we do not know auth has failed until someone tries to tune live tv, or the server starts a recording. Most users do not baby sit their server or check to see of scheduled recordings actually fire and are working.

Cleary, this is not effective, as it will just keep failing until some point, and mark the recording as failed with the auth error.

To many times now, days after something records, i go to watch it, and it is not possible cause it failed, and i have missed the rerun of it (if there is one).

This way to manually trigger a scan, and re-auth, just saying would be much faster and efficient, in my use case, to be able to limit it to just Favs. I was hoping there would be a easy way to do that...guess not.

Edit: for the urls to make a .m3u export of Channels, there is the "?filter=favorites" code.
not sure if that would work to filter the scan, or it would just filter the output.

Can't argue with that. I don't solely rely on TVE as I have an HDHR Prime and a couple TiVo's as backups.
If you can figure out the minimun re-auth period for your favorite channels with each Provider you use (like I said I monitor three on Xfinity on two Channels DVR servers), you could setup a cron job/Task to rescan them. Assuming what you're doing is what Channels DVR does. I don't know for sure and will not because of that. It's all undocumented and could change at any time.

Let us know after you try it. You're the pioneer.

I setup the scan to run 10 minutes after reboot which I have scheduled once a week ... I then check for certain channels to be true and if they are not true to text and email me. I figure CNN will cover all Turner networks and Discover all their family of networks.

I have a fanless Windows mini PC that does all monitoring and TEXT and Email... on my Network so adding this was not hard.

Would be good to hear from both of you how it goes.
I'm not going down that road, but I understand why you do it.
There are things I will hack and things I will not.
I still use my curl manual time based recordings, Pluto get my EPG on time and some other hacks.
This issue I'm leaving up to the developers to solve becasue I don't need it bad enough to hack it.
Because I'm done with my Pilot/1st Season marathon recordings on four Channels DVR servers.

1 Like

Not so sure i want to keep trying that, triggering a scan multiple times might cause lockout....it has in the past.

The URL to just get favs for .m3u is this:

http://x:8089/devices/TVE-Comcast_SSO/channels.m3u?filter=favorites

So...replace ?all=true with ?filter=favorites maybe? in the curl command

that is assuming you can pass arguments to their scan function

So. i ran

curl -XPOST http://192.168.0.21:8089/providers/tve/mvpds/Comcast_SSO/scan?filter=favorites

and that still did a full scan. 213 channels.

Hey, No Pain, No Gain. You're the pioneer.
I've learned there comes a time of diminishing returns on the curve.
You have to decide if it's worth the extra effort for it.

not at all....that would go to @Edwin_Perez they the one that posted all about this and does this. I just discovered this today.

Going to close this topic as Solved as it was a temporary timeout issue with Xfinity auth.
If you want to continue the conversation just create a new topic. You can always link to posts in this one.
And don't forget that TVE is still BETA and Local Networks is still EXPERIMENTAL.