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.
Results 1 to 7 of 7

Thread: Volunteers to test an experimental change

  1. #1

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts

    Lightbulb Volunteers to test an experimental change

    I'm looking for some volunteers to test a change to one of the files used to represent information about services/channels.

    Why?
    For many years, there have been two ways for the Enigma2 code to pass information that identifies a channel: eServiceReference is defined and used by the enigma2 executable, and ServiceReference in the Python UI. The Python UI also has to do a lot of conversion from its preferred ServiceReference object to the enigma2 executable's eServiceReference. What this means is
    - more code has been needed to check whether a conversion is needed
    - more code has been needed to do the conversions
    - there are more places for mistakes to be made and bugs to creep in. In fact, ServiceReference itself has some quirks that make for unpredictable behaviour.

    So, after a year or so of putting up with this as being just the ways things are, I'm hoping to simplify things for anyone looking to do any Enigma2 development. There's no immediate benefit to you as you sit on your sofa unfortunately!

    The change involves a single file, /usr/lib/enigma2/python/ServiceReference.py, which has been altered to make the two different types behave as if they are the same thing. This shouldn't have any adverse impact on OpenVix's behaviour, and hasn't in the week or so I've been running the change myself. I don't, however, run any fancy plugins (catchup, EPG or IPTV) or skins. So, to progress this change further, I'd like to get wider testing: I'm especially interested in feedback if you're running additional plugins or non standard skins, but even if you're not, the more testing this gets the better.

    Requirements
    There's no minimum version required, but being on at least 5.3 is advisable
    You must be able to FTP and be able to issue commands using Putty etc just in case there is a problem.
    If you encounter errors, I'll need crash logs to help diagnose the problem.
    Please say the exact button steps to reproduce the error and any relevant options enabled.
    If you are using IPTV, remember to remove IPTV credentials before uploading logs.
    Due to the nature of the change, there is a very slight risk of recordings being set on incorrect channels or being saved with the wrong channel information. I've not seen this myself, but if you're recording anything absolutely unmissable, revert to the original whilst that happens.

    Testing the new file:
    1. Create a settings backup just in case you have problems. This is unlikely, but a sensible precaution.
    2. Create a copy of /usr/lib/enigma2/python/ServiceReference.pyo. Call it something like ServiceRefernce.pyo.orig
    3. Extract the attachment into the /usr/lib/enigma2/python/ folder
    4. Restart GUI.

    Reverting to the original
    1. Delete /usr/lib/enigma2/python/ServiceReference.py
    2. Rename ServiceReference.pyo.orig to ServiceReference.pyo
    3. Restart GUI

    Thanks to anyone that volunteers!

    ServiceReference.zip

  2. The Following 3 Users Say Thank You to simonc For This Useful Post:

    abu baniaz (22-05-20),khan888 (22-05-20),markus625 (20-05-20)

  3. #2
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,361
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 Posts
    Count me in

  4. The Following User Says Thank You to abu baniaz For This Useful Post:

    simonc (20-05-20)

  5. #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
    I'm up and running.

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

    simonc (20-05-20)

  7. #4

    Title
    ViX Beta Tester
    Join Date
    May 2011
    Posts
    682
    Thanks
    56
    Thanked 236 Times in 163 Posts
    Just added this to 5.3.032 (self-compile) on an Ultimo4K. Not noticed any strange behaviour yet. I have used things like the IPTV Bouquet creator, X-Streamity and do have some IPTV substitution in ABM

  8. The Following User Says Thank You to lincsat For This Useful Post:

    simonc (21-05-20)

  9. #5
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Hope this makes sense....

    5.3.029 with the new ServiceReference.py included. Skin Simple_1080.

    Grid EPG no longer shows the pre and post padding recording indicators.

    See next post for observation without ServiceReference.py
    Attached Images Attached Images
    Last edited by ccs; 21-05-20 at 13:36.

  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
    This is 5.3.030 without the new ServiceReference.py

    Pre and post recording indicators in Grid EPG show as expected. (Simple_1080 skin)

    If I highlight one of these programmes using the left/right keys the red colouring disappears.

    If I highlight one of these programmes using the up/down keys the red colouring re-appears.
    Attached Images Attached Images

  11. #7
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Just spotted this commit which probably explains what I was seeing in #5 - although #6 may still be relevant (in another thread!).

    Code:
    https://github.com/OpenViX/enigma2/commit/b95bd3ee8f929fcaec097c035dc1deef6768cb09
    Last edited by ccs; 21-05-20 at 14:49.

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.