What's new

General VU+ Receiver Tutorials [How to] Have audio pip with modding PIP

It was this, usefull?

  • Yes

    Votes: 1 100.0%
  • No

    Votes: 0 0.0%

  • Total voters
    1
  • Poll closed .

nunigaia

Significant Contributor
Member
Messages
24
Joined
Feb 18, 2015
Reaction score
40
Points
13
HOWTO GUIDE - MODIFY PIP AND HAVE AUDIO PIP

Let's modify the PiP plugin for the AudioPip:

We connect via FTP to the VU+ and access /usr/lib/enigma2/python/Screens

There you will find the file PiP Setup.py
This is the software that allows us to manage the PiP window

We are going to edit it:

At the beginning of the file we find the following:

Code:

fromScreens.ScreenimportScreen
fromComponents.ActionMapimportNumberActionMap
fromComponents.LabelimportLabel
#thisisnotsogreat.

MAX_X=720
MAX_Y=576
MAX_W=MAX_X*3/4
MAX_H=MAX_Y*3/4
MIN_W=MAX_X/8
MIN_H=MAX_Y/8
The MAX_W, MAX_Handparameters are those which indicate the maximum size of the PiP window and as we see, it isl imited to 3/4 of the total size of the screen.

Change these two lines

Code:

MAX_W=MAX_X*3/4
MAX_H=MAX_Y*3/4
leaving them as well (only change these two lines,we leave the rest of the file as it is):

Code:
MAX_W=MAX_X
MAX_H=MAX_Y

We will thus allow the PiP window to reach the total of the screen.

Once edited the file restart the VU + so that it catches the new configuration.

If we now return to open the PiP and then wear e going to expand the PiP window will allow us to reach the total of the screen.
If we are changing the channel, we will continue seeing the PiP window but we will hear the sound of the main channel which is below.

Well, we already have the AudioPiP

All this is done in a VU + last with BlackHole1.7.2

Best regards
nunigaia


Tested and worked on VUplus Duo2 Blackhole XBMC Beta2

Howto:

After modifying the lines:

From:

Code:

MAX_W=MAX_X * 3/4
MAX_H=MAX_Y * 3/4


to:
MAX_W=MAX_X
MAX_H=MAX_Y

We have to reboot our STB.

After reboot ... play an channel and activate PIP ( Long Press Blue Bottom ) . After PIP set --> Move to another channel and ( Long Press Blue Bottom ) as you made to activate PIP function ---> Press Green Bottom ---> to move the size of your screen, use Bouquet + / Bouquet -.

You can resize until 1:1.

Hope you liked

best regards

nunigaia
 
Last edited:

Top Bottom