Generated m3u tags

Does channels provide a .m3u file with the tvg-id in there as a channel number? I dont see it or know how to obtain that

The channels.m3u that Channels will generate creates an #EXTINF line as below:

#EXTINF:-1 tvg-logo="https://tmsimg.fancybits.co/assets/s14771_ll_h3_ad.png" tvg-name="HISTORY" group-title="HD",HISTORY
http://10.0.0.81:8089/devices/ANY/channels/6044/hls/master.m3u8?

So, you get:

  • tvg-logo
  • tvg-name
  • group-title
  • callsign

but no channel number, so how do you sort by channel number if using this info, importing this info with locals, scrambles your channels all over the place.

Here is what xteve generates which give a channel number and easy to sort:

#EXTINF:0 channelID="x-ID.0" tvg-chno="2.1" tvg-name="KCBS-HD" tvg-id="2.1" tvg-logo="" group-title="HDHR",KCBS-HD

Here is channels:

#EXTINF:-1 tvg-logo="https://tmsimg.fancybits.co/assets/s28711_ll_h3_ab.png" tvg-name="KCBS-HD" group-title="Favorites",CBS

The channel number is in the URI:

http://10.0.0.81:8089/devices/ANY/channels/6044/hls/master.m3u8?

Between channels and hls in the URI's path is the channel number, 6044 in this case. If you wish to have them in the info line, you need to manually add them. (Or some creative work with sed can handle it, too.)

If you import this into say Emby, there isn't any channel numbers to go off of to view in the guide.

Then take the channel number from the URI, and add a tvg-chnum="…" with the appropriate number in the info-line.

You can either manually do this, or run your playlist through a script that will handle it for you.

(tvg-chnum is the tag that Tvheadend uses for channel number mapping when adding playlists as an input source. I'm not certain what Emby uses, but the gist is the same. If you're unsure, it's best to ask over at their forums. Or you can do what I did, and browse the source to find out which tags it looks for and maps internally.)

but everytime it updates I lose all the channel numbers right?

How is TVheadend? What player are you using? I'm looking for simplicity.

Why is your playlist constantly changing/updating? Pull the playlist, save it as a local file, modify it to have the channel numbers, then point Emby to the local file.

If your playlist and channels are constantly in flux, then something's fishy about your setup.

If I'm grabbing it from Sling-TVE or Philo-TVE within channels doesn't it update if your package changes? I'm trying to figure this all out.

I used to use Tvheadend, and used Kodi as the front end running on RPis throughout the house. Once it was set up, it was solid. I switched to Channels because of the ease of remote access.

I hear you.

Then update your playlist when you make package changes. But your package should be relatively stable. If you're going to play the game of making a Rube Goldberg situation out of this, then that's a project you need to tackle on your own.

I wish Channels would support xTeVe, than all of this goes away as I hate how Telly runs. xTeVe is much more polished and I would be done. I was also looking at Plex and Emby, Emby supports multiple guide data and allows m3u tuners and Plex doesn't, but I like Plex interface better. That's where im at. So, I'm tring to see if I can get my TVE channels into Emby or Plex.

Maybe someone else can give you direction for where you'd like to go. For me, you're trying to string too many disparate applications that don't talk well to one another, and it's a fragile dance; I wish you luck.

Can channels generate an m3u file of its available tuners? Is there a button where it will generate one?

Thanks!

No button. But:

http://${IP_OF_DVR}:8089/devices/ANY/channels.m3u

For some other options, see:

1 Like

Thanks Very Much!