OnlineVideos 2.0 for MP2 Discussion

Discussion in 'OnlineVideos for MediaPortal 2' started by morpheus_xx, March 28, 2015.

  1. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,017
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    @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.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    Yes, SVN trunk for OV is also working with MP2, I keep both updated ;)
     
    • Thank You! Thank You! x 2
    • Like Like x 1
  4. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,017
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    @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?
     
  5. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,017
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    @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.
     
  6. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    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.
     
  7. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,017
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    I'm fine with svn, still using it at work. So direct commit is easier. Can you add me to your repo?

    This doesn't work: styles and screen (can) have references to models, converters etc. so IMO it's best to keep everything together.
     
  8. offbyone
    • Team MediaPortal

    offbyone Development Group

    Joined:
    April 26, 2008
    Messages:
    3,981
    Likes Received:
    2,704
    Gender:
    Male
    Location:
    Stuttgart
    Ratings:
    +3,303 / 3
    Home Country:
    Germany Germany
    Show System Specs
    Just PM me your registered google code email ;)
     
  9. osre
    • Premium Supporter

    osre Retired Team Member

    Joined:
    December 14, 2014
    Messages:
    766
    Likes Received:
    229
    Gender:
    Male
    Occupation:
    Software developer (senior)
    Ratings:
    +388 / 2
    Home Country:
    Germany Germany
    Isn't Google Code closing it's doors!? I think they switch to read only soon.
     
  10. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,017
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    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?
     
    • Like Like x 2
  11. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,017
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    @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 (Text):
    1. using MediaPortal.GUI.Library;
    2. using MediaPortal.InputDevices;
    3. 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: April 8, 2015
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!