Ahh, this is more complex than expected - in fact, I've been caught out by this before.
We can't just generate a M3U which looks like this:
#EXTM3U
#EXTINF:-1,one
one.m3u8
Because Kodi needs an absolute path.
So, we need to prefix it. I've added env var HTTP_BASEURL to make it possible to describe what that should be.
That being said, Kodi's currently choking on the HLS stream (it plays for a bit then sticks - looks like it fell too far behind on the manifest), so I'm going to try switching over to using RTMP quickly
Activity
03-Aug-24 17:04
assigned to @btasker
03-Aug-24 17:05
Taking a quick poke about on the net, it looks like the most common approach is to add
IPTV Simple Client
However, it requires a
.m3u
playlist describing a list of channels.Although you'd probably normally maintain that manually, it'd be nice to have the container at least offer one up
03-Aug-24 17:24
Ahh, this is more complex than expected - in fact, I've been caught out by this before.
We can't just generate a M3U which looks like this:
Because Kodi needs an absolute path.
So, we need to prefix it. I've added env var
HTTP_BASEURL
to make it possible to describe what that should be.That being said, Kodi's currently choking on the HLS stream (it plays for a bit then sticks - looks like it fell too far behind on the manifest), so I'm going to try switching over to using RTMP quickly
03-Aug-24 17:31
That's working better. Committed and pushed.
I think though, rather than relying on the autogenerated one, best practice will probably be to mount a manually created one into the container.
For example:
Doing it this way will mean that, if I decide to push multiple channels in, I can trivially update/manage the list.
03-Aug-24 17:36
So, basically, the answer here is:
channels.m3u
04-Aug-24 09:14
mentioned in commit github-mirror/Home-TV-Station@4cb6f010fc1bfb5b1a3f302d6b6a34e5dba57b49
Message
feat: generate a .m3u channel list for feeding into IPTV Simple Client (project-management-only/home-tv-station#8)
Note: This file will only ever contain a single channel
04-Aug-24 09:14
mentioned in commit github-mirror/Home-TV-Station@4c8029aed99597d9b6573b6a27920b5395d1f700
Message
fix: switch to RTMP (and use absolute domain) for channel playlist (project-management-only/home-tv-station#8)