From 655aa56e49589f1764e948b8328e61889c485747 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 17 Sep 2006 01:18:40 +0000 Subject: [PATCH] fix zapping alternatives bluescreen --- .../Plugins/Extensions/ZappingAlternatives/plugin.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py b/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py index 3ab3907d..814f174a 100644 --- a/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py +++ b/lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py @@ -218,7 +218,7 @@ class AlternativeZapping(Screen): def finishedChannelSelection(self, *args): if len(args): - serviceString = str(ServiceReference(args)) + serviceString = str(ServiceReference(args[0])) if not self.alternatives.has_key(serviceString): self.alternatives[serviceString] = [] self.updateServices() @@ -277,13 +277,12 @@ class ServiceChanged(PerServiceDisplay): servicechanged = None -def playService(self, ref): +def playService(self, ref, **kwargs): #print "--------------------Alternatives: trying to play service", str(ServiceReference(ref)) if ref is not None: servicechanged.lastPlayAction = str(ServiceReference(ref)) servicechanged.nextPlayTry = 0 - result = oldPlayService(ref) - + result = oldPlayService(ref, **kwargs) return result def sessionstart(reason, session, **kwargs): -- 2.30.2