Ergebnis 1 bis 8 von 8
  1. #1
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDanke

    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

    •   Alt Advertising

       

  2. #2
    Senior Mitglied Avatar von s3n0
    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
    ReceiverDanke
    Box 1:
    Vu+ Zero 4K
     
     
    Box 2:
    Vu+ Solo SE V2
     
     
    Box 3:
    Formuer F4-TURBO
     
     
    Hi.

    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 ?

  3. #3
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Themenstarter
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDanke
    Thank 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)
    I would like to display the following (next) channel. How?

    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:
    Alec
    Geändert von alec-cs (11.03.2020 um 15:18 Uhr)

  4. #4
    Senior Mitglied
    Registriert seit
    31.01.2017
    Beiträge
    691
    Thanks (gegeben)
    25
    Thanks (bekommen)
    297
    Total Downloaded
    44,00 MB
    Total Downloaded
    44,00 MB
    ReceiverDanke
    Box 1:
    H7S
     
     
    Box 2:
    mipsel Box
     
     
    Code:
    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)

  5. Thanks alec-cs bedankten sich
  6. #5
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Themenstarter
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDanke
    Thank 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

  7. #6
    Senior Mitglied
    Registriert seit
    31.01.2017
    Beiträge
    691
    Thanks (gegeben)
    25
    Thanks (bekommen)
    297
    Total Downloaded
    44,00 MB
    Total Downloaded
    44,00 MB
    ReceiverDanke
    Box 1:
    H7S
     
     
    Box 2:
    mipsel Box
     
     
    Have you posted it on GitHub already?

  8. #7
    Senior Mitglied
    Registriert seit
    27.03.2018
    Beiträge
    101
    Thanks (gegeben)
    22
    Thanks (bekommen)
    8
    Themenstarter
    Total Downloaded
    511,4 KB
    Total Downloaded
    511,4 KB
    ReceiverDanke
    @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.

  9. #8
    Senior Mitglied
    Registriert seit
    31.01.2017
    Beiträge
    691
    Thanks (gegeben)
    25
    Thanks (bekommen)
    297
    Total Downloaded
    44,00 MB
    Total Downloaded
    44,00 MB
    ReceiverDanke
    Box 1:
    H7S
     
     
    Box 2:
    mipsel Box
     
     
    just post it here you´ll get more beta testers, we have here experts to solve the problems


Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:50 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,56%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com