MP2 Plugin - Getting Started (Directory Tree and Player) (2 Viewers)

da3dsoul

Development Group
  • Team MediaPortal
  • August 29, 2020
    66
    37
    United States of America United States of America
    Country flag
    Okay, so I've spent the past day and a half on the wiki and forums. I've forked MediaPortal/MediaPortal-2, downloaded a ton of garbage that has no justification for even existing in 2020, and I stopped half-way, as really, I shouldn't need 40GB of deps on my laptop to build a plugin.
    So, here I am, hoping for a simplified answer, because the wiki honestly sucks. No offense, it's not just you guys.

    The summary of the current situation is: I am seeing about making a new Shoko Plugin for MP2 (My Anime 3, but a full rewrite with different design ideas).
    TL;DR
    Where should I start? What do I need? The wiki sends you in circles and I don't know what's relevant.

    The only thing that I absolutely won't install is Visual Studio. I have Rider, the VS Build Tools, net core SDK, .Net 4.0-5.0 SDKs, C++ SDKs, enabled .Net 3.5, and that's where I stopped, half of that shouldn't be needed.

    I've heard you guys are pretty nice. Sorry if my tone is less than ideal. Frustration from reading in circles can do that.

    PS. I don't know if many of you have heard of me. I'm a fairly experienced dev. I rather like MediaPortal from the little bit I've used it so far. I'll probably be a rather large contributor to the plugin scene if I can get things off the ground. After this, one of my first orders of business will be getting my skin for kodi ported over.
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,114
    1,305
    Southampton
    United Kingdom United Kingdom
    Country flag
    the wiki honestly sucks
    Two points:

    (1) Some time ago the Wiki software had to be upgraded, because the version then in use was no longer supported. The conversion was done automatically, but the result was that various links became garbled (pages link to themselves, or link to non-existent pages or images). :(

    (2) The fun part of coding is creating a new toy to play with. The boring part is writing the documentation to describe the externals and the internals. In a volunteer project, the person who should write the documentation is the person who wrote the code, because he knows most about it, and there is no one else who will do it. Of course, almost no coders in volunteer projects ever write any documentation. :(

    Aside: the ability to write good English is not important, as there are others who can correct grammatical and spelling errors, and rewrite text to improve clarity, but the information must be present to start with in order for that to be possible.

    You may have realised that there are two projects under the MediaPortal banner -- MP1 and MP2:
    • MP1 is the more mature product; MP2 is still trying to catch up.
    • MP2 started from a different set of requirements, which allow it to support things that MP1 cannot (e.g. picture in picture).
    If you decide that MP2 is not for you, you might like to take a look at MP1 to see if it is more to your liking. However, the development system is likely to be as chaotic as that for MP2. Good luck.

    -- from CyberSimian in the UK
     

    da3dsoul

    Development Group
  • Team MediaPortal
  • August 29, 2020
    66
    37
    United States of America United States of America
    Country flag
    Absolutely. I could tell that the broken links were likely no one's fault, specifically. "It's not just you guys" because I am fully aware how the documentation struggle goes. I'm merely noting that it's a problem for new devs. I don't expect a magic trail of bread to show me all of the wonders of the codebase, but knowing where to start and what to look for is necessary, even more so on a project this old and...uniquely organized.

    EDIT: I thought I was clear, but I'll add the extra bit of clarity. Yes, I know that there are both MP1 and MP2, and that they are different and both supported. I am aiming for MP2 here.
     
    Last edited:

    da3dsoul

    Development Group
  • Team MediaPortal
  • August 29, 2020
    66
    37
    United States of America United States of America
    Country flag
    Oh I just hate it. That's the only real reason. When Rider hit open beta, I immediately dropped VS. The main reason I won't install it is that it's big and near impossible to remove without reinstalling Windows. Rider can do basically everything that VS can now, save for VS specific extensions. I dare say the XAML preview seems to work more often than VS, too.
     

    ge2301

    MP2 Design
  • Team MediaPortal
  • January 11, 2014
    6,880
    2,474
    Stuttgart
    Germany Germany
    Country flag
    Oh I just hate it. That's the only real reason. When Rider hit open beta, I immediately dropped VS. The main reason I won't install it is that it's big and near impossible to remove without reinstalling Windows. Rider can do basically everything that VS can now, save for VS specific extensions. I dare say the XAML preview seems to work more often than VS, too.
    Ah ok, I've never used Rider, so I can not judge what is better. I guess you always like more what you are grown with. In my case it's VS.
     

    da3dsoul

    Development Group
  • Team MediaPortal
  • August 29, 2020
    66
    37
    United States of America United States of America
    Country flag
    I'll admit that VS has gotten much better since Rider came out. If nothing else, people should love Rider just for the sake of competition being good for consumers. The Git overhauls that VS got since Rider are impressive, but my biggest issue with VS has always been the unintuitive UI. I've used it, so I know where everything is, but it still doesn't make much sense.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,558
    7,051
    Germany Germany
    Country flag
    Hi everyone,
    I am back from vacation and didn't catch up all new posts, but I am starting to do so. I'm ready to assist with plugin creation :)
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,558
    7,051
    Germany Germany
    Country flag
    The only thing that I absolutely won't install is Visual Studio. I have Rider, the VS Build Tools, net core SDK, .Net 4.0-5.0 SDKs, C++ SDKs, enabled .Net 3.5, and that's where I stopped, half of that shouldn't be needed.
    As MP2 builds from command line with MSBuild, this should work without problems. I think @aspik does also use Rider as well and I also gave it a short try.

    I have seen the github issue about creating MP2 support. As far as I understand it, you have a standalone server part that manages media items (Anime?) and you like to create a client GUI to browse and start playback?
     

    da3dsoul

    Development Group
  • Team MediaPortal
  • August 29, 2020
    66
    37
    United States of America United States of America
    Country flag
    That is correct. We build dynamic directory trees (I saw a broken link to that in the wiki), populate them with various info like series or episode data, and provide playback, scrobbling, and watched state management.
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 11
    S Missing plugin for MP2 Plugin Development 1
    MausWiesel LightsOut-Connector für MP2? Allgemeines Support- und Diskussionsforum 9
    J How to migrate MP1 plugin to MP2? Plugin Development 1
    BlueMax1916 [Evaluate] Windows 10 Apps for Sky, Netflix, Amazon etc. to be accessible via MP2 Plugin Feature Requests 3
    A Plugin to transfer watched states between two MP2 installations Archive 47
    Lehmden Kodi TV Plugin for various MP2 versions... General 30
    W MP2 - V2.3 MP2 Server stürzt immer nach kurzer Zeit ab Allgemeines Support- und Diskussionsforum 14
    toricred MP2 - V2.3 MP2 2.3 Client won't start General 6
    Grisu002 MP2 - V2.3 MP2 2.3 Client startet nicht - bleibt beim Laden hängen Allgemeines Support- und Diskussionsforum 55
    M MP2 PROBLEME Standby Allgemeines Support- und Diskussionsforum 1
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 42
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [Evaluate] Checking MP2 code portability to .Net Core MediaPortal 2 11
    da3dsoul Does MP2 not have any active devs? General 8
    R [solved] Kein Player registriert Allgemeines Support- und Diskussionsforum 1
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    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 72
    F Problems with new install of MP2 Newcomers Forum 3

    Similar threads

    Top Bottom