Jump to content


Photo

Zap TV channels in fullscreen while listening to a radio channel (How-To)


  • Please log in to reply
18 replies to this topic

#1 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 6 December 2013 - 11:02

Zap TV channels in fullscreen while hearing the audio of another radio-channel, TV-channel or movie-playback (How-To)

 

First you have to add my 'Maximize PiP' shortcut to MQB (MultiQickButton). This shortcut maximizes the active PiP-window to full size. So you watch the video of the maximized PiP and hear the audio of the main screen.

'Maximize PiP' shortcut content:

        <content>
            <name>Maximize PiP</name>
            <sel>1</sel>
            <module>Screens.Console</module>
            <screen><![CDATA[Console, "Maximize PiP", ["echo 0 > /proc/stb/vmpeg/1/dst_left; echo 0 > /proc/stb/vmpeg/1/dst_top; echo 2d0 > /proc/stb/vmpeg/1/dst_width; echo 240 > /proc/stb/vmpeg/1/dst_height"]]]></screen>
        </content>

After adding the 'Maximize PiP' shortcut to MQB you can use it in this way:

-switch to your radio-channel, TV-channel or start a movie-playback
-activate PiPzap: 'Activate Picture in Picture'
-activate PiPzap mode: 'Zap focus to Picture in Picture'
-DOWN button (ChannelList)
-TV button
-select a TV channel
-run the 'Maximize PiP' shortcut
At that point you can zap in fullscreen listening the audio of your radio-channel, TV-channel or movie-playback

To normalize the PiP-size: just press 'Disable Picture in Picture' and zap to another channel :)

Attached Files


Edited by rtzhjgg0, 6 December 2013 - 11:03.

Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #2 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 9 June 2014 - 10:08

After the last OpenPLi update this method doesn't work anymore... When i run the 'Maximize PiP' MQB-shortcut or script, the PiP is maximized but just for a moment, than it reacquires his small dimensions.


The AudioPIP plugin doesn't work anymore too.

So now there is practically no way to zap TV channels in fullscreen while hearing the audio of another radio-channel/TV-channel or movie-playback :(
 


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #3 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 9 June 2014 - 11:06

You do not need this anymore... Change the pip to fullpip mode.. (Via blue green 0)

Possibly audiopip and/or mqb could adapt to this new feature by also correctly setting the proper pip mode.

When the scripts sets the correct pip mode (via the comfig, new since last weekend) you should be fine.

Edited by littlesat, 9 June 2014 - 11:12.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #4 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 9 June 2014 - 11:38

Change the pip to fullpip mode.. (Via blue green 0)
 

Thanks, that was the right hint. The FullPiP-mode works perfectly B)


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #5 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 9 June 2014 - 12:32

:rolleyes: Now all PiP combinations are possible:

like Zap TV channels while hearing the audio of another radio-channel, TV-channel or movie-playback
etc, etc.

in 5 PiP modes:

'Side by Side'
'Splitscreen'
'Cascade'
'Big PiP'
'Standard'

...and without workarounds or extternal plugins

Thanks to PLi Team for your great job with PiP :wub:
 


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #6 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 9 June 2014 - 14:26

I'm not very experienced in using PIP on my ET9000.

Can anyone please explain what options are posssible and what keys can be used on the remote.

Perhaps not all the information regarding various options is available on the screen.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #7 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 9 June 2014 - 19:02

Can anyone please explain what options are posssible and what keys can be used on the remote.

 

when you have PiP activated, blue > green and you can toggle between PiP modes with '0':
standard > cascade > splitscreen > side by side > big pip > external*

(and this 'big pip' mode is designed for 'mixing' audio from one service with picture from another)

* new features are great indeed, but with one quite big asterisk ;)
from my experience (et9500) as soon as you just toggle through an external mode (and not even choose it with ok), the box is immediately starting  to become unresponsive:
- you can't exit pip (neither with exit nor with coloured buttons; extensions menu (blue) doesn't appear at all
- in channel selection and menus you can only navigate one line up <> one line down
- if you zap to another service it results in blackscreen,
- and the only 'solution' is a power switch on the back (init 4 / init 3 nor reboot commands don't help)

I don't use external PiP so it wouldn't be the big of an issue, if it doesn't create some practical difficulties - for example, if you have some latter mode stored as default, you're not able to change it to any prior in the queue, since you have to toggle through external mode (unless you manually edit e2 settings file)...


True sarcasm doesn't need green font...

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #8 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 9 June 2014 - 19:50

This should be a bug in the latest et9x00 drivers... I cannot solve that... And I think we should not work-a-round this... but...

 

It can be considered to change SystemInfo.py (in /usr/lib/enigma2/python/Components) on line 39 such a way that it returns False in the test... 

 

SystemInfo["HasExternalPIP"] = fileCheck ("/proc/stb/vmpeg/1/external") and HardwareInfo().get_device_name() != "et9x00"

 

And remove this one as soon the drivers are fixed...

 

I'm not able to perform some tests right now with a et9x00... So when one of you will test it for me and offer me a new SystemInfo.py

 

Please note PLi does not like to commit such if box x then do y tests...


Edited by littlesat, 9 June 2014 - 19:51.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #9 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 9 June 2014 - 20:09

Does the box also crash when you type the following from the console (putty/telnet/ssh)?

 

echo on >/proc/stb/vmpeg/1/external


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #10 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 10 June 2014 - 06:44

A question: can I switch the new PiP modes over telnet or script ?


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #11 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 10 June 2014 - 07:25

When webif adapt to it....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #12 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 10 June 2014 - 08:01

It can be considered to change SystemInfo.py (in /usr/lib/enigma2/python/Components) on line 39 such a way that it returns False in the test...

SystemInfo["HasExternalPIP"] = fileCheck ("/proc/stb/vmpeg/1/external") and HardwareInfo().get_device_name() != "et9x00"

 
it results in GS as soon as you try to enable PiP, something like below (off the top of my head):
TypeError: coercing to Unicode: need string or buffer, bool found

Does the box also crash when you type the following from the console (putty/telnet/ssh)?
 
echo on >/proc/stb/vmpeg/1/external

 
when I manually switch on an external pip mode (as above), when the PiP is active at this moment - the symptoms are exactly as these described in my previous post
True sarcasm doesn't need green font...

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #13 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 10 June 2014 - 14:14

Could be i made a typo in the suggested code above... At least the box becomes also non responsive with the console command indicates this is likely a driver issue...
For you you could patch that line in systeminfo.py just by replacing everything behind the = by False.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #14 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 10 June 2014 - 14:36

actually don't think it's a typo, I double triple checked it;

(but in fact it seems to be a redundant /?/ space after fileCheck there in original code, but it was not the cause...)

even tried to swap conditions - no GS then, but surrprisingly hasExternalPiP still returned 'true' in that case

 

I'll test with hardcoded false when i'm back home


True sarcasm doesn't need green font...

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #15 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 10 June 2014 - 14:45

Then the hardware info does not return et9x000 but et9000, et9200 or et et9500 instread... Replace it with .startswith("et9") instead of != "et9x00"

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #16 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 10 June 2014 - 22:10

ok, after some testing:
- it turned out that get_device_name() is not the best way to determine actual stb type, it's reliable only for dm boxes, for other not so much (eg. et9500 name = dm800se)
- to use get_device_model() seems to give better results (kind of surprise to me since /proc/stb/info/model is dm800se here ;))
for my layman's logic something like this:
SystemInfo["HasExternalPIP"] = fileCheck("/proc/stb/vmpeg/1/external") and not HardwareInfo().get_device_model().startswith("et9")
would be the obvious solution, but it gives a familiar GS (coercing to Unicode: need string or buffer, bool found)

so finally, I ended up with something like this, FWIW:
SystemInfo["HasExternalPIP"] = not HardwareInfo().get_device_model().startswith("et9") and fileCheck("/proc/stb/vmpeg/1/external")
this starting 'not' somehow seems to me weird, but it works - external PiP mode is hidden on my et9500 (and if I replace et9 with something else, it appears again)

what do you think?

Attached Files


True sarcasm doesn't need green font...

Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #17 stdemonac

  • Senior Member
  • 54 posts

0
Neutral

Posted 11 June 2014 - 22:10

Sorry to come with a stupid question, but what is needed on a fresh new OpenPLi4 installation on a DM8000 to enable this feature ? I have installed MultiQuickButton but I see no green option after pressing the blue button...

 

 

1402520929.jpg


DM8000 - 2 DVB-S2 tuners - 1 DVB-C tuner - OpenPLi 7.3


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #18 littlesat

  • PLi® Core member
  • 56,447 posts

+693
Excellent

Posted 11 June 2014 - 22:17

First activate pip, then you see the green option..

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Zap TV channels in fullscreen while listening to a radio channel (How-To) #19 stdemonac

  • Senior Member
  • 54 posts

0
Neutral

Posted 11 June 2014 - 22:27

OK, I missed the first pip activation. Actually, it works now like a charm. :)

Thanks for your help !!


DM8000 - 2 DVB-S2 tuners - 1 DVB-C tuner - OpenPLi 7.3



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users