OnlineVideos 2.0 for MP2 Discussion (2 Viewers)

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #1
    @offbyone just a question: will the new version also be base of the MP2 plugin? If there is work planned on the MP2 skins, I'd have some ideas how to improve the compatibility with other (new) skins.

    We can move out the question into another thread if you like.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #3
    @offbyone I've started some basic work to make plugins better compatible with 720/1080 resolution: https://forum.team-mediaportal.com/threads/making-inbuilt-plugins-skin-resolution-aware.130193/ and related branch: https://github.com/MediaPortal/MediaPortal-2/commits/FEAT_SkinResolution.

    The main idea is to define common sizes for both resolutions to save all other Skins from defining overrides (especially new ApolloOne and BlueVision).

    I'd also like to rework OV2's xaml definitions to integrate better into existing skins. Could you help in this process?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #4
    @offbyone I'd like to make some changes to the skins/themes and would like to commit them somewhere or supply a list of patches. What you would prefer?

    First thing I'd like to add is a ".editorConfig" which configures VisualStudio to use correct indentation (and space vs. tabs). Which settings do you use for OV2? There is quite a mix of space/tab sizes.

    Then I would like to make the "default" skin aware of the new {ResolutionResource ...} extension. This could remove some needs to provide skin files for 1080er skins.
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,981
    3,703
    Stuttgart
    Germany Germany
    Country flag
    Hi, totally forgot this ;)

    If you want to commit your changes to OV SVN I can give you access to the google code. But I'm guessing you would rather not fiddle with svn again. How about making those changes in MP2 git? Or is it a bad idea to add the OV skin files directly there?

    I don't care about spaces vs. tabs :) Just using default setting of VS.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #6
    If you want to commit your changes to OV SVN I can give you access to the google code.
    I'm fine with svn, still using it at work. So direct commit is easier. Can you add me to your repo?

    How about making those changes in MP2 git? Or is it a bad idea to add the OV skin files directly there?
    This doesn't work: styles and screen (can) have references to models, converters etc. so IMO it's best to keep everything together.
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    766
    386
    Germany Germany
    If you want to commit your changes to OV SVN I can give you access to the google code
    Isn't Google Code closing it's doors!? I think they switch to read only soon.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #9
    First changes to default skin (Sites):
    • Using DefaultButtonStyle
    • Big label (no logo) centered
    • Small label using semi transparent background for improving readability for bright logos (see focused item)
    • Sizes and margins (logo, flag...) defined as new {ResolutionResource ...}
    As result the screens look already better in BlueVisions without creating explicit support for it.
    01_sites_default.png

    01_sites_bluevision.png

    (Screenshot of BlueVision shows some more TODOs, like defining larger fonts and fixing focus behavior of buttons @ge2301)

    @offbyone are the changes ok to be commited?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,400
    6,971
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #10
    @offbyone I think you probably know it, but better to write it down somewhere:
    the current OV-MP2 solution will not compile completely due to (missing) MP1 references. The "BrowserHost" project references in MediaPortal1RemoteHandling.cs:
    Code:
    using MediaPortal.GUI.Library;
    using MediaPortal.InputDevices;
    using Action = MediaPortal.GUI.Library.Action;
    For now I excluded the project from build and copy to target folder, because I have no MP1 anymore here.

    What is your plan regarding this project? Should there be "providers" valid for either MP1/MP2?
     
    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    HTPCSourcer MP2 OnlineVideos Overhaul MediaPortal 2 46
    A OnlineVideos MediaPortal 1 Plugins 3
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 6
    bta489 [solved] System goes to Standby during Amazon Prime Playback OnlineVideos 2
    J Debug OnlineVideos, How To? OnlineVideos 1
    Predpray OnlineVideo 2 Probleme Allgemeines Support- und Diskussionsforum 12
    HTPCSourcer OnlineVideos is not remembering my sites MediaPortal 2 25
    P MP2 - V2.1 Bug - Onlinevideos U.S. Amazon Prime Fails to Connect Older releases 5
    E OnlineVideo Plugins - eigene Videostreams hinzufügen Plugins & Erweiterungen 0
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 68
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    Similar threads

























    Top Bottom