Jump to content

WOL Helper


Portisch

Recommended Posts

Ich habe hier ein kleines Plugin zur WOL Hilfe geschrieben!

 

Deutsch:

Dieses Plugin behebt eine kleine Unschönheit wenn der DVBViewer den Recording Service aufwecken will.

 

Das "Problem" tritt auf wenn:

Der Client mit DVBViewer in den Standby/Hibernate geschickt wird ohne den DVBViewer zu beenden.

Danach der Server mit dem Recording Service auch in den Standby/Hibernate geht (z.B. durch ein Idle-Timeout-Script).

 

Startet man nun den Client gibt der DVBViewer die unschöne Meldung "Für diesen Sender ist kein DVB-Gerät verfügbar!" aus da der Server noch im Standby ist.

Das WOL Paket vom DVBViewer wird derzeit nur beim Starten vom DVBViewer automatisch versendet.

 

Das Plugin überprüft nun nach dem Standby ob die OSD Meldung kommt und weckt notfalls per WOL den Server auf.

Danach wird der letzte Sender eingestellt und das Plugin ist bereit für den nächsten Durchlauf.

 

Config:

Das Plugin holt sich alle Daten selber aus der DVBViewer Config.

WOL aktiviert, WOL Timeout, User, Passwort, Recording Service IP und Port.

Somit ist beim Plugin selber nichts zum Einstellen.

 

Installation:

Einfach die "WOL_Helper.dll" in das Plugin Verzeichnis vom DVBViewer kopieren.

 

English:

This Plugin will solve a small problem with the WOL by DVBViewer.

 

The "problem" will appear if:

The client got sent into standby/hibernate without closing DVBViewer.

Ther server will got into standby/hibernate (may because of an idle timeout script).

 

If the client is getting resumed the message "Hardware not available!" will appear because the server is still in standby.

The WOL paket will be sent only on startup of DVBViewer.

 

After resume from standby the plugin will check if this OSD message appears.

If yes the plugin will send a WOL to the server and retune the last channel.

 

Configuration:

The plugin is getting all settings by itself from the DVBViewer config.

WOL active, WOL timeout, user, password, Recording Service IP and port,...

So nothing to configure here.

 

Installation:

Just copy the "WOL_Helper.dll" in the plugin directory of DVBViewer.

 

mfg

Portisch

WOL_Helper_v1.0.0.0.zip

Edited by Portisch
Link to comment
  • 2 months later...

Hi danke erstmal für deine Arbeit.

Gibts es eine möglichkeit das Plugin so abzuändern, das die Überwachung immer stattfindet(wenn ich es richtig verstanden habe, jetzt ja nur bei aufwecken).

Folgender Hintergrund, wenn ich einen Film von meinem Nas abspiele, geht je nach Filmlänge mein Recordingserver in Sleep und ich bekomme beim zurückwechseln auf TV die Fehlermeldung.

Dann muß ich immer man. Wol machen oder DVBViewer neustarten.

 

MFG Alex

Edited by jasch
Link to comment

Daran habe ich natürlich nicht gedacht... :whistle:

 

Mann könnte bei jedem Kanalwechsel überprüfen ob der Server noch da ist. Nach dem Mediaplayback wird ja auch wieder ein Channel-Tune ausgeführt.

 

Muss ich mir mal ansehen ob das so gehen könnte.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...