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 15

Thread: Plugin to execute commands on boot

  1. #1

    Title
    Senior Member
    Join Date
    Sep 2010
    Posts
    159
    Thanks
    55
    Thanked 29 Times in 13 Posts

    Plugin to execute commands on boot

    Hi,
    Is there such a plugin that will allow you to execute commands such as update your channel list, update EPG on power up?

    Ive purchased a vu+ solo but it will be powered off most of the time, but Id like it to get all its updates when it's powered up.

    I understand that I could edit the crontab, but a plugin to allow you to select different commands/plugins at startup would be a really great development in my opinion.

    I would welcome others views/comments and if they have a solution.

    Thanks in advance.

    Cheers, Lee

  2. #2
    Larry-G's Avatar
    Title
    V.I.P
    Donated Member
    Join Date
    May 2010
    Posts
    32,542
    Thanks
    7,824
    Thanked 22,935 Times in 12,378 Posts
    In the ViX image you have a very powerful custom power manager which can be setup to boot / power the receiver down as per your viewing habbits.

    so for example.

    you can set the receiver to wake at 04:00.
    ABM update is set for 04:15
    EPG update set for 04:20
    receiver set to power down as 04:30.

    then receiver is set to power back on say 16:00 in time for you to come in from work and go back into deep standby at 23:00.
    also remember that all of your pre-scheduled recordings will still go ahead when the receiver is in deepstandby as it wakes before and goes back to sleep afterwards.
    My posts contain my own personal thoughts and opinions, they do not represent those of any organisation or group but my own.

    If you don't like what I post, Don't read it.

    SIMPLES.

  3. #3

    Title
    Senior Member
    Join Date
    Sep 2010
    Posts
    159
    Thanks
    55
    Thanked 29 Times in 13 Posts
    Hi Phoenix,

    Whereabouts in the menu system are those options? Im on 720 build. An found it under timers.

    I recall trying something like this a little while back, but the box would not wake from deep sleep to perform the updates.

    Happy to be proved wrong.

    Cheers, Lee
    Last edited by lscolman; 27-08-13 at 19:04.

  4. #4
    Larry-G's Avatar
    Title
    V.I.P
    Donated Member
    Join Date
    May 2010
    Posts
    32,542
    Thanks
    7,824
    Thanked 22,935 Times in 12,378 Posts
    not sure of the location as i'm not near a receiver to check, look for the power timers.
    My posts contain my own personal thoughts and opinions, they do not represent those of any organisation or group but my own.

    If you don't like what I post, Don't read it.

    SIMPLES.

  5. #5

    Title
    Senior Member
    Join Date
    Sep 2010
    Posts
    159
    Thanks
    55
    Thanked 29 Times in 13 Posts
    Ah the power timers have been improved since the last time I used them.

    Just did start from deep standby, update EPG and Bouquets and back into deep standby. Flawless.

    That sorts my ultimo which I always have power applied.

    What I was really looking for, is when you plug the solo in at the wall, and it boots up for it to run the EPG and bouquet updates. The problem is that those times are set by the plugin. I think the only option I have is to edit the startup script. Can you help with the commands I need to need to run for these plugins?

    Cheers, Lee

  6. #6

    Title
    Senior Member
    Join Date
    Sep 2010
    Posts
    159
    Thanks
    55
    Thanked 29 Times in 13 Posts

    Running plugins on boot

    Hi,

    I've just bought a VU+ Solo to partner my Ultimo. This VU+ Solo will remain unplugged and used rarely, but what I would ideally like is on boot that it runs the EPG update and AutoBouquet so it's ready to use after these updates.

    Can anyone advise where I can find the commands for running these EPG and Autobouquet scripts are stored. I'd need the command that is run when you select download from the EPG menu and the command to run the autobouquet update.

    I guess I will then need to add these as the last part of the boot script. Again, I would appreciate guidance as to what boots up last.

    I'm running ViX.

    Thanks in advance.

    Cheers, Lee

  7. #7
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    What about:
    1- set a daily power timer to boot the box at time xx.xx (maybe early in the morning);
    2- set EPG download (Cross??) to run daily at xx.05;
    3- set ABM to run at to run daily at xx.15;
    4- set a repeating auto deep sleep powertimer at xx.25

    Job done.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  8. #8
    Larry-G's Avatar
    Title
    V.I.P
    Donated Member
    Join Date
    May 2010
    Posts
    32,542
    Thanks
    7,824
    Thanked 22,935 Times in 12,378 Posts
    exactly the same answer as to your other post here.

    http://www.world-of-satellite.com/sh...mmands-on-boot
    My posts contain my own personal thoughts and opinions, they do not represent those of any organisation or group but my own.

    If you don't like what I post, Don't read it.

    SIMPLES.

  9. #9
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Hmmmm, so why ask the same question twice and let me spoil my energy on repeating an answer you already got

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  10. #10

    Title
    ViX Beta Tester
    Join Date
    Jan 2011
    Posts
    14,099
    Thanks
    3,389
    Thanked 4,102 Times in 3,198 Posts
    You could also mount the flash & HDD from your Ultimo on the Solo.
    Use the HDD as a HDD replacement on the Solo, so it reads your EPG from Ultimo on start-up, presuming that's where you store it?

    As for ABM, if you mount the flash, I'm sure you could also use a symlink to use the bouquets stored on the Ultimo on your Solo, however if you update the solo, I'm sure you'd have to repeat this step.

  11. #11

    Title
    Senior Member
    Join Date
    Sep 2010
    Posts
    159
    Thanks
    55
    Thanked 29 Times in 13 Posts
    Hi,

    Thanks for the replies. Ive asked the question again on this forum, as it wasn't answered on the original thread.

    My box will be 'unplugged' i.e. not powered up. When I physically apply power at the switch on the wall, Im looking for a way for the EPG and bouquet updates to run on startup. As far as I can see timers cannot achieve this currently.

    Cheers, Les

  12. #12
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Quote Originally Posted by Rob van der Does View Post
    Hmmmm, so why ask the same question twice and let me spoil my energy on repeating an answer you already got
    Quote Originally Posted by lscolman View Post
    Thanks for the replies. Ive asked the question again on this forum, as it wasn't answered on the original thread.
    Euuuhhh??? You got an answer exactly 5 minutes after asking your question: see here
    And if you're not happy with an answer, you should continue asking questions in the original thread, not doing it all over in a new one.


    Not sure why you would want to 'unplug' the box: power consumption in deep sleep is around 0.5W.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  13. #13

    Title
    Senior Member
    Join Date
    Sep 2010
    Posts
    159
    Thanks
    55
    Thanked 29 Times in 13 Posts
    Euuuuhhhh? I did ask the question again in the previous thread, but
    Got no response...

    "What I was really looking for, is when you plug the solo in at the wall, and it boots up for it to run the EPG and bouquet updates. The problem is that those times are set by the plugin. I think the only option I have is to edit the startup script. Can you help with the commands I need to need to run for these plugins?"

    The above is the last paragraph of the last post I made.

    Just to clarify, the power is NOT applied to the box, not do I want to apply power to it. It can be months on end whilst I use my cinema room and leaving stuff in standby is a waste of power (in my opinion).

    Any help would be appreciated.

    Cheers, Lee

  14. #14

    Title
    V.I.P
    Join Date
    Jan 2011
    Posts
    265
    Thanks
    60
    Thanked 574 Times in 190 Posts
    this command should work with latest AutoBouquets E2 plugin - 201308251700
    you can look in plugin.py file at the area list for your own data and region codes.

    command line options:
    "DATA" [4 digit decimal]
    "REGION" [2 digit decimal]
    "EXTRA" [Y/N]
    "HDFIRST" [Y/N]
    "NUMBERING" [Y/N]
    "UPDATE_FLAG" [Y/N]
    "PLACEHOLDER_FLAG" [Y/N]
    "PARENTAL_CONTROL" [Y/N]
    "CUSTOM" [Y/N]
    "FTA_ONLY" [Y/N]
    "SCRIPTCHECKS" [Y/N]
    "STYLE" [0,1,2,3,4,5]

    command line example:
    Code:
    /usr/lib/enigma2/python/Plugins/Extensions/AutoBouquets/autobouquets_e2.sh 4101 07 N Y Y Y Y N Y Y N Y 0

  15. The Following User Says Thank You to LraiZer For This Useful Post:

    judge (30-08-13)

  16. #15
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Quote Originally Posted by pheonix View Post
    exactly the same answer as to your other post here.

    http://www.world-of-satellite.com/sh...mmands-on-boot
    I merged the two threads.

    @ Iscolman: please don't ask the same question in multiple threads.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

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.