I have tvh 4.1-2415~ge5f5a4278 on arch 4.8.13-1-ARCH running.
I have a subscription with an IPTV provider that delivers the list in m3u format. I can have only one connection from my ip to the provider so scan, watch or tune only one channel at a time.
I download the m3u file and save it in a location on my computer as follows: /home/hts/tv-tvh.m3u
TvH is configured as such:
DVBinputs-->Networks-->added here a new "network"
I have set there:
Maximum # input streams: 1
Scan after creation: unticked box, as not desired
Maximum timeout (seconds): 5
I choose 5 seconds because this way when a channel does not work, which is the case with quite a bit of them, it will not wait for 30 seconds to move on, this way it will complete the whole list of 5000+ entires in 7-8 hours, so a good night sleep.
Skip initial scan: ticked box, cux desired
Idle scan muxes: unticked box, as not desired
after this I apply & save, then I hit "force scan" and it starts scanning, after 7-8 hours done, I can go to "services" tab and "map all channels" and they appear in channels list and in my clients and everything works.
At the moment I have a cron job running that downloads the m3u list for me every 48 hours and saves/replaces the aforementioned /home/hts/tv-tvh.m3u file which I have mentioned as the "URL" for my IPTV network in tvh settings.
How often does tvh read that file, every so many hours or only when starting the tvh services or only once when the network is added?
Would there be a way to trigger tvh to read that file every e.g. 48 hours and update the services automatically and automatically map all services to channels (rather then having to replicate these steps manually each time)?
Or as most channels keep the same in the list, but sometime the source URL for the stream info changes slightly, so if the services that were mapped to channels could stay in the list and only the stream url info-bit is updated that would already save a lot of time.
In another machine where i use dvb-s, with an older version of tvh I'm able to create the chans entries in the hts directories directly myself (via cli in the directly, i know very crude but did the trick for me, see here https://tvheadend.org/d/1354-dvb-s-working-mux-does-not-show-in-service-thus-no-mapping-to-channel-possible-apparently-a-service-information-table-processing-issue-here-the-workaround?r=9273#message-9273).
I tried to do the same here but in this version of tvh, tvh seems to use database entries as channel entries so my workaround does not work for my other scenario.
thank you for any help or suggestions in advance :)
There are also other ppl with same issues, e.g. https://tvheadend.org/issues/4174
or threat https://tvheadend.org/d/4327-m3u-m3u8-support-like-vlc-simple-iptv-plugin?r=24360#message-24360