Gracenote station id

is there a way to find the station id that gracenote uses for any channel? thanks.

You can use the lineup editor to just match them.

If you add custom channels, you can map any network to them.

3 Likes

Yes, and I’ve used that. The problem is that you have to know the id exactly for some nd it’s not intuitive.

It took me a half hour to find the id for news 12 nj in the lineup editor. Searching for news or news 12 doesn’t show up. I had to add a bunch of lineups only to find its id is N12NJ.

I figured there was an easier way.

1 Like

Have you tried grabbing it from your local schedule at zap2it.com?
Get the URL for the station logo from their listing
https://zap2it.tmsimg.com/h3/NowShowing/58812/s58812_h3_aa.png?w=55
This station id (58812) is my The Weather Channel
But that will only affect the EPG, not the stream you get.

8 Likes

That’s what I’m looking for. Thanks.

1 Like

I use this URL to grab the Gracenote station ids for my custom channels.

http://xxxx:8089/dvr/guide/stations

Where xxxx is the IP address of my Channels DVR

I also use the URL: http://xxxx:8089/dvr/guide/stations USA-OTAyyyyy to grab all of the broadcast station ids -- where yyyyy is my zip code.

8 Likes

Are you using the "Search All" feature?

Yes. And you made my point. Typing news 12 nj shows the wrong station in your pic. News 12+ is not the same as N12NJ. At least I don’t think it is.

1 Like

News12 New Jersey HD
N12NJHD
stationId "66025"
N12NJHD

1 Like

You’re also making my point. You have try different permutations in the search to get different station ids.

A search for news 12 nj returns different stations than news 12 New Jersey and so on. News 12 New Jersey returns the correct one but news 12 nj does not.

There is no rhyme or reason to this.

Agree.
It's based on some kind of search scoring system.
Like fix match on imports.
I like my zap2it station logo url method myself.

2 Likes

Well to answer your question there is no easier way. You can try to find on zap2it, or you can use the search all results. I also use the same techniques.

1 Like

I wouldn't mind using this if it sorted the results alphabetically.
I know what I'm searching for, it's guessing.
If it presented the multiple guesses alphabetically it wouldn't be so frustrating.

Does the zap2it method still work to get station id? Have they changed the site? Doesn't seem to return the correct info for me.

See:

So it appears the script to search for Gracenote Station IDs linked above parses only your local CDVR to give you a station ID list. Am I interpreting that correctly? Here's my issue - I'm adding new stations using Chrome Capture for Channels (CC4C) that were not available via TVE, so they have never been a part of my CDVR. They are through Spectrum and using a web link. For example, I want to add Spectrum News1 for the Cleveland/Akron area and I can pull up the guide on zap2it, but it does not appear I am able to find the 'tvc-guide-stationid' which I need to build the M3U. Any ideas on how to do that? It does not appear right-click on the station logo produces the result I need. Appreciate your reply above.

You don't need zap2it just search via the dvr using the instructions above

ok, i'll give it a whirl. I'm not a coder, so I guess I wasn't understanding how it is working, and I guess misinterpreted what I was seeing. Thanks.

Here's what the output looks like for Spectrum News 1 Cleveland using the new OliveTin method:

EDIT: zap2it method still works too. You need to right-click on the station's logo and open it in a new tab where you'd see:

Screenshot 2023-09-26 110712

The number after /NowShowing/ is what you want. Note it matches one of the numbers extracted from Channels itself.