Autor Thema: Questions about the plugin  (Gelesen 39947 mal)

Dima73

  • Jr. Member
  • **
  • Beiträge: 92
    • Profil anzeigen
Questions about the plugin
« am: September 12, 2015, 08:58:41 Nachmittag »
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

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8593
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #1 am: September 12, 2015, 09:02:35 Nachmittag »
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.
Failure is a good thing! I'll fix it

Dima73

  • Jr. Member
  • **
  • Beiträge: 92
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #2 am: September 12, 2015, 09:58:44 Nachmittag »
Thank you.
Simply, it is a bit misleading :).

Dima73

  • Jr. Member
  • **
  • Beiträge: 92
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #3 am: September 12, 2015, 10:32:23 Nachmittag »
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

--- 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:

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8593
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #4 am: September 12, 2015, 11:02:27 Nachmittag »
Hi,

the plugin is updated thanks!
Failure is a good thing! I'll fix it

Dima73

  • Jr. Member
  • **
  • Beiträge: 92
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #5 am: November 13, 2015, 10:45:56 Vormittag »
New wersion plugin SCC enigma2-plugin-extensions-sundtekcontrolcenter-20151106-1,old Russian(folder ru) SundtekControlCenter.mo and old SundtekControlCenter.pot

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

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8593
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #6 am: November 27, 2015, 05:25:49 Vormittag »
Got it, it will be updated with the next version.

The next version should have support for dual tuners as well.
Failure is a good thing! I'll fix it

DaMacFunkin

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #7 am: Dezember 02, 2015, 08:20:32 Nachmittag »
When will these be available please?

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8593
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #8 am: Dezember 02, 2015, 09:48:14 Nachmittag »
With VTI they are already available within the last Update.
Failure is a good thing! I'll fix it

DaMacFunkin

  • Newbie
  • *
  • Beiträge: 28
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #9 am: Dezember 03, 2015, 11:28:52 Nachmittag »
No I mean when will the dual tuners be available?

Dima73

  • Jr. Member
  • **
  • Beiträge: 92
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #10 am: April 19, 2016, 07:06:21 Nachmittag »
Sundtek
I added the plugin on github and greate new version(only ipk)
https://github.com/Dima73/enigma2-plugin-extensions-sundtekcontrolcenter

Dima73

  • Jr. Member
  • **
  • Beiträge: 92
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #11 am: Juni 05, 2018, 09:12:05 Nachmittag »
Hi Sundtek

New VU+ drivers not folder /dev/misc/
openpli develop vusolo4k

vusolo4k login: root
root@vusolo4k:~# ls -l /dev/vtuner*
crw-------    1 root     root       10,  57 Jan  1  1970 /dev/vtuner0
crw-------    1 root     root       10,  56 Jan  1  1970 /dev/vtuner1
crw-------    1 root     root       10,  55 Jan  1  1970 /dev/vtuner2
crw-------    1 root     root       10,  54 Jan  1  1970 /dev/vtuner3
root@vusolo4k:~#

Need fix SundtekControlCenter plugin:
vtuner_dir = "/dev/misc/"
if not os.path.isdir(vtuner_dir):
   vtuner_dir = "/dev/"
for dirname, dirnames, filenames in os.walk(vtuner_dir):
   for filename in filenames:
      if (len(filename) >= 7) and (filename[0:6] == "vtuner"):
         vtuner_interfaces.append(filename)

More info https://github.com/Dima73/enigma2-plugin-extensions-sundtekcontrolcenter/commit/d5a4667a0efc857bf2feca26df7d00c48785c1f6


Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8593
    • Profil anzeigen
Re:Questions about the plugin
« Antwort #12 am: Juni 06, 2018, 01:56:20 Vormittag »
Thanks for the feedback - we'll update the Controlcenter in the next few days.
Failure is a good thing! I'll fix it