Jump to content

Timeshift - Channel Change


uyguremre

Recommended Posts

Posted

Hi

I am using DVBViewer 4.2.1 with Skystar HD2 . I am using it as HTPC where I almost exclusively use OSD menus . My remote (that comes with skystar hd2) works as a keyboard . OSD up and down are mapped to keyboard up and down which is normally channel up and down on osd (default skin) . I want to use the auto-time shift function but there is a problem. Once timeshift is active when I press up nothing happens and when I press down it pauses. I can than only change channels buy inputting channel number which is not very convenient. Is this a bug or is there a workaround for this?

Posted

This is not a bug.

To get the "TV default" behaviour with timeshift enabled you have to configure some stuff on your own.

 

In the remote section, you'll have to define new commands (with own command codes) for the following :

 

OSD - up

OSD - down

OSD - left

OSD - right

OSD - green

 

 

The eventcodes codes should be greater 30500.

Now, after you have done this, you have to configure what should happen if this new event codes occure.

This will be done in the command.vbs you'll find under scripts. If it does not exist, create one. It is a simple text file.

 

Be aware, that sendcommand(20) and (21) are for favorites in my config. If you'll use channel +- you'll have to use the channel +- codes, which I don't have in mind.

Change the command.vbs only while Viewer is shut down.

 

 

Here you'll see my command.vbs

sub main(ActionID)
  Select Case ActionID

   Case 30501
   'for OSD-Green
	   If osd.isVisible Then
		   SendCommand(75)
	   ElseIf istimeshift Then
		   SendCommand(8197)
	   Else
		   SendCommand(75)
	   End If

   Case 30504
   'for OSD-left
	   If osd.isVisible Then
		   SendCommand(2000)
	   ElseIf isMediaplayback Then
		   SendCommand(112)
	   Else
		   SendCommand(2000)
	   End If

   Case 30505
   'for OSD-right
	   If osd.isVisible Then
		   SendCommand(2100)
	   ElseIf isMediaplayback Then
		   SendCommand(113)
	   Else
		   SendCommand(2100)
	   End If

   Case 30506
   'for OSD-up
	   If osd.isVisible Then
		   SendCommand(78)
	   ElseIf istimeshift Then
		   SendCommand(21)
	   Else
		   SendCommand(78)
	   End If

   Case 30507
   'bei OSD-down
	   If osd.isVisible Then
		   SendCommand(79)
	   ElseIf istimeshift Then
		   SendCommand(20)
	   Else
		   SendCommand(79)
	   End If
'	   Case Else
'		   osd.showInfoinTVpic "No action in the Command.vbs for the ActionID " & ActionID,1000
	   'Zeige die Text Information No action in the Command.vbs for the ActionID (ActionID)
	   'für 1000 Millisekunden im DVBViewer an.

  End Select
end sub

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...