OnlineVideos 2.6.0.0 [2024/11/24] (12 Viewers)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,621
    10,627
    Königstein (Taunus)
    Home Country
    Germany Germany
    @Pablik :
    Small typo in visibility tag: Must be <visible>string.equals(#OnlineVideos.IsBuffering)</visible>, otherwise nothing is shown ;)
     

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    718
    1,161
    Home Country
    Czech Republic Czech Republic
    @Pablik :
    Small typo in visibility tag: Must be <visible>string.equals(#OnlineVideos.IsBuffering)</visible>, otherwise nothing is shown ;)
    You are wrong. The tag "#OnlineVideos.IsBuffering" has different meaning. It is used only at startup of the playback. LAV SourceFilter works differently than MediaPortalUrlSource splitter.
    The tag "#OnlineVideos.Buffering" is correct(it's new tag) and is related to LAV buffer handling during the playback. This tag is set when the LAV buffer is at critical level. The playback is automatically paused and subsequently unpaused when the buffer reaches sufficient level (tag is cleared).
     
    Last edited:

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    718
    1,161
    Home Country
    Czech Republic Czech Republic
    Thanks for the explanation - got it (y)(y)(y)
    I did some research and it seems that the buffering funcionality can be shared with single tag "#OnlineVideos.IsBuffering". It requires an update in the code though.
    When I was developing the buffer handling code I was affraid of corruption of GUI funcionality so I decided to use extra tag.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,621
    10,627
    Königstein (Taunus)
    Home Country
    Germany Germany
    It requires an update in the code though.
    When you are in that change, could you please look at a small problem I just found:
    I use a progressbar (<type>progress</type>) to show the buffering during start of an online video.
    Atm the tag <label>#OnlineVideos.buffered</label> normally showing the progress of the actual buffering during start of the respective online video doesn´t work any more.
    Maybe you can find a solution? Or should I delete that property completely?
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,654
    3,120
    Nuenen
    Home Country
    Netherlands Netherlands

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    718
    1,161
    Home Country
    Czech Republic Czech Republic
    When you are in that change, could you please look at a small problem I just found:
    I use a progressbar (<type>progress</type>) to show the buffering during start of an online video.
    Atm the tag <label>#OnlineVideos.buffered</label> normally showing the progress of the actual buffering during start of the respective online video doesn´t work any more.
    Maybe you can find a solution? Or should I delete that property completely?
    It still works. Although, the LAV buffer works differently: it only buffers up to 20s(current constant in the code) ahead. That means, the bar is probably very slim. If you try to play some short video then you should see the bar.
     

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    718
    1,161
    Home Country
    Czech Republic Czech Republic
    When you are in that change, could you please look at a small problem I just found:
    I use a progressbar (<type>progress</type>) to show the buffering during start of an online video.
    Atm the tag <label>#OnlineVideos.buffered</label> normally showing the progress of the actual buffering during start of the respective online video doesn´t work any more.
    Maybe you can find a solution? Or should I delete that property completely?
    Oh, sorry I was talking about current "prebuffered" value on the main bar.
    The "#OnlineVideos.buffered" tag is still used - but only for MediaPortalUrlSourceFilter. The LAV filter doesn't use it becouse of different behaviour at plabyback startup.
     

    Pablik

    Development Group
  • Team MediaPortal
  • August 19, 2010
    718
    1,161
    Home Country
    Czech Republic Czech Republic
    Perhaps (if it isn't already so) maybe align it with "#OnlineVideos.bufferedenough" / blackglass/Black Glass/myonlinevideosFullScreen.xml at master · Mediaportal-Plugin-Team/blackglass
    That is a marker visible on the bottombar. if buffering is past that marker, you should be safe to watch it further without interruption.
    When I have a slow source, I pause it and go do something different until buffering is past that red marker. not 100% exact but better than nothing
    I remember trying/testing that tag, but then later decided to don't mess with that for some reasons. I think the "IsBuffering" is better option.
     

    Users who are viewing this thread

    Top Bottom