projects
/
vuplus_dvbapp-plugin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fd2f1
)
[TVCharts] Fix possible bluescreen introduced with last commit.
author
Homey
<homey@dreambox-plugins.de>
Wed, 16 Feb 2011 03:01:23 +0000
(
04:01
+0100)
committer
Homey
<homey@dreambox-plugins.de>
Wed, 16 Feb 2011 03:01:23 +0000
(
04:01
+0100)
.toString() is not available when no service is running.
tvcharts/src/plugin.py
patch
|
blob
|
history
diff --git
a/tvcharts/src/plugin.py
b/tvcharts/src/plugin.py
index
a58c7be
..
1fc31f0
100644
(file)
--- a/
tvcharts/src/plugin.py
+++ b/
tvcharts/src/plugin.py
@@
-497,8
+497,9
@@
class DBUpdateStatus(Screen):
return
# Get Channelname
- ref = eServiceReference(self.session.nav.getCurrentlyPlayingServiceReference().toString())
- if ref is not None:
+ sref = self.session.nav.getCurrentlyPlayingServiceReference()
+ if sref is not None:
+ ref = eServiceReference(sref.toString())
ref.setName("")
serviceHandler = eServiceCenter.getInstance()
info = serviceHandler.info(ref)