zeroniak/xbmc-pvr-addons — pull request #2 by avdleeuw (2012-09-30 10:43:55+00:00)
Title: enable the use of channel handle instead of client id when stopping a stream

This PR introduces an extra configuration setting which enables the use of channel handle instead of client id when stopping a channel.

It seems there is a bug in the DVBlink API which seems to stop the streams for all active clients, even if the client ids are different. It does however work correctly when using the channel handle.

Also cleaned up some of the code to make it more consistent.