[gnome-dvb-daemon] python: Adjust to changes of GetChannelInfos()



commit abe376fd8261a73418a8c668f1d5414f67995d15
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Fri Oct 3 14:45:23 2014 +0200

    python: Adjust to changes of GetChannelInfos()

 client/gnomedvb/ui/widgets/ChannelsStore.py    |    4 ++--
 client/gnomedvb/ui/widgets/RunningNextStore.py |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/client/gnomedvb/ui/widgets/ChannelsStore.py b/client/gnomedvb/ui/widgets/ChannelsStore.py
index 7df7b01..91e0063 100644
--- a/client/gnomedvb/ui/widgets/ChannelsStore.py
+++ b/client/gnomedvb/ui/widgets/ChannelsStore.py
@@ -50,7 +50,7 @@ class ChannelsStore(Gtk.ListStore):
         channellist = device_group.get_channel_list()
 
         def append_channel(proxy, channels, user_data):
-            for channel_id, name, is_radio in channels:
+            for channel_id, name, is_radio, url in channels:
                 self.append([name, channel_id])
             self.emit("loading-finished")
 
@@ -120,7 +120,7 @@ class ChannelsTreeStore(Gtk.TreeStore):
             error_handler=global_error_handler)
 
     def _append_channels(self, channels, group_id, dev_group, tv_group_iter, radio_group_iter):
-        for channel_id, name, is_radio in channels:
+        for channel_id, name, is_radio, url in channels:
             if is_radio:
                 group_iter = radio_group_iter
             else:
diff --git a/client/gnomedvb/ui/widgets/RunningNextStore.py b/client/gnomedvb/ui/widgets/RunningNextStore.py
index fe0dc49..219645e 100644
--- a/client/gnomedvb/ui/widgets/RunningNextStore.py
+++ b/client/gnomedvb/ui/widgets/RunningNextStore.py
@@ -47,7 +47,7 @@ class RunningNextStore(Gtk.ListStore):
         channellist = self._group.get_channel_list()
 
         def add_channels(proxy, channels, user_data):
-            for sid, name, is_radio in channels:
+            for sid, name, is_radio, url in channels:
                 aiter = self.append()
                 self.set_value(aiter, self.COL_CHANNEL, name)
                 self.set_value(aiter, self.COL_SID, sid)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]