English > VU+ - VU Duo Settopbox

Questions about the plugin

(1/3) > >>

Dima73:
Why is always pressing key green on blue  run  command DVB-C?
/usr/sundtek/sun_dvb.sh autostart_c
or
/usr/sundtek/sun_dvb.sh start_c

my mode DVB-T not DVB-C

Sundtek:
Because the mode is set via /etc/sundtek.conf once this configuration exists it does not matter what you start.
The configuration is created by the Sundtek Control Center.

Dima73:
Thank you.
Simply, it is a bit misleading :).

Dima73:
New version plugin 20150912-1

-fix check the new version plugin
-fix gettext text
-update russian locale

http://forums.openpli.org/index.php?app=core&module=attach&section=attach&attach_id=65451


--- Code: ------ a/SundtekControlCenter.py
+++ b/SundtekControlCenter.py
@@ -99,7 +99,7 @@
 
 ## version string #########################################################
 
-sundtekcontrolcenter_version = "20150723-3"
+sundtekcontrolcenter_version = "20150912-1"
 testOK = None
 
 ###########################################################################
@@ -372,6 +372,7 @@
                 ### search for sundtekcontrolcenter updates   
                 try:
                         version = urllib.urlopen('http://sundtek.de/media/latest.phtml?sccv=1').read()
+                        version = version.replace('sundtekcontrolcenter-', '')
                 except:
                         version = "n/a"
                 if version == sundtekcontrolcenter_version:
@@ -380,8 +381,8 @@
                         self["updateavail"].setText("n/a")
                 else:
                         try:
-                                current_version = int(sundtekcontrolcenter_version[6:14])
-                                available_version = int(version[6:14])
+                                current_version = int(sundtekcontrolcenter_version[:8])
+                                available_version = int(version[:8])
                                 if available_version > current_version:
                                         self["updateavail"].setText(_("scc update available"))
                         except:
@@ -499,9 +500,9 @@
                       else:
                           return
                       os.system(cmd)
-                      self.session.open(MessageBox, _("Trying to connect to %s (push ok to continue)" % config.plugins.SundtekControlCenter.networkIp.value), MessageBox.TYPE_INFO, 7)
+                      self.session.open(MessageBox, _("Trying to connect to %s (push ok to continue)") % config.plugins.SundtekControlCenter.networkIp.value, MessageBox.TYPE_INFO, 7)
                     else:
-                      self.session.open(MessageBox, _("%s is already connected" % config.plugins.SundtekControlCenter.networkIp.value), MessageBox.TYPE_INFO, 7)
+                      self.session.open(MessageBox, _("%s is already connected") % config.plugins.SundtekControlCenter.networkIp.value, MessageBox.TYPE_INFO, 7)
                     return
                     
               if cur[1] == config.plugins.SundtekControlCenter.scanNetwork:
@@ -685,7 +686,7 @@
             list.extend(sublist)
 
         for i in range(0,vtuner_nifs):
-          list.append(getConfigListEntry(_("Enable Tuner %d" % (int(i+1))), config.plugins.SundtekControlCenter.__dict__["tuner_enabled_%d" % i]))
+          list.append(getConfigListEntry(_("Enable Tuner %d") % int(i+1), config.plugins.SundtekControlCenter.__dict__["tuner_enabled_%d" % i]))
           if config.plugins.SundtekControlCenter.__dict__["tuner_enabled_%d" % i].value:
             list.append(getConfigListEntry(_("* Device"), config.plugins.SundtekControlCenter.__dict__["devices_%d" % i]))
             list.append(getConfigListEntry(_("* DVB Mode"), config.plugins.SundtekControlCenter.__dict__["dvbtransmission1_%d" % i]))
@@ -748,6 +749,7 @@
                 if not self.network: return
                 try:
                         self.version = urllib.urlopen('http://sundtek.de/media/latest.phtml?sccv=1').read()
+                        self.version = self.version.replace('sundtekcontrolcenter-', '')
                 except:
                         self.version = "n/a"
                 if self.version == sundtekcontrolcenter_version:
@@ -757,8 +759,8 @@
                 else:
                         update = False
                         try:
-                                current_version = int(sundtekcontrolcenter_version[6:14])
-                                available_version = int(self.version[6:14])
+                                current_version = int(sundtekcontrolcenter_version[:8])
+                                available_version = int(self.version[:8])
                                 if available_version > current_version:
                                         update = True
                                 else:

--- Ende Code ---

Sundtek:
Hi,

the plugin is updated thanks!

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln