Charon Tuner Project

This would be best answered by @bnhf

Once I verify it works as intended, I will add a push notification. It is still in testing.

Agree.
I use my antenna for locals anyway and in my Channel collection for these new TVE channels I would just pull in the HDHR local channels, OR the sniffed link / browser address bar
Thanks for this project, very easy to set up.
Only one problem: The time it takes to tune a channel.
I know this is part of all the chrome capture projects, hopefully a solution one day.

if one is wanting a home DVR with your current solution, this is probably the easiest avenue to take.

Very nice project. I don't need to fiddle with Linux, Docker, or purchase extra hardware requiring extra maintenance. It was easy to install and setup. Unfortunately, I use DirecTV Entertainment package for my live TV. But I was able to connect CNN and most of the ABC channels using my DirecTV credentials. But I also like to use Closed Captions much of the time. At any rate, I decided I can't justify using this for these few channels, especially since my wife and I mostly prefer just using the DirecTV app.

This is unlikely to be related. It's more likely the result of some effort that @Bobby_Vaughn and I went to whittle down the very large list of channels Xfinity presents (most of which are duplicates for legacy reasons), which is in the 800-900 range iirc.

Is there something I can do on my end to add back the channels I want?

Have you tried using the Add button in the Channel Lineup Editor?

Yes, but I don't know what to fill in - in particular, the Gracenote and URL fields. When I play a station in Xfinity Stream, instead of providing something similar to what's displayed in the lineup, I get a string that includes the name of the show that happens to be playing at the moment.

Update: above was in Firefox. In Chrome, I get something closer, but it doesn't always work.

One that worked included "Watch-Airdate-" before the numeric string, which makes me wonder if it will still work on a different date or time.

Others that don't work include the name of the show, e.g. "Watch-Good-Morning-America" before the numeric string.

I tried editing those to remove the show name and replace it with the channel identifier before and after the numeric string (to match the current channels), but when I navigated to the resulting URLs, I got 404s.

So I'm guessing there's more to know about how to set these up.

You were close on this attempt (which you've now removed in an edit), but you left the "2000" from the show name in the URL. It should look like:

...callsign/tuningid/callsign

@Bobby_Vaughn describes how to add missing Gracenote IDs in the documentation I believe.

Yes, I edited because I wasn't sure whether those IDs were universal or something unique to my login and thus shouldn't be out in the world. However, when I entered the string into my browser's address window correctly (live/callsign/tuningid/callsign it goes back to the previously-viewed page. That has happened with two channels I tried (CMDYD and TVLND) so far. The one with "Airdate" in the string is still working - but I'll have to see what happens in another day; likewise the one with the show-title in it works (but that is a news channel so the show title is always the same).

As for some of the ones I'm hoping to add, after pasting in a url edited according to the expected pattern, it complains that the browser has paused playback.

I do see how to add missing Gracenote IDs in the docs, but not how to find what the ids are for a given channel so as to add the correct one. Ultimately, I think I just want to add one ABC and two PBS channels. One of the PBS channels added successfully (if the "airdate" string doesn't cause problems after the date changes; I tried using the more standard format but it failed).

They are not unique to you, and can be publicly posted.

Let's take an example from your now edited post:

https://www.xfinity.com/stream/live/Watch-Timmy-2000/6281117796995900105/CMDYD

Uses this deeplink URL:

https://www.xfinity.com/stream/live/CMDYD/6281117796995900105/CMDYD

If you choose to test it in a fresh browser tab (which is not particularly necessary), you'll see Xfinity substitute the name of the currently airing show for the first instance of <callsign>, and the browser will be paused. Click on the resume button and you'll see the stream for your originally selected station.

You can try any of the "Watch URLs" from your saved Xfinity lineup in Charon and you'll see they're handled the same way when pasted manually into a browser.

1 Like

Thanks for clarifying that I can enter them safely. I'll work more on this tomorrow. I did try the deep link you provided, and it took me here:

That's similar to those I created myself by editing. Clicking "resume" does play the requested channel. Are you saying that in actual use the "resume" is clicked by Charon, and so this is the correct & expected behavior? If so, I will try it tomorrow for other channels I'd like to add.

Finding correct Gracenote IDs is still a potential issue. Is there a "best practice" on how to look for these? Googling hasn't been terribly effective.

As I said, such testing is not necessary. You can see from looking at the "Watch URL" structure, in the channels we've scraped for you in Charon, that the format is correct. The example I gave you was based on one of the original examples you posted. It's a simple substitution of the show name with the callsign that appears at the end of the link.

As with many things in tech, "similar" is not close enough. In your original example, you left part of the show name in the URL (the "2000" is from the show name). Here's what you posted:

https://www.xfinity.com/stream/live/CMDYD/2000/6281117796995900105/CMDYD

Let's not get bogged down with the above though. The important point, and the one you asked about originally, is how a "Watch URL" is constructed.

So, to add channels manually to Charon, use your constructed Watch URL, and then you can use the normal lineup editing tool in CDVR to match that new channel to its guide data:

https://github.com/nuken/Charon#step-7-fixing-missing-or-custom-guide-data

Another user recently went through and manually captured every Xfinity channel in his lineup -- which was hundreds and hundreds of channels. He reported he was unable to determine the tuning ID on a handful of channels, but I've never seen that personally.

1 Like

Thanks. I was able to add a few missing channels. One refused to show a usable URL in the address bar, showing only "https://www.xfinity.com/stream/listings." But I have that one in Channels via FastChannels' PBS source, so it's ok.

So the takeaways from this, for other users with similar needs seem to me to be:

  1. Use Chrome (Firefox doesn't work) to get the needed info for a given channel from the address bar via the Xfinity Stream site.
  2. Edit the result, changing "live/various stuff/numeric string/callsign" to "live/callsign/numeric string/callsign" and put that in for the URL.
  3. Try to find the gracenote ID and add it.
  4. Use whatever makes sense for the other fields provided

Really enjoying this app, sorting through the learning curve for the fine-tuning.

1 Like

@Flt505 The ones that do not have the scan and sync already have the urls added, you should only need to login, close the browser and unhide the channels. If they do not play, verify the URL is the same for you on the CNN site as what I have in the editor

I was doing it wrong.
All added including ABC local, EXCEPT Fox One.
Instead of asking for provider login it wants me to create an account
After i enter my email it wants me to ADD a password,
i sue the same old PW as for the others, then the pick and pay screen


Never mind
Actually all the FOX ONE channels are already in my regular provider TVE lineup.Except Fox Local which i have from HDHR
Thanks again for this project...... What's next?? LOL
Any hope for E S P N, that's a big one.

I'm not at a PC at the moment, but FoxOne has a Connect to Provider link somewhere on the page. You don't have to sign up.

ESPN does not seem to allow for authentication to last more than a few hours and will consistently fail to play.