Tvheadend

Has anyone got channels.m3u working in tvheadend?

I've tried http://x.x.x.x:8089/devices/ANY/channels.m3u and http://x.x.x.x:8089/devices/ANY/channels.m3u?format=ts but can't get the muxes to play or services or even in my tvheadend client (Libreelec).

I'd love for this to work as I would like to handle all my dvr recording by tvh and also the official channels pvr addon for kodi doesn't currently work with timers so you can't set a DVR (i understand this will be fixed with the new version of Kodi using python3)

so any clues as to how I can get it working?

If anyone else is interested.....

So after messing with it i found out that:

requesting:
http://x.x.x.x:8089/devices/ANY/channels.m3u
gives you think link:
http://x.x.x.x:8089/devices/ANY/channels/6000/hls/master.m3u8?
which doesn't work in tvheadend.

requesting:
http://x.x.x.x:8089/devices/ANY/channels.m3u?format=ts
gives you:
http://x.x.x.x:8089/devices/ANY/channels/6000/stream.mpg?format=ts
that also doesn't work in tvh.

however when by hand editing the channels.m3u file to the link like this:
http://x.x.x.x:8089/devices/ANY/channels/6000/stream.mpg
that does work in tvh.

can we have a querystring to return that link please?

This is useful information. Thanks!