opdenkamp/xbmc-pvr-addons — pull request #83 by FernetMenta (2012-11-10 13:20:29+00:00)
Title: Vnsi: revised handling of live streams

According to recent changes in pvr demuxer I have revised the stream handling.

1)
don't shuffle streams on a stream change. Use pid instead of artificial index for proper identification.

2)
set language correctly for audio streams

3)
bumped protocol version and disabled backwards compatibility to vdr server plugin (for now). There's more changes to come.

@opdemkamp
I don't know how tvh does stream handling, it may have the same problem as vnsi. If streams are shuffled on stream change in order to fill gaps, this may cause audio/video player to re-open. pvr parser sets properties like profile which are not set by the backends. Keeping the stream at old position prevents from this problem. For gaps which can't be filled vnsi sets stream type to unknown which makes pvr demux client open a dummy demuxer.