Server start only with movies plugin (1 Viewer)

LennyW

Portal Pro
July 19, 2012
207
11
54
Home Country
Germany Germany
I would like to start a WHS (e.g. with lightsout) only when I start the movies plugin (moving pictures). When I listen to radio or music, the server is not needed. Is there a way to start a script automatically when a plugin is started?

Thanks in advance

Lenny
 

JimCatMP

Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    Hi

    Do I take it that your movies are on separate system, the WHS, and you want that to sleep until you need access to content (movie)?

    If so, then 'wake on lan' configured at the WHS will bring it to life, and 'hibernate on idle' will switch it off after X minutes.

    See <http://code.google.com/p/wol-powermanager/wiki/SetupPlugin> this may be your solution.

    Cheers - JCMP
     

    LennyW

    Portal Pro
    July 19, 2012
    207
    11
    54
    Home Country
    Germany Germany
    Yes! It seems like this is exactly the type of add-in I need. I will check when I am back at home end of the week. I hope it will not cause issues in combination with the lightsout plugin for WHS. It works well for my other computers and the system backup.
    Thanks a lot!

    Lenny
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    Hi Lenny.

    Plugin works on the client side - simply sends WOL packet to server, so unless the lightout plugin on WHS does something odd in terms of working with the WOL packets, it should be fine.

    Version listed in link above does not work with 1.3 alpha release - nip across to the forum link (on the WOL page) for a new dll, if your using the alpha.

    TTFN - JCMP
     

    LennyW

    Portal Pro
    July 19, 2012
    207
    11
    54
    Home Country
    Germany Germany
    Unfortunately it does not work. It works okay with lightsout or even with the commandline tool of lightsout, but I am not able to use wake on lan with another tool. I would assume that the settings on the server (bios) are okay, the windows setup is okay (same as described in the setup). I have disabled the firewall, but it did not help. Is there anything else I could do?

    Lenny
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    @JimCatMP: Thanks for the hint, stumbled over it and got it working with 1.3 alpha...

    @lenny:
    I have it running here in an similar setup as yours, win7 client, whs2011 with lightsout. Everything's running fine.
    Have you set up the wake for mogpic like this?
    screen - mms - 2012-08-12 - 000.jpg
    screen - mms - 2012-08-12 - 001.jpg
     

    LennyW

    Portal Pro
    July 19, 2012
    207
    11
    54
    Home Country
    Germany Germany
    @ Luca Brasi

    Yes, my setup of WOL PowerManager is similar, but my general setup is different: Windoes XP (trial system before I buy my HTPC) and WHS V1. This may be the difference even though I do not understand why lightout works so flawless and I do not get any luck with any other WOL tool....

    Lenny
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    This is really odd cause as far as I know lightsout doesn't do anything else than a normal wol.
    Have you tried this simple wol tool? http://gammadyne.com/cmdline.htm#wol
    There are some instructions which you could take to check your settings...
    Running here a whs v1 box too. Never had any issues with wol.

    One more idea though...
    Check your nic properies on the whs for that
    screen - mms - 2012-08-12 - 002.jpg
     
    Last edited:

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    Just tested it myself and sadly I can't get it to work with 1.3 alpha (tested with separate tool and WOL works on target) - I've got latest dll (from forum), tried range of configurations and no joy.

    From forum, looks like it's still work in progress - the dll I tested is built from sources, not a formal svn release by author, so worth taking a look again sometime soon - I have tested the 0.3.0.0 MPE version on 1.2.3 and that is 100% solid.

    My WOL-Manager.xml for ref

    <?xml version="1.0" encoding="utf-8"?>
    <profile>
    <section name="WOLPowerManager">
    <entry name="ServersCount">1</entry>
    <entry name="Computername0">192.168.1.219</entry>
    <entry name="IP0">192.168.1.219</entry>
    <entry name="MAC0">00:15:58:7d:fe:a3</entry>
    <entry name="StartupWOL0">False</entry>
    <entry name="PluginsCount">1</entry>
    <entry name="Check0">True</entry>
    <entry name="Pluginname0">BBCWeather</entry>
    <entry name="Servername0">192.168.1.219</entry>
    <entry name="PluginID0">8192</entry>
    <entry name="ManualWOL">yes</entry>
    <entry name="WaitTime">20</entry>
    <entry name="RemoteButton">9978</entry>
    <entry name="IntervalCheck">yes</entry>
    <entry name="IntervalTime">30</entry>
    <entry name="PingOverIP">yes</entry>
    </section>
    </profile>

    For testing, I simply used the BBC Weather plugin - select plugin, remote server starts.........

    Unit are on same network, the 'client' (where plug in stalled) is 10/100/1000 unmanged switch, the 'server' sitting on 200MBps ethernet over mains.

    Hope the above has helped.

    TTFN - JCMP
     

    Users who are viewing this thread

    Top Bottom