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 15 of 38

Thread: Front Panel Icons Fixed.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #35

    Title
    Member
    Join Date
    Dec 2013
    Posts
    86
    Thanks
    30
    Thanked 9 Times in 8 Posts
    Quote Originally Posted by birdman View Post
    Here is a patch against the Enigma2 v1001 (== Apollo.096 == current) version of RecordTimer.py that implements the changes which Leader made (slightly different - it uses try/except to simplify the assignment lists of the original).

    This strikes me as doing the right thing in the right place, namely in getting the icon settings to be changed by the same code functions which actually start and stop recordings.
    It's been working fine., although it does also need to have the symbol set to 0 at boot-up, as otherwise it remembers teh last state (whcih might not be "off"). That can be done with a /etc/rcS.d script or, ideally, enigma2 should ensure that when it start up.

    Any chance of getting this included as part of the standard git code? (with the comments removed)
    RecordTimer.py.patch.zip

    (It's zip'ed, as the uploader seems to be unhappy with uploading a text file...)
    Hi Birdman,
    just looked at your patch and I tryed it that way when i wrote the code myself, but it wouldn't work h = int(f), cause on the f=open is looked as a complete file and not as a single character as I did myself think it would be looked at by the code the same as you are thinking here too, but when compiled and run it crashes out. That why I had to use all the if statements to get a integer. The code will just crash out if your patch is used.
    Last edited by Leader; 04-12-14 at 23:45.

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.