Ergebnis 1 bis 8 von 8
-
11.03.2020, 11:42 #1
- Registriert seit
- 27.03.2018
- Beiträge
- 101
- Thanks (gegeben)
- 22
- Thanks (bekommen)
- 8
- Total Downloaded
- 511,4 KB
- Total Downloaded
- 511,4 KB
noadsPiP - developers: I need information
Hi,
I have come up with the following solution for filtering out ads.
I thought so:
If there is an ad block in the live broadcast on the current channel,
pressing the PiP button will move it to the PiP screen and the main screen will jump to the next channel.
When the advertisement (ads) ends on the PiP screen, pressing the PiP button again returns to the main screen.
So the advertising is not as distracting as it does not appear on the main screen.
Only one button (PiP or programmed button) can control this solution.
I have already started to work on a solution and I am well on my way.
I'm modifying the InfoBarGenerics.py file.
I need the following information:
Jump to current channel ->
Code:curservice = self.session.nav.getCurrentlyPlayingServiceOrGroup() self.session.nav.stopService() self.session.nav.playService(curservice, checkParentalControl=False, adjust=False)
How can I jump to the next channel with program code on the home screen (nextservice)?
Look forward to your response.
Regards:
Alec
-
Advertising
-
11.03.2020, 12:36 #2
- Registriert seit
- 02.01.2017
- Ort
- Slovakia
- Beiträge
- 1.460
- Thanks (gegeben)
- 91
- Thanks (bekommen)
- 418
- Total Downloaded
- 323,0 KB
- Total Downloaded
- 323,0 KB
Box 1:Vu+ Zero 4KBox 2:Vu+ Solo SE V2Box 3:Formuer F4-TURBOHi.
The PiP function only works if you have two tuners in a set-top box. In the case of one satellite tuner, if you want to watch a channel from one transponder and you want to leave the other channel from the same transponder in the PiP window, it can be a problem.
The situation is more complicated if it is an Internet multimedia stream (or IPTV). In this case, the device must be able to decode multiple streams through a single decoder, and this is often problematic.
What do you plan to do is already built in Enigma - I mean PiP or am I wrong ? I don't know exactly how you plan to do that. Do you want to bind the button on the RCU so that when pressed, the active current channel is moved to the PiP window and the main channel then switches to the next one channel in the userbouquet sequence ? Do you want to do this ?
How do you detect an ad ? Do you have an algorithm for that? Because if not, it's pretty difficult to do :-P. Or did you really mean just pressing some "hot button" to open the PIP window + switch the current channel ?
I don't even understand the code. What exactly do you need ?
-
11.03.2020, 15:11 #3
- Registriert seit
- 27.03.2018
- Beiträge
- 101
- Thanks (gegeben)
- 22
- Thanks (bekommen)
- 8
- Total Downloaded
- 511,4 KB
- Total Downloaded
- 511,4 KB
ThemenstarterThank you for your response.
I know PiP works with multiple tuners.
My workaround only works if PiP works and only applies to TV channels (currently not suitable for IPTV)!
Yes, I would like to expand and modify the existing PiP solution in Enigma2.
Steps to resolve (hopefully better understood):
1.) I see live TV broadcast on the TV screen.
2.) When I see an advertisement (ad) on the screen, I press a button on the remote control (PiP button or a programmed button).
3.) The active channel will be placed (moved) in the PiP window (with the ad)
4.) The following channel will be displayed on the main screen (Channel after the active channel).
5.) I see: Main screen (no ads) + PiP screen (with ads)
6.) When I see the ad end in the PiP window, I press a button on the remote control again (PiP button or programmed button).
7.) The contents of the PiP window will be displayed (moved) on the main screen and the PiP window will disappear.
This is how my solution would work.
The advertisement (ad) is viewed by sight, operation would be manual without automation!
I already have a trial version, but I can't show the next channel on the main screen yet.
The trial version already works well for me.
The program code is in the InfoBarGenerics.py file, 3635 lines, as a function of swapPiP (self).
From there I bought the sample code I wrote. See it.
enigma2/InfoBarGenerics.py at dd28d5959a484071eb81afa5edd09f55ac26025e * openatv/enigma2 * GitHub
My example code shows the content of the active channel on the main screen!
Code:curservice = self.session.nav.getCurrentlyPlayingServiceOrGroup() self.session.nav.stopService() self.session.nav.playService(curservice, checkParentalControl=False, adjust=False)
My question is:
How do I display the next channel on the home screen from code?
I hope you understand what I want.
Looking forward to your reply.
Regards:
AlecGeändert von alec-cs (11.03.2020 um 15:18 Uhr)
-
11.03.2020, 15:53 #4
- Registriert seit
- 31.01.2017
- Beiträge
- 691
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 297
- Total Downloaded
- 44,00 MB
- Total Downloaded
- 44,00 MB
Box 1:H7SBox 2:mipsel BoxCode:from Screens.InfoBar import InfoBar def zapUp(self): if InfoBar and InfoBar.instance: InfoBar.zapUp(InfoBar.instance) def zapDown(self): if InfoBar and InfoBar.instance: InfoBar.zapDown(InfoBar.instance)
-
Danke - 1 Thanksalec-cs bedankten sich
-
12.03.2020, 14:34 #5
- Registriert seit
- 27.03.2018
- Beiträge
- 101
- Thanks (gegeben)
- 22
- Thanks (bekommen)
- 8
- Total Downloaded
- 511,4 KB
- Total Downloaded
- 511,4 KB
ThemenstarterThank you very much.
Super, written in the right place works fine !!!
I made the noadsPiP function and it works properly, functionally for me.
I'll post to GitHub soon.
Regards:
Alec
-
22.04.2020, 12:40 #6
- Registriert seit
- 31.01.2017
- Beiträge
- 691
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 297
- Total Downloaded
- 44,00 MB
- Total Downloaded
- 44,00 MB
Box 1:H7SBox 2:mipsel BoxHave you posted it on GitHub already?
-
22.04.2020, 14:01 #7
- Registriert seit
- 27.03.2018
- Beiträge
- 101
- Thanks (gegeben)
- 22
- Thanks (bekommen)
- 8
- Total Downloaded
- 511,4 KB
- Total Downloaded
- 511,4 KB
Themenstarter@mrvica
I will be done with my full-featured PiP modifications soon. When I'm done, I'll put it into the openATV 6.4 GitHub system, and I hope it's built into the system.
I think I’ve added useful features to it, and so far I’ve received positive feedback from my testers.
Unfortunately, without information, it is difficult to progress with my developments.
I have to figure it out for myself, experiment everything!
I don’t really get much help with my questions. So I have to solve everything myself.
Luckily, sometimes someone helps me.
Could you help me with that?
question for oATV developers - keymap.xml problems
I look forward to your reply.
-
23.04.2020, 16:47 #8
- Registriert seit
- 31.01.2017
- Beiträge
- 691
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 297
- Total Downloaded
- 44,00 MB
- Total Downloaded
- 44,00 MB
Box 1:H7SBox 2:mipsel Boxjust post it here you´ll get more beta testers, we have here experts to solve the problems
Lesezeichen