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 2 of 2 FirstFirst 12
Results 16 to 19 of 19

Thread: Weather plugin time format error

  1. #16

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    218
    Thanked 77 Times in 64 Posts
    I managed to get it working by changing some code: \Root\usr\lib\enigma2\python\Plugins\Extensions\We atherPlugin\plugin.pyo --> "%H:%M:%S" to "%H.%M.%S" and "%H:%M",c to "%H.%M",c. Also \Root\usr\lib\enigma2\python\Components\Sources\MS NWeather.pyo --> "%H:%M:%S" to "%H.%M.%S" and "%H:%M",c to "%H.%M",c.

    Maybe someone can change the source code by adding OR sentence, for example "%H:%M:%S" OR "%H.%M.%S" Is that possible ?

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

    Code:
    https://github.com/oe-alliance/enigma2-plugins/tree/master/weatherplugin
    In theory, all you need to do is edit the plugin.py source file, put it into /usr/lib/enigma2/python/Plugins/Extensions/weatherplugin/ and reboot the gui.

    Rename the original plugin.pyo file to plugin.pyo.orig in case the new version fails.
    Last edited by ccs; 28-02-21 at 17:41.

  3. #18

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    218
    Thanked 77 Times in 64 Posts
    MSNWeather.pyo must be edited too to have observationtime working in Skin, otherwise you get n/a -error.

  4. #19
    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 Orlandox View Post
    MSNWeather.pyo must be edited too to have observationtime working in Skin, otherwise you get n/a -error.
    The source file will be in MSNWeather.py

Page 2 of 2 FirstFirst 12

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.