Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 1 of 3 123 LastLast
Results 1 to 15 of 36

Thread: Sundtek control center python 3

  1. #1
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,796
    Thanks
    486
    Thanked 617 Times in 442 Posts

    Sundtek control center python 3

    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-...urrent_all.ipk . Backup existing files first then send files to to \usr\lib\enigma2\python\Plugins\Extensions\Sundtek ControlCenter.


    Ive created a ticket for Sundtek to update the plugin for py3/2
    Attached Files Attached Files
    Last edited by dsayers; 05-06-21 at 14:52.

  2. The Following User Says Thank You to dsayers For This Useful Post:

    Willo3092 (05-06-21)

  3. #2
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    Quote Originally Posted by dsayers View Post
    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-...urrent_all.ipk . Backup existing files first then send files to to \usr\lib\enigma2\python\Plugins\Extensions\Sundtek ControlCenter.


    Ive created a ticket for Sundtek to update the plugin for py3/2
    Thanks for doing this and posting
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  4. #3
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by dsayers View Post
    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-...urrent_all.ipk . Backup existing files first then send files to to \usr\lib\enigma2\python\Plugins\Extensions\Sundtek ControlCenter.


    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)

  5. The Following User Says Thank You to ccs For This Useful Post:

    dsayers (07-06-21)

  6. #4
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,796
    Thanks
    486
    Thanked 617 Times in 442 Posts
    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.

  7. The Following User Says Thank You to dsayers For This Useful Post:

    ccs (07-06-21)

  8. #5
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    @ccs .......try this change:
    Attached Files Attached Files
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  9. The Following 3 Users Say Thank You to twol For This Useful Post:

    ccs (07-06-21),dsayers (07-06-21),Willo3092 (07-06-21)

  10. #6
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by twol View Post
    @ccs .......try this change:
    Cheers, now working fine, loaded the driver, tuner configured and now recording a programme.

  11. The Following User Says Thank You to ccs For This Useful Post:

    dsayers (07-06-21)

  12. #7
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,796
    Thanks
    486
    Thanked 617 Times in 442 Posts
    This might work for py2/py3 compatibly

    Code:
    # Python 2 and 3: easiest option
    from future.standard_library import install_aliases
    install_aliases()
    
    from urllib.parse import urlparse, urlencode
    from urllib.request import urlopen, Request
    from urllib.error import HTTPError
    http://python-future.org/compatible_...#urllib-module
    Last edited by dsayers; 07-06-21 at 11:30.

  13. #8
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,618
    Thanks
    1,009
    Thanked 2,964 Times in 2,305 Posts
    Quote Originally Posted by dsayers View Post
    This might work for py2/py3 compatibly

    Code:
    # Python 2 and 3: easiest option
    from future.standard_library import install_aliases
    install_aliases()
    
    from urllib.parse import urlparse, urlencode
    from urllib.request import urlopen, Request
    from urllib.error import HTTPError
    http://python-future.org/compatible_...#urllib-module
    handled in code in post #5
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................
    Vu+ Uno4KSE, Dreambox dm900
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  14. #9
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,796
    Thanks
    486
    Thanked 617 Times in 442 Posts
    I noticed version in feeds is higher sundtekcontrolcenter_version = "20200915-2" but in the link in the first post its sundtekcontrolcenter_version = "20161212-2"

  15. #10
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Maybe this helps.....

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

  16. #11
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,796
    Thanks
    486
    Thanked 617 Times in 442 Posts
    Quote Originally Posted by ccs View Post
    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.

  17. #12
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by dsayers View Post
    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.

  18. #13
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,796
    Thanks
    486
    Thanked 617 Times in 442 Posts
    Quote Originally Posted by ccs View Post
    Yes my et10k.P2 is using 20200915-2, but the vu.P3 shows as 20161212-2.
    I dont think theyve updated to latest version on the website tbh

  19. #14
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Latest is here.....

    Code:
    https://github.com/oe-alliance/3rdparty-plugins/blob/master/enigma2-plugin-extensions-sundtekcontrolcenter_20200915-2_all.ipk

  20. #15
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    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 by ccs; 07-06-21 at 14:58.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.