adamsutton / tvheadend

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
http://www.lonelycoder.com/hts/tvheadend_overview.html
Other
18 stars 5 forks source link

Add initscan button to mux #63

Open clandmeter opened 10 years ago

clandmeter commented 10 years ago

Would be nice to force a initscan on a particular mux.

adamsutton commented 10 years ago

I think this can be done by making the init scan complete flag be writeable and handling updates accordingly.

adamsutton commented 10 years ago

I've started looking at this. I've made the initscan status for muxes writable (i.e. you can update from true to false). And it will re-enter (or remove) from the list accordingly.

Unfortunately I'm having some issues at the moment, I'm not getting the sequencing right if a mux is already tuned but init scan is complete. This causes an assert() to fire as things are in an inconsistent state.

adamsutton commented 10 years ago

stashed on bombadil (so I don't forget)