- September 1, 2008
- 21,577
- 8,224
- Home Country
- New Zealand
Maybe TyfoonGT can clarify. He did say "channel number" and "4 clicks per channel" - sort order can't be edited except by reordering the channels.There is LCN and sort order. I think that TyfoonGT is talking about sort order. Unfortunatelly, sort order is set to LCN (if LCN is greater than 1) or is set 10000 otherwise. I think that's bad idea to parse sort order from playlist file, than send information to filter which change LCN in stream, etc. It's simplier to change server part to use information from playlist file.The LCNs ("logical channel numbers") are usually read from the stream when the channel is scanned in. For DVB-C/S/T, the descriptor that specifies this information is carried in the network information (NIT or BAT). The default set by TsWriter is 10000 when the LCN cannot be found. I don't know if DVB-IP providers include network information in the channel streams - probably not. So maybe some custom handling (read: hacking ) is required... unless the information is available in the session annoucement protocol (SAP) info? If it is not available from the stream or SAP, I think it would be best/easiest to support reading it from the playlist.
Yes, default sort order is based on LCN. However the sort order doesn't really matter except for the view.
When you use zapping by LCN (TV plugin option), you zap directly to the channel regardless of order/index.
There is no doubt that this filter can/should be integrated. From my perspective, if you think it is ready and you want it to happen you only need to ask. I trust your judgement.These "hacked" parameters are there because there is no GUI for setting parameters (some are handled through ini file). Anyway, you still need way how to notify DVB-IP filter to use another parameters. In OnlineVideos are used classes which formats "connection string" for filter, same solution can be applied here. But first have to be decision if this filter will be integrated to MP (and replace old one). After that can come GUI, classes for connection strings, interfaces for filter etc.I think we discussed simplifying the URL structure to remove some of those "hacked" parameters. I've implemented a way to remove the SID and PMT PID for providers that change these regularly. I think we could add a configuration option for DVB-IP tuners to specify the local network adapter to use. That way it doesn't have to be specified per channel in the playlist. However, we would still need to find a way to pass that information to the filter so that it binds to the right adapter during.
<off topic>
About the hacked parameters again: do you also check/monitor the SID and PMT PID in the filter? The change that I have implemented means that "configuration" for those two parameters can be applied to TsWriter by setting the SID or PMT PID to zero on the channel (tuning detail).