[PATCH] Power Scheduler multiseat addon + WOL (1 Viewer)

OnkelChris

Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    here is a little screenshot for better understanding... searched and tried a lot, but can't figure it out...
     

    Attachments

    • perfmon.png
      perfmon.png
      88 KB

    JBravo

    MP Donator
  • Premium Supporter
  • November 11, 2007
    269
    27
    Home Country
    Sweden Sweden
    Never used Performon much myself, but mark 'system monitor' and press 'add'. The performance object should be 'Network Interface', choose your network interface and prefered counters. (This is how it works in XP).

    If you are able to monitor your network interface via Perfmon, it should also work in PowerScheduler.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    you will never guess... :eek:

    exctrlst.exe from the Windows 2000 Ressource Kit did the trick! Imagine... Vista Business 32bit needs a tool from Windows2000 :mad:

    ok... the TCP/IP Counter was deleted from registry... So please don't ask me why. Now it works like a charm :)

    Thanks for the hints JBravo. :D

    if someone needs more infos about repairing his windows... JUST ASK :)
     

    JBravo

    MP Donator
  • Premium Supporter
  • November 11, 2007
    269
    27
    Home Country
    Sweden Sweden
    That's great!

    I'm sure that someone will be interested in the fix, since the issue has been reported a couple of times before.
     

    OnkelChris

    Retired Team Member
  • Premium Supporter
  • October 17, 2007
    764
    59
    Home Country
    Germany Germany
    i am a bit proud of myself :D (just kidding...)

    i hope to be able to spend more time on supporting MediaPortal and this really great community.
     

    TiboTv

    Portal Pro
    June 22, 2009
    244
    39
    Home Country
    Belgium Belgium
    Hi,

    I'm using MP since 2 months in a multiseat configuration (1 tv server / 2 clients) and now I'm searching a solution to power off my server when he isn't used.
    The original PowerSchedule plugin works fine (since 2 weeks) : the server wakes up each time is needed (epg update and recordings) but if I want to view a file on my server, I've got to disabled the powerschedule plugin...

    That why I've tried your patch :

    - I've just replace the powerscheduler.dll into the plugin directory of MPServer on my server (I've made a copy of the original before)
    - I reboot the server

    But something is going wrong when I configure the plugin (there's a new tab into the plugin with the network activity). When I press the button "OK" of the TVSetup program, I've got an error box. This error is also write into the error.log

    Here are a parts of my error and tv log :


    Error log


    2009-07-21 22:09:14.890625 [SetupTv]: Exception :confused:ystem.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'Gentle.Framework, Version=1.2.9.1286, Culture=neutral, PublicKeyToken=80b5de62e27be49b' ou une de ses dépendances. Le fichier spécifié est introuvable.
    Nom du fichier*: 'Gentle.Framework, Version=1.2.9.1286, Culture=neutral, PublicKeyToken=80b5de62e27be49b'
    à TvEngine.PowerScheduler.PowerSchedulerMasterSetup.SaveSettings()
    à SetupTv.SetupTvSettingsForm.SaveSectionSettings(TreeNode currentNode)
    à SetupTv.SetupTvSettingsForm.SaveSectionSettings(TreeNode currentNode)
    à SetupTv.SetupTvSettingsForm.SaveAllSettings()
    à SetupTv.SetupTvSettingsForm.applyButton_Click(Object sender, EventArgs e)
    à SetupTv.SetupTvSettingsForm.okButton_Click(Object sender, EventArgs e)

    AVT*: le journal de liaison d'assembly est désactivé.
    Pour activer le journal des échecs de liaison d'assembly, attribuez la valeur 1 à la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD).
    Remarque*: une certaine perte de performance est associée à l'enregistrement dans le journal des échecs de liaison d'assembly.
    Pour désactiver cette fonctionnalité, supprimez la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog].


    TV log


    ...
    2009-07-21 22:09:04.187500 [SetupTv]: ---- SetupTv v1.0.2.22555 is starting up on Windows XP (Service Pack 3) ----
    2009-07-21 22:09:04.187500 [SetupTv]: ---- check connection with database ----
    2009-07-21 22:09:04.500000 [SetupTv]: ---- check if database needs to be updated/created ----
    2009-07-21 22:09:04.500000 [SetupTv]: ---- upgrade database schema ----
    2009-07-21 22:09:04.515625 [SetupTv]: ---- check if tvservice is running ----
    2009-07-21 22:09:06.312500 [9]: Controller: epg stop
    2009-07-21 22:09:08.937500 [9]: Controller: epg stop
    2009-07-21 22:09:13.609375 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:09:13.609375 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:09:13.640625 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:09:13.640625 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:09:16.968750 [SetupTv]: ---- SetupTv v1.0.2.22555 is starting up on Windows XP (Service Pack 3) ----
    2009-07-21 22:09:16.984375 [SetupTv]: ---- check connection with database ----
    2009-07-21 22:09:17.281250 [SetupTv]: ---- check if database needs to be updated/created ----
    2009-07-21 22:09:17.296875 [SetupTv]: ---- upgrade database schema ----
    2009-07-21 22:09:17.296875 [SetupTv]: ---- check if tvservice is running ----
    2009-07-21 22:09:19.140625 [9]: Controller: epg stop
    2009-07-21 22:09:21.375000 [9]: Controller: epg stop
    2009-07-21 22:09:25.562500 [9]: Controller: epg stop
    2009-07-21 22:09:30.140625 [9]: Controller: epg start
    2009-07-21 22:09:38.015625 [PowerEventThread]: TV service PowerEventThread 49342
    2009-07-21 22:09:38.015625 [PowerEventThread]: TV service PowerEventThread 49342
    2009-07-21 22:10:15.718750 [SetupTv]: ---- SetupTv v1.0.2.22555 is starting up on Windows XP (Service Pack 3) ----
    2009-07-21 22:10:15.734375 [SetupTv]: ---- check connection with database ----
    2009-07-21 22:10:16.031250 [SetupTv]: ---- check if database needs to be updated/created ----
    2009-07-21 22:10:16.046875 [SetupTv]: ---- upgrade database schema ----
    2009-07-21 22:10:16.046875 [SetupTv]: ---- check if tvservice is running ----
    2009-07-21 22:10:17.984375 [9]: Controller: epg stop
    2009-07-21 22:10:19.984375 [9]: Controller: epg stop
    2009-07-21 22:10:21.734375 [9]: Controller: epg start
    2009-07-21 22:10:54.875000 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:10:54.875000 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:11:23.593750 [PowerEventThread]: TV service PowerEventThread 49342
    2009-07-21 22:11:23.593750 [PowerEventThread]: TV service PowerEventThread 49342
    2009-07-21 22:11:25.078125 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:11:25.078125 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:11:25.093750 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:11:25.093750 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:14:07.812500 [PowerEventThread]: TV service PowerEventThread 537
    2009-07-21 22:15:00.750000 [9]: Controller: DoSetChannelStates for 4 channels
    2009-07-21 22:15:04.906250 [9]: Controller: StartTimeShifting la deux 2
    2009-07-21 22:15:04.937500 [9]: Controller: find free card for channel la deux
    2009-07-21 22:15:04.937500 [9]: Controller: got 1 tuning details for la deux
    2009-07-21 22:15:04.937500 [9]: Controller: channel #1 DVBT:tv:rtbf la deux Freq:754000 ONID:8248 TSID:10 SID:2 PMT:0x420 FTA:True LCN:10000 BandWidth:8
    2009-07-21 22:15:04.937500 [9]: Controller: card:1 type:DvbT is available priority:3 #users:0 same transponder:False
    2009-07-21 22:15:04.937500 [9]: Controller: card:2 type:Analog is disabled
    2009-07-21 22:15:04.937500 [9]: Controller: card:3 type:RadioWebStream is disabled
    2009-07-21 22:15:04.937500 [9]: Controller: found 1 available
    2009-07-21 22:15:04.968750 [9]: card: CardTune 1 la deux TNLT:1:-1
    2009-07-21 22:15:04.984375 [9]: card: Tune 1 to la deux
    2009-07-21 22:15:04.984375 [9]: card: user: TNLT:1:-1 tune DVBT:tv:rtbf la deux Freq:754000 ONID:8248 TSID:10 SID:2 PMT:0x420 FTA:True LCN:10000 BandWidth:8
    2009-07-21 22:15:05.015625 [9]: dvbt: Tune:DVBT:tv:rtbf la deux Freq:754000 ONID:8248 TSID:10 SID:2 PMT:0x420 FTA:True LCN:10000 BandWidth:8
    2009-07-21 22:15:05.015625 [9]: dvbt: tune: Assigning oldChannel
    2009-07-21 22:15:05.015625 [9]: dvbt: tune: Current channel is null
    2009-07-21 22:15:05.015625 [9]: dvbt: tune: Building graph
    ...


    Could you help me ?

    Am I doing something wrong ?
    Is there an other way to install the .dll ?
    Is the .dll work with the last MP version ?

    Thank you for your help :D
     

    JBravo

    MP Donator
  • Premium Supporter
  • November 11, 2007
    269
    27
    Home Country
    Sweden Sweden
    Hi,

    The .dll's are for MP1.0 so it will not work in MP1.0.2.

    I have finally upgraded to MP 1.0.2 myself, so I will lift the patches and post new .dll's soon.

    /jonas

    New .dll's (and patch files) for MP 1.0.2, see first post.

    Please try them out.

    /jonas
     

    TiboTv

    Portal Pro
    June 22, 2009
    244
    39
    Home Country
    Belgium Belgium
    :D

    Thank you for the update, I'll try it this evening when I'll back home.

    I've got an other question but not related to the subject of this thread :

    I've seen that peoples like Disaster123 make special releases of MP but non-official, why this kind of modifications aren't integrated into official release of MP ? Is there a testing period before the integration or the official modifications are only reserved to few peoples?

    Thank you
     

    TiboTv

    Portal Pro
    June 22, 2009
    244
    39
    Home Country
    Belgium Belgium
    Hi,

    I can confirm that your patch is working right on the MP1.0.2. I've made all tests yesterday evening and it works perfectly. Exactly what I was searching for! :D

    Thank you for your help and your quick update!

    Tibo
     

    Users who are viewing this thread

    Top Bottom