dberg 6 Posted April 4 Share Posted April 4 I have a custom .m3u I use as my LiveTV source which consists of channels in the DirecTV national lineup (USA-DITV-X). The channels in this playlist are organized in an order that is different from DirecTV's lineup and I'm looking for a way to automap these channels in Emby when I apply a Guide Data Source to them. Currently, if I apply the DirecTV Guide Data Source to my custom .m3u, it auto populates EPG data based on the channel order from DirecTV which gives me a ton of incorrect channels in the Guide. The only way I can get it to work is if I don't map my playlist under Guide Source Data and I manually configure the guide & channel in Emby channel manager for every entry in the playlist. This is a very long and tedious process and I'm concerned if I need to change hosting providers or if something happens to my Emby instance and I'm unable to restore from backup I'll need to go through this entire manual channel config process again. TVHeadend manages this with the tvg-id field. I set the SchedulesDirect ID for every entry in my .m3u and it maps the correct guide data to each custom channel. #EXTINF:-1 tvh-chnum="100" tvg-id="I58646.json.schedulesdirect.org" group-title="News",CNN http://tvprovider/user/pass/channel1 #EXTINF:-1 tvh-chnum="101" tvg-id="I64241.json.schedulesdirect.org" group-title="News",MSNBC http://tvprovider/user/pass/channel2 #EXTINF:-1 tvh-chnum="102" tvg-id="I58780.json.schedulesdirect.org" group-title="News",CNBC http://tvprovider/user/pass/channel3 Is there a way to utilize the tvg-id or tvg-name fields in a .m3u playlist to get Emby's SchedulesDirect guide data to automatically map correct EPG data to custom channels? Link to comment Share on other sites More sharing options...
Luke 37975 Posted April 4 Share Posted April 4 HI, yes Emby also supports tvg-id. if you are using xml guide data then just make those those values match up with the channel id's in the xml data. 1 Link to comment Share on other sites More sharing options...
dberg 6 Posted April 4 Author Share Posted April 4 Thank you for the quick response! Do you have an example of how the tvg-id field should look in order to map to Emby's guide data? All I see under channel manager is Mapped to 202 CNN - USA-DITV-X Link to comment Share on other sites More sharing options...
Luke 37975 Posted April 4 Share Posted April 4 Right now I don't. Emby Guide Data comes from gracenote. I don't know if there's any predictable pattern to their channel id's. Link to comment Share on other sites More sharing options...
Solution dberg 6 Posted April 5 Author Solution Share Posted April 5 (edited) I found a way to extract the data I needed using the API: Manually map one channel in your custom .m3u under LiveTV > Channels using the Emby guide data source you wish to use (I'm using DirecTV (USA)) Using the Emby API, get the ListingsProviderId from /LiveTv/Manage/Channels (for USA-DITV-X this was 9390bbe3a61b49bea1987c897bc077c6) Use the Emby API and the ListingsProviderId to pull the full list of channels and their Gracenote IDs from /LiveTv/ChannelMappingOptions Populate the tvg-id fields in your custom .m3u with the Gracenote IDs (for CNN in the USA-DITV-X linuep the Gracenote ID was 10142) #EXTINF:-1 tvh-chnum="100" tvg-id="10142" group-title="News",CNN http://tvprovider/user/pass/channel1 Edited April 5 by dberg 1 Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 13 Share Posted May 13 I have this same issue. I have two channels I need guide data from, BBC Three / CBBC, and BBC Four / CBeebies. I know what the tvg-ids are for each channel, but I can't seem to populate the guide data for the channels even though they exist on platforms such as Channels DVR and on Stremium, which both use Gracenote. I need a way to grab the data and pull it into Emby, but I am having a hard time with it. If I can get any help with it in my m3u file, I would appreciate it. BBC Four / CBeebies guide ID: 97275 BBC Three / CBBC guide ID: 122508 Link to comment Share on other sites More sharing options...
Luke 37975 Posted May 14 Share Posted May 14 On 5/13/2024 at 1:54 PM, lawm0500 said: I have this same issue. I have two channels I need guide data from, BBC Three / CBBC, and BBC Four / CBeebies. I know what the tvg-ids are for each channel, but I can't seem to populate the guide data for the channels even though they exist on platforms such as Channels DVR and on Stremium, which both use Gracenote. I need a way to grab the data and pull it into Emby, but I am having a hard time with it. If I can get any help with it in my m3u file, I would appreciate it. BBC Four / CBeebies guide ID: 97275 BBC Three / CBBC guide ID: 122508 Hi, what data is in your m3u and what data is in your xml? Link to comment Share on other sites More sharing options...
emveepee 117 Posted May 15 Share Posted May 15 (edited) On 4/5/2024 at 3:41 AM, dberg said: I found a way to extract the data I needed using the API: For the US and Canada if you go to zap2it.com the icon link for the channel should have the channel's TMS ID, might be easier. Here is CNN https://zap2it.tmsimg.com/h3/NowShowing/58646/s58646_ll_h15_ac.png?w=55 I don't know why you need 10142? Edited May 15 by emveepee Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 15 Share Posted May 15 16 hours ago, Luke said: Hi, what data is in your m3u and what data is in your xml? What data is in my m3u? I am trying to add the data manually. Both Channels DVR and Stremium both have data for both channels through Gracenote. Which means Emby does have data for the channels as well, but the problems are hidden with each UK guide I tried. So, I don't know what XML you are talking about as Emby already has the data that is necessary, it's just not listed. Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 15 Share Posted May 15 (edited) 38 minutes ago, emveepee said: For the US and Canada if you go to zap2it.com the icon link for the channel should have the channel's TMS ID, might be easier. Here is CNN https://zap2it.tmsimg.com/h3/NowShowing/58646/s58646_ll_h15_ac.png?w=55 I don't know why you need 10142? 10142 I believe refers to what Gracenote has for the HD feed of CNN on DirecTV. 58646 refers to the SD feed of CNN. My two IDs are for BBC Four / CBeebies, and BBC Three / CBBC. Both of those channels time-share with each other. I have to lookup the names for both channels on Channels DVR and Stremium to add them because guide data for both channels are hidden from users. Users have to search them manually to add them, which Emby does not have an option for. Edited May 15 by lawm0500 Link to comment Share on other sites More sharing options...
emveepee 117 Posted May 15 Share Posted May 15 3 hours ago, lawm0500 said: 10142 I believe refers to what Gracenote has for the HD feed of CNN on DirecTV. 58646 refers to the SD feed of CNN. My two IDs are for BBC Four / CBeebies, and BBC Three / CBBC. Both of those channels time-share with each other. I have to lookup the names for both channels on Channels DVR and Stremium to add them because guide data for both channels are hidden from users. Users have to search them manually to add them, which Emby does not have an option for. Got it, although it looks like 10142 is the SD ID on zap2it.com, so my approach still seems to work (in the US and Canada). I'd try for CBBC (SD and HD are different too) 29324 or 83281 and CBeebies 29325 or 83283. Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 15 Share Posted May 15 1 hour ago, emveepee said: Got it, although it looks like 10142 is the SD ID on zap2it.com, so my approach still seems to work (in the US and Canada). I'd try for CBBC (SD and HD are different too) 29324 or 83281 and CBeebies 29325 or 83283. I think I got confused with SD and HD when it loaded, but I stand my point. I don't need the separate channels. I need the combined channels for BBC Three / CBBC, and BBC Four / CBeebies. Emby has the data, but it's hidden. Channels DVR has the data, but it's hidden from its users as the data for the UK channel lineups don't have it. They have it when you search for all of the channels. I have the IDs, I just need to hopefully implement it into the m3u, and Emby should grab the data automatically. If not, then Emby does not allow it's users to add streaming EPG data Gracenote has. Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 21 Share Posted May 21 @LukeAny other information you need? Link to comment Share on other sites More sharing options...
Luke 37975 Posted May 21 Share Posted May 21 2 hours ago, lawm0500 said: @LukeAny other information you need? Hi, information to do what with? What data is in your m3u? You'll need to design it as best you can to match the guide data for automatic mapping. Usually tvg-id is the best way to do that, but currently there is no way to see what the gracenote channel id's are going to be. Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 21 Share Posted May 21 51 minutes ago, Luke said: Hi, information to do what with? What data is in your m3u? You'll need to design it as best you can to match the guide data for automatic mapping. Usually tvg-id is the best way to do that, but currently there is no way to see what the gracenote channel id's are going to be. #EXTM3U #EXTINF:-1,BBC Three / CBBC Stream #EXTINF:-1,BBC Four / CBeebies Stream tvg-id in the m3u should be: #EXTINF:-1 tvg-id="122508",BBC Three / CBBC Stream But the information doesn't work. I can't use the separate channels as it is wrong, and only gives me half the data, only for one of the channels. I need the combined channel guide data, which is for BBC3CBC. But I can't get it, even though both Channels DVR and Stremium both have the data, and both use the same tvg-id. Link to comment Share on other sites More sharing options...
Luke 37975 Posted May 21 Share Posted May 21 Where did you get that number for the tvg-id? Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 22 Share Posted May 22 17 hours ago, Luke said: Where did you get that number for the tvg-id? From both Stremium and Channels DVR. That is where the tvg-id came from, both matched. The data is there from Gracenote, but since I have to add channel lineups on Emby, I can't find it even though data does exist. Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 22 Share Posted May 22 17 hours ago, Luke said: Where did you get that number for the tvg-id? https://api.stremium.com/findStation?query=bbc three http://mychannelsdvrserver/tms/stations/bbc%20three%20cbbc Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 22 Share Posted May 22 Okay, after doing some research, it is the listingschannelID Emby is using. For example, I have a stream for BBC Radio 1. Both the IDs that Emby has, and the one in the Stremium API are the same, ListingsChannelId: "24434". So I do know that the Emby team is using Gracenote since the IDs match. The guide data I used on Emby for BBC Radio 1 is the extended UK guide. Now it is just getting the hidden IDs for the channels I need. 1 Link to comment Share on other sites More sharing options...
Luke 37975 Posted May 27 Share Posted May 27 Thanks, so you're able to use that now? Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 28 Share Posted May 28 On 5/27/2024 at 12:48 AM, Luke said: Thanks, so you're able to use that now? Uhm, no, of course not. Would you know how to add the data manually so users don't have to use their own XML just for two channels? Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 28 Share Posted May 28 This is what I am using for the channels. This is just data for BBC Four and BBC Three, but not the combined channels that I need. Nowhere in the UK guides does the combined channels are listed. So they are hidden from users. How do I add the missing data. Link to comment Share on other sites More sharing options...
Luke 37975 Posted May 28 Share Posted May 28 Are you saying you have channels that are not included in your guide data? Are you using Emby Guide data but then trying to fill in two missing channels with xml? Link to comment Share on other sites More sharing options...
lawm0500 2 Posted May 28 Share Posted May 28 45 minutes ago, Luke said: Are you saying you have channels that are not included in your guide data? Are you using Emby Guide data but then trying to fill in two missing channels with xml? I have 2 channels that need guide data that are not in the guide data I am using that I can't find. I am indeed using Emby Guide Data, and I am trying to fill in the two missing channels with the numbers I got from the API, but can't be loaded because the data is not in there in any of the lineups, even though they should be as each of the services I have looked at that use Gracenote have it. Link to comment Share on other sites More sharing options...
Luke 37975 Posted May 29 Share Posted May 29 For two channels why not just use the UI to map them manually? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now