Jump to content

ResetGraph Plugin


Recommended Posts

Hi,

 

es kommt vor der DVBViewer friert ein weil:

 

- Schlechtes Wetter ist

- CI sich verklemmt

- Das Netzwerk zum RS sich kurz "verschluckt" hat

 

Ich wollte nicht immer zum HTPC gehen, die Tastatur aus der Schublade holen und den Graph resetten. Daher ein kleiner Plugin um das zu erleichtern. Der Plugin wird ins Plugin Verzeichniss kopiert meldet sich im OSD Menue "System" als GraphReset an.

 

Waehlt man diesen Punkt aus, schliesst der Plugin den Graph und stellt den zuletzt eingestellten TV Sender ein. Beim mir reicht das in der Regel den "stehenden Graphen" wiederzubeleben. Auch das CI am RS resettet sich dadurch (wenn keine anderen clients verbunden sind).

 

Es findet keine Pruefung stat ob auch wiklich zuvor ein TV Kanal eingestellt war. Ist nur ein kleiner Helfer fuers OSD.

 

Der Plugin kommt wie er ist und es wird keine Garantie uebernommen.

 

 

English: In short, the plugin adds an entry "GraphReset" into the OSD menu "System". Selected it closes the Graph and re-tunes the last TV channel. There are many setups and it might not work everywhere. Use it on your own risk ;)

 

Last update: 23.01.2011

graphreset.zip

Edited by mague
Link to comment

 

@mague - ist möglich dein Script direkt per FB starten (wie zZ habe ich mit "rebuild graph") ?

 

The plug doesnt listen to any actionID. I placed it into the OSD menu for soem WAF ;) But it should be fairly simple to do the same with actions.ini and Commands.vbs. I ll post how i did it once at home. Its nothing vbs over COM couldnt do.

Link to comment

Hi,

 

this is how i did it. Should be no problem to do the same with vbs.

 

//First get the current TV channel. This actually is COM and can be done with VBS

oldchannel:=DVBViewer.DataManager.Value['#channelnr'];

 

//Then send a Close Graph command

DVBViewer.SendCommand(16383);

 

//It might be useful to wait a bit

sleep(250);

 

//To send the old channelnumber we need a loop. That is, because

//it could be like 116, which translates to 41, 41, 46

//So we extract number by number and apend it to 4 while converting from string to integer

for i := 1 to Length (oldchannel) do

begin

newchar:=copy(oldchannel,i,1);

ich:=strtoint('4'+newchar);

 

DVBViewer.SendCommand(ich);

newchar:='';

end;

 

//Done

Edited by mague
Link to comment
  • 1 month later...

Update :)

 

- Etwas laengere Wartezeit um dem CI Zeit zu geben. Ich nutze TT S-1500 CI mit Alphacrypt und Sky smartcard ueber RS.

- OSD hing und brauchte zwei Klicks um aktiv zu werden: fixed

- Funktioniert nun auch mit dem UseFav=1 tweak

- OSD Nachricht entfernt

 

- Now waits a little bit longer, so the CI may reset in any case. I use a TT S-1500 CI with alphacrypt and a sky smartcard on RS

- OSD required two clicks after a reset: fixed

- Works now with UseFav=1 tweak

- Removed the OSD message

 

ACHTUNG: Wegen der Konsistenz heisst der plugin nun graphreset.dll. Man muss die alte dll loeschen um Konflikte zu vermeiden !!!

ATTENTION: The new dll is named after the Menu entry. You ll have to delete the old version to avoid a conflict.

Edited by mague
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...