Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

Sundtek control center python 3

dsayers

ViX Beta Tester
Joined
Mar 19, 2016
Messages
1,872
Reaction score
20
Points
38

Attachments

Last edited:
These are files ive changed for python 3 on openatv 6.5

Please note these are py3 only I havent had chance to look at py2 compatiblity. Install IPK from here http://www.sundtek.de/media/enigma2-plugin-extensions-sundtekcontrolcenter_current_all.ipk . Backup existing files first then send files to to \usr\lib\enigma2\python\Plugins\Extensions\SundtekControlCenter.


Ive created a ticket for Sundtek to update the plugin for py3/2

Thanks for doing this and posting
 
These are files ive changed for python 3 on openatv 6.5

Please note these are py3 only I havent had chance to look at py2 compatiblity. Install IPK from here http://www.sundtek.de/media/enigma2-plugin-extensions-sundtekcontrolcenter_current_all.ipk . Backup existing files first then send files to to \usr\lib\enigma2\python\Plugins\Extensions\SundtekControlCenter.


Ive created a ticket for Sundtek to update the plugin for py3/2

Crashes when selecting "Install or Update sundtek Driver" running P3 image.

Code:
09:37:00.7446 Traceback (most recent call last):
09:37:00.7447   File "/usr/lib/enigma2/python/StartEnigma.py", line 252, in processDelay
09:37:00.7453     callback(*retval)
09:37:00.7454   File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 538, in thismenuCallback
09:37:00.7465     ret and ret[1]()
09:37:00.7466   File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 809, in checkdriverversion
09:37:00.7479     match = pattern.search(netdriver)
09:37:00.7480 TypeError: cannot use a string pattern on a bytes-like object
09:37:00.7481 [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0xb19cba48>>,()) failed)
09:37:04.3195 [gRC] main thread is non-idle! display spinner!
09:37:09.7800 [eEPGChannelData] schedule finished(1623055029)
 
Oops I don't think I tested update drivers just installed plugin to run my tuner. I don't have ATV 6.5 on my vu anymore I just wanted to do some testing on py3.

Edit I think it asks to auto install so I would have had the crash. I'll reload ATV 6.5 and test when I get chance.
 
I noticed version in feeds is higher sundtekcontrolcenter_version = "20200915-2" but in the link in the first post its sundtekcontrolcenter_version = "20161212-2"
 
Maybe this helps.....

Code:
http://sundtek.de/media/
 
Maybe this helps.....

Code:
http://sundtek.de/media/

Thats where the current ipk link comes from and the one above current is 1.4.1-20150628-r1

Twols edit works fine anyway in both py2/py3 ill leave it to sundtek to update the plugin.
 
I noticed version in feeds is higher sundtekcontrolcenter_version = "20200915-2" but in the link in the first post its sundtekcontrolcenter_version = "20161212-2"

Yes my et10k.P2 is using 20200915-2, but the vu.P3 shows as 20161212-2.
 
Latest is here.....

Code:
https://github.com/oe-alliance/3rdparty-plugins/blob/master/enigma2-plugin-extensions-sundtekcontrolcenter_20200915-2_all.ipk
 
I've just reinstalled previous post after reflashing, and it still says 20161212-2.

Line 107 of SundtekControlCenter.py has it hardwired in.....

Code:
## version string #########################################################

sundtekcontrolcenter_version = "20161212-2"
testOK = None

###########################################################################
 
Last edited:
There's an even newer Version "20210221-2" add support automatic detection second tuner.

No idea who it belongs to.


Code:
https://github.com/Dima73/enigma2-plugin-extensions-sundtekcontrolcenter/commit/108224e2cecc04c959c2d0ce3517091da08c0d92#diff-7c9a301e06b54bdce579a009028e5d86e9b9b11e8bb5d90fe83e0ec05c1cdffd
 
The urllib checks dont need adding I ran the py though a converter when I made the first post, it just uses import urllib.

This time I manauly edited version on feeds I just edited the print statements.

This seems to work for PY2/PY3 for me, What I did notice that it doesnt seem to detect remote driver version when choosing Install or Update sundtek Driver on PY3 it shows latest sundtek driver version: n/a but it does on PY2. It still downloads the driver.
 

Attachments

Last edited:
The urllib checks dont need adding I ran the py though a converter when I made the first post, it just uses import urllib.

This time I manauly edited version on feeds I just edited the print statements.

This seems to work for PY2/PY3 for me, What I did notice that it doesnt seem to detect remote driver version when choosing Install or Update sundtek Driver on PY3 it shows latest sundtek driver version: n/a but it does on PY2. It still downloads the driver.
Version is I think because you need to change it to string (six.ensure_str) from binary (after urlopen) with py3
- that handles py2 & py3

For some reason the version checking etc is repeated in 2 different sections of code -would be better to change it to a callable routine. Also the version info should be updated after a successful download.

I updated your zipped version if you want to try, just let me know
 
Last edited:
Version is I think because you need to change it to string (six.ensure_str) from binary (after urlopen) with py3
- that handles py2 & py3

For some reason the version checking etc is repeated in 2 different sections of code -would be better to change it to a callable routine. Also the version info should be updated after a successful download.

I updated your zipped version if you want to try, just let me know

I've gone back to vix 5.4.012. I only wanted to test custommix on ATV 6.5 py3 but I couldn't without sundtek control center plugin working. I'll leave it for sundtek to update.

Upload it here if you want and I'll add a link to my support ticket for sundtek to check. Thanks
 
Last edited:
There's an even newer Version "20210221-2" add support automatic detection second tuner.

No idea who it belongs to.


Code:
https://github.com/Dima73/enigma2-plugin-extensions-sundtekcontrolcenter/commit/108224e2cecc04c959c2d0ce3517091da08c0d92#diff-7c9a301e06b54bdce579a009028e5d86e9b9b11e8bb5d90fe83e0ec05c1cdffd

Probably hidden away somewhere in here....

Code:
https://github.com/OpenPLi/openpli-oe-core/pull/876
 

OpenViX Feeds Status

Back
Top