I haven´t searched for it but, my Tv has PAP function!
Just case, for let you know, i´ve read, i remember that have 3 lines with 3/4 assignate to video function, on pip audio plugin, i don´t have tested, but someone said, that if you eliminate ithe 3/4, you´ll have full video, for the principal screen, and not 1/4 pip video.
P.S. ---> I don´t know if it makes confusion to you, that trick, please reply. " If it is that away, it could be interesting "
best regards
nunigaia
Vamos a modificar el plugin PiP para conseguir el AudioPip:
Nos conectamos por FTP al VU+ y accedemos a
/usr/lib/enigma2/python/Screens
Allí encontraremos el fichero
PiPSetup.py
Este es el programita que nos permite manejar la ventana PiP
Vamos a editarlo
Al comienzo del fichero encontramos lo siguiente:
Código:
from Screens.Screen import Screen
from Components.ActionMap import NumberActionMap
from Components.Label import Label
# this is not so great.
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
Los parámetros MAX_W y MAX_H son los que indican el tamaño máximo de la ventana PiP y como vemos, está limitado a 3/4 del tamaño total de la pantalla.
Modificamos esas dos lineas
Código:
MAX_W = MAX_X * 3 / 4
MAX_H = MAX_Y * 3 / 4
dejándolas así (solo modificamos esas dos lineas, el resto del fichero lo dejamos tal como está):
Código:
MAX_W = MAX_X
MAX_H = MAX_Y
Así permitiremos que la ventana PiP alcance el total de la pantalla.
Una vez editado el fichero reiniciamos el VU+ para que coja la nueva configuración.
Si ahora volvemos a abrir el PiP y a continuación vamos ampliando la ventana PiP nos dejará llegar al total de la pantalla.
Si vamos cambiando de canal, seguiremos viendo la ventana PiP pero escucharemos el sonido del Canal principal que está debajo.
Pues ya tenemos el
AudioPiP
Todo esto está hecho en un VU+ Ultimo con Black Hole 1.7.2
On English language
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