Use Channels-DVR as a tuner for Emby

As someone who stumbled through all this (I use Jellyfin but it's essentially the same thing), it would be great to have a proper GUIDE for all this. How to find the M3Us (individual and /ANY), how to get the XML guide - I use channels standalone now but there will definitely be an audience for using it to feed their media server TV.

1 Like

The Guide data from Channels does not play nice with EMBY ... EMBY has trouble reading the Season and episodes from Channels Guide data. ... so it does not name them properly.

Here is a Sample of EMBY naming an Episode with Channels Guide data ... You would have to get Jellyfin or Emby to be able to parse the season/episode correctly. NextPVR already made this change.

The Flintstones 2021_01_24_10_30_00 - The Gravelberry Pie King

1 Like

Yeah I concur.

The XMLTV output from channels is a great feature, and it is advertised as "crude" but it would be a HUGE improvement if they can get it to provide a format that is 100% compatible with Emby.

@tmm1 I have been using XMLTV with Emby for years. If I can be of any help to get this done please let me know.

Why can't EMBY make the change ... I provided the XML to NEXTPVR and they added parsing of the Season and Episode ?. Both HDHomeRun and Channels use the same XML for Season/Episode.

<episode-num system="onscreen">S06E04</episode-num>
1 Like

Well they could of course. Have you inquired with the devs over on the Emby forums?

There is a standard for XMLTV data that all of these different PVR/DVR devs should follow and a lot do:

<episode-num system="dd_progid">EP02843356.0007</episode-num>
<episode-num system="xmltv_ns">0.6.0/1</episode-num>

Emby does, NPVR does, Sage does/did I haven't played around with XMLTV and CDVR (I like the X-M3U feature) but I would be willing to bet that CDVR does too.

All that being said I don't know if it is even possible using the current XMLTV export feature of CDVR to provide the standard mentioned above. It would be great if it could.

I am hoping that Emby (in their "Next Gen LiveTV update) incorporates something like the X-M3U feature that CDVR uses and all this will be a moot point, add the station ID# to your M3U file for each channel and you are done it pulls the correct EPG data for each channel.

Nope because I know what their answer will be the same when I requested for EDL support . We will in the future and that was 2 years ago. Their support for new features is lacking.

Besides they already provide guide data. That works great with Channels M3U.

1 Like

I was thinking everything you just wrote.

If they incorporate X-M3U life will be sweet. Channels does the rest,

My Setup is M3U from channels to EMBY using Guide data for OTA and Cable using Emby Guide Data. ... M3U to Emby using TVE Guide Data from Channels DVR.

That allows me to Share the Streams (tuners) if both EMBY and Channels are watching or recording same channel etc ...

TVE in EMBY ...

I have successfully got my Channels DVR setup in Emby as a tuner. Channels is providing the m3u playlist and guide. But I can only get about 5 hours of data with this url format in Emby
http://MyChannelDvr:8089/devices/ANY/guide/xmltv. In another forum it was stated to format url like this http://MyChannelDvr:8089/devices/ANY/guide/xmltv?duration=1209600
But that doesn't work. How do I get up to 14 days unitizing this feature for Channels DVR to provide guide information.

1 Like

You sur EMBY is not setup in the DVR section to Auto ? You need to set that to 14 days.

Nope it set for 14

I have 14 days using this ....

[http://MyChannelDvr:8089/devices/ANY/guide/xmltv?duration=1209600])

I tried that format but no data is pulled. When I go to channel mapper all channels are gone. It only populates channels without the duration added to the url.

Why are you trying to use Guide data from ChannelsDVR when yo have EMBY Guide data ?

I don't want to have to setup numerous guides to get the same thing if Channels Provides it. Also all the pacific channels will not provide guide data. That requires a couple of more guides to setup. But when there are changes in the lineup Channels will automatically do that without having to remap the channels.
I had this working with my other DVR but this new Channels DVR server will not provide the data.

This is the way I have mine setup ..... I use Emby for OTA and Cable because EMBY does not correctly parse the season/episode using Channels guide .. I added guide data for TVE and Pluto separately.
Only tuner
http://10.0.0.153:8089/devices/ANY/channels.m3u?format=ts

I don't know what if was but I just copied paste the format you reply back to and its now loading the data and cinchonizing the channel lineup from The Channels DVR. You must provided me with some mojo.

1 Like

Did you see my setup above ?

I had that setup as well but when I made changes in my line up in my Channels it just makes a big mess that want to go this route. But also want to start a second dvr so I don't screw up my original one. It was working great with Channels providing the Tuning and Guide data without having to add all those guides and map channels.

1 Like

Well after some time, using Channels DVR as a Emby tuner is not going to work When I stop a stream the DVR continues to think that stream is still active even after quitting Emby app. After several start ups I notice there's several streams active and causes Emby player to freeze and buffer. Somehow Channels needs to determine a Emby client has closed the stream connection. Behavior is the same with recording. I followed the same configuration you have.