matthuisman / frndlytv-for-channels

Frndly TV for Channels
https://www.matthuisman.nz/2021/11/frndly-tv-for-channels.html
MIT License
26 stars 5 forks source link

Feature: Add Docker ENV for start of channel numbering #1

Closed dschaper closed 2 years ago

dschaper commented 2 years ago

Can you add the channel-number tag to the EXT lines that begins numbering with a user supplied env var?

This would allow the channels to be placed strategically, I imagine making channel-number a counter that starts at the user supplied value and increments by one every time through the loop.

Thanks!

matthuisman commented 2 years ago

good idea - I was thinking of something similar just yesterday after reading this: https://community.getchannels.com/t/adding-plutotv-and-changing-channel-numbers/24796

matthuisman commented 2 years ago

ok done: https://github.com/matthuisman/frndlytv-for-channels/commit/e5b6c58e59c2d1a02197f835a207340ac7dd9725

Pull the latest docker image, and then add ?start_chno=50 to the end of the playlist url in Channels eg. http://127.0.0.1:8183/playlist.m3u?start_chno=50

Change 50 to what you want to be the starting channel number