minisatip
minisatip copied to clipboard
Support "weight" parameter in requests
Currently there is no way for minisatip to distinguish "unimportant" adapter usage (such as EPG scanning, mux scanning) from actual adapter usage (streaming a channel). tvheadend has an option to send a "weight" parameter to the SAT>IP server, which can be used to distinguish the nature of the stream.
Currently I have to "proxy" minisatip instances with a tvheadend instance just to get this feature. It would be great if we could implement it in minisatip even though it's not part of the SAT>IP specification.
Hi @Jalle19 ,
Please, could you explain more about this? What's the paremeter and how it works. Perhaps I'll try to implement it. Perhaps the same could be used for my request #908
Regards.
The idea comes from tvheadend, where each "subscription" has a "weight". This means a new subscription can take presedence over an existing one if its weight is higher. This is useful to de-prioritize e.g. EPG scans.
I've since worked around this in a different way so this is in no way critical anymore.
Hi @Jalle19 ,
Thank you for the explanation. Perhaps this could be supported using my proposal described in #1052 ?
Anyway, could you please share a request with the subscription weight using TVHE? I want to see how it pases the data over the SAT>IP request. Or it is only supported using other protocols?
IIRC it's weight=X, where X is between 1 and 200. 100 is standard streaming.