Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37
  1. #31
    ViX Beta Tester birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    4,661
    Thanks
    99
    Thanked 986 Times in 790 Posts
    I've submitted a PR to put this into the standard build. It's slightly different, as it also logs the tuner when recordings stop.

    Code:
    https://github.com/OpenViX/enigma2/pull/272
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  2. #32
    Forum Supporter
    Donated Member


    Join Date
    Sep 2014
    Posts
    2,108
    Thanks
    188
    Thanked 444 Times in 392 Posts
    Quote Originally Posted by birdman View Post
    Just drop it into /usr/lib/python/enigma2 (take a backup copy of the existing RecordTimer.pyo first) and restart the GUI.

    Any interest in this in general? Should I submit it as a PR for inclusion as standard?
    Looks good, working fine.

    Just one minor point, the file is in /usr/lib/enigma2/python and I needed a full reboot.

  3. #33
    ViX Beta Tester birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    4,661
    Thanks
    99
    Thanked 986 Times in 790 Posts
    Quote Originally Posted by ccs View Post
    Just one minor point, the file is in /usr/lib/enigma2/python
    Ah, yes. A common mistake of mine...
    and I needed a full reboot.
    In which case there is something seriously strange about your system, as the change is entirely within the enigma2 python code.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  4. #34
    Forum Supporter
    Donated Member


    Join Date
    Sep 2014
    Posts
    2,108
    Thanks
    188
    Thanked 444 Times in 392 Posts
    Quote Originally Posted by birdman View Post
    In which case there is something seriously strange about your system, as the change is entirely within the enigma2 python code.
    Well it's bog standard, I did a GUI restart and the .pyo file was not created, so I rebooted and it was.

    I checked the folder because after the GUI restart timers.xml didn't show any tuner details for a test recording I'd setup.

  5. #35
    Forum Supporter
    Donated Member


    Join Date
    Sep 2014
    Posts
    2,108
    Thanks
    188
    Thanked 444 Times in 392 Posts
    Quote Originally Posted by ccs View Post
    Well it's bog standard, I did a GUI restart and the .pyo file was not created, so I rebooted and it was.

    I checked the folder because after the GUI restart timers.xml didn't show any tuner details for a test recording I'd setup.
    I've just checked the debug logs and the first recording after the GUI restart did show the tuner details (in the log file), but it wasn't in timers/info when I looked, and the .pyo file wasn't showing in FileZilla despite refreshing. Most odd.

  6. #36
    Forum Supporter
    Donated Member


    Join Date
    Sep 2014
    Posts
    2,108
    Thanks
    188
    Thanked 444 Times in 392 Posts
    GUI restart does (obviously) create the .pyo file, but FileZilla gives a last modified time of 1 hour in the future.

    I've upgraded FileZilla today, so what it was showing yesterday is anyone's guess. Everything else eg telnet, gives the correct create time.

  7. #37
    ViX Beta Tester birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    4,661
    Thanks
    99
    Thanked 986 Times in 790 Posts
    Quote Originally Posted by ccs View Post
    GUI restart does (obviously) create the .pyo file, but FileZilla gives a last modified time of 1 hour in the future.
    Possibly related to Windows inability to understand timezones in its default mode.
    You can run Windows with a system clock set to UTC - a simple registry setting does it. (Makes sense for me, as I run dual-boot Linux/Windows systems and it simplifies things.)
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

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

    ccs (28-06-18)

Page 3 of 3 FirstFirst 123

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.