Posts by MikeKL

    Slight update from use of latest service.webgrabplus-8.2.104l.zip preview.

    hmmmm Is latest preview version + Kodi behaving correctly with regard to a combination of overall timezone i.e. UTC + DST?

    (This is one of change areas mentioned for latest 2.x versions of webgrabplus)

    My Kodi/Libreelec Regional settings are to "Timezone Country = Britain (UK)" "Timezone Europe/London" and time is definitely correct in Kodi GUI, however when I use TV Guide Fullscreen with a guide.xml created with latest webgrabplus preview version all EPG timings are behind by one hour.

    (Currently still on British Summer time in UK which if i understand correctly is UTC + DST)

    For reference I am using latest UK's radiotimes.com.ini for webgrabplus to create my guide.xml

    Another rpi device is currently working with timezone fully correctly (without any manual/modification intervention) using previous full release version of webgrabplus with possibly/probably an earlier version of radiotimes.com.ini (I am slowly checking through everything on both devices for fuller understanding of differences that could cause my issue)

    ----edit----

    Both rpi's running libreelec indicate date information with an understanding of BST i.e.

    LibreELEC:~ # date

    Mon Sep 25 18:18:43 BST 2017

    Wegrabplus log header information for rpi2 running current release version of wegbrabplus

    Wegrabplus log header information for rpi3 running latest preview version of wegbrabplus

    Here is a preview of a new revision of the webgrabplus addon. service.webgrabplus-8.2.104l.zip
    Thank you for testing and providing feedback.

    Tested with following observations :-

    • Backup folder with contents within, does not appear to have been created in /storage/.kodi/userdata/addon_data/service.webgrabplus.backup. upon installation of latest preview version.
    • Copying WegGrab++.config.xml from my own previously saved settings into /storage/.kodi/userdata/addon_data/service.webgrabplus and then running program manually appears to work just fine with no perceived issues :)
    • When service.webgrabplus user configuration settings are modified, they are retained correctly when next viewing configuration settings for any modification. (I removed the run after boot 300 value and changed run time from 3 to 4 a.m.) ;) :)  lYHtKTi.png

    Thanks for the update :) :)

    Yes you were right I had downgraded from a Milhouse nightly at some point in past, re-installing Mono from libreELEC addons repository resolved issue of installing latest version of service.webgrabplus. Thanks, will now test new version...see whats changed and what if any user files needs re-creating etc.

    awiouy

    Couple of minor issues for review/clarification during any improvements/upgrading etc.

    Removing preset value in Add-on settings via Kodi GUI for run after 1st boot or a re-boot works as expected but removed default value re-appears in the Add-on settings when viewed from kodi GUI after removal; even though its definitely removed from settings.xml

    Using an after.sh works as expect for copying guide.xml to another location, but runs significant time after completion of webgrabplus EPG updates i.e. Run job at 04:00 and after.sh performed at 07:00 (Is this as intended?)

    Really great kodi add-on, run daily by me without issue since its release 8)8)

    ---edited---

    To add example of the bash scipt, that I included in .kodi/userdata/addon_data/service.webgrabplus

    after.sh

    Code
    #!/usr/bin/bash
    # copy guide.xml to visible kodi downloads folder with a rename to tvguide.xml
    cp /storage/.kodi/userdata/addon_data/service.webgrabplus/guide.xml /storage/downloads/tvguide.xml

    I assume that HDMI is being provoked by something installed on rpi which is sending a wake-up signal, I would check various settings in CEC Adapter
    for option most likely to wake up the tv i.e.

    Settings -> System -> Input -> Peripherals -> CEC adapter -> Switch source to this device on startup


    The filmon pvr addon handles epg out of the box

    Awiouy is absolutely correct (Note: Works with your Filmon account details and with your user selected favourite channels)

    You can also select items to be recorded (Which will be captured/held against your filmon account on web) although you currently cannot playback these recordings via kodi Live TV ;)
    (Note: length of recording available dependent on your account with filmon, for a free account only 30 mins)

    Note pvr.filmon is currently not working (since last week) until fix and v1.4.3 fully released and included with kodi/LibrElec builds :cool:
    ref PVR is Broken - FILMON API CHANGES

    pvr.filmon needs some love and support from user and developer community (i.e. to enable playback of our "Filmon cloud" recordings from kodi build in Live TV options)

    donbrew with WebGrab+Plus Service (currently v8.0.104 for LE Krypton or v7.0.104 LE Jarvis) you need to ensure that you remove default 300 value from --on-active field
    (To stop run of webgrabplus 300s (5Mins) after every device restart)

    Otherwise at a set time (5 mins by default) after every reboot job will be run.

    For a quick how-to modify settings introduced in vx.1.104 see my Screenshots in this post


    Hello Alister,

    Can you describe the circumstances which produce this error?
    Are you trying to run the service manually?
    If so, you should use the command webgrabplus.run, not the command webgrabplus.start

    awiouy, Please can you update 1st post in thread to reflect latest release features. (This will reduce user queries on changes/improvements to this truly excellent service add-on)


    Superb!
    I will integrate your configurator to the LE addon this week-end

    Looking forward to Primaeval's WebGrab+Plus Configurator (all options?) being merged into webgrabplus service, makes a lot of sense. :cool: :cool:

    I believe that webgrabplus.start program we previously pointed too for when specific one-off runs of epg grab required (i.e. via primaeval configurator) becomes webgrabplus.run with webgrab+Plus v8.0.104 and later versions. (Is this a correct assumption, I have only looked at code contained in .start & .run files, have not physically tested :blush: )


    Thank you MikeKL for the feedback and for the detailed instructions.
    I will ask to commit the corresponding pull request


    Quick update to confirm job ran successfully as expected on my rpi2 at 03:00 this morning and have just used Kodi GUI and webgrabplus settings option to modify time to run job on Tue morning at 04:00

    Checking remotely using ssh and "systemctl list-timers" command, confirms next job will run Tue 2016-10-25 04:00:00 BST ;)

    sshing to rpi2 and running the "systemctl list-timers" command, following is the interesting information, extracted from commands output

    Code
    NEXT                         LEFT     LAST                         PASSED       UNIT                         ACTIVATES
    
    
    Mon 2016-10-24 03:00:00 BST  11h left Sun 2016-10-23 11:21:33 BST  4h 22min ago webgrabplus.timer            webgrabplus.service
    • NEXT = Next time the job will run
    • LEFT = Time remaining until next job runs (from current time)
    • LAST = Last time job ran (from current time, which was 300 secs after webgrabplus service was installed/enabled)
    • PASSED = Time since last job ran
    • UNIT = the webgrabplus.timer
    • ACTIVATES = the webgrabplus.service


    Which gives me a good indication that webgrabplus will run fine at 03:00 on Monday morning ;)

    OK Installed LE 8 Preview version of LibreELEC WebGrab+Plus service (over top of my existing WebGrab+Plus service Installation)

    I then ensured latest version of WebGrab+Plus service was configured/enabled and to my preferences.

    Add-ons -> Add-on Browser and select My Add-ons

    Select Services

    Select WebGrab+Plus

    Select Configure

    WebGrab+Plus Settings options

    • I have removed default 300 value from --on-active field (To stop run of webgrabplus 300s (5Mins) after every device restart)
    • I have left --on-calendar field at default setting. (To run webgrabplus daily at 03:00)


    Everything looking Good :cool: thank you very much for modifiable timer addition to LibreELEC WebGrab+Plus Service add-on Awiouy :cool:

    awiouy  primaeval, think I have finally understood how-to set up timer service for webgrabplus.start

    On my Rpi2 running LibreELEC, I have created service.webgrabplus.service and service.webgrabplus.timer files and transferred them to

    \Storage\.config\system.d

    service.webgrabplus.service

    Code
    [Unit]
    Description=WebGrab+Plus
    Documentation=http://www.webgrabplus.com/
    After=network.target
    Requires=network.target
    
    
    [Service]
    Type=simple
    ExecStart=/bin/sh /storage/.kodi/addons/service.webgrabplus/bin/webgrabplus.start

    service.webgrabplus.timer

    Then I enabled and started timer with following commands via ssh

    systemctl enable service.webgrabplus.timer
    systemctl start service.webgrabplus.timer

    I can check that the webgrabplus timer and service are actively running via ssh (following is short extract of pertinent info)

    systemctl list-timers

    Code
    NEXT                         LEFT          LAST                         PASSED
    UNIT                         ACTIVATES
    Mon 2016-10-10 04:00:00 BST  9h left       n/a                          n/a
    service.webgrabplus.timer    service.webgrabplus.service

    Now see if service runs successfully/correctly at 04:00 tomorrow morning :rolleyes: