Plugin: MP2Extended (1 Viewer)

MrTechno

Development Group
  • Team MediaPortal
  • February 27, 2011
    1,256
    511
    London
    United Kingdom United Kingdom
    Country flag
    You can also restrict MP2's IP binding to certain addresses using ServerSettings.xml but I don't have an example file
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    42
    Sweden Sweden
    Its already bridged and e.g MPExt and webserver has no issues. Will try to install MP2 on my HTPC on Wed. to see if that works better.
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,903
    769
    62
    Arlington Heights, Illinois
    United States of America United States of America
    Country flag
    I installed this plugin and see it load on the server.
    What I do not understand is
    1-How should I be testing it?
    2-Why does it not see my available IP's like the other plugins?
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    42
    Sweden Sweden
    breese, not sure how much you can test. This is an api for developers. You should be able to test if the plugin is up by checking:
    [URL]http://192.168.1.250:53461/MPExtended/MediaAccessService/json/GetServiceDescription[/URL]

    That is if the ip/port is correct in your post.
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #26
    @johanj
    One thing which needs testing is the Encoding. I don't know how you convert the byte stream back to text. I use this:
    Code:
    ASCIIEncoding enc = new ASCIIEncoding();
          return enc.GetBytes(str);
    To get bytes from a string. I also could change this to UTF8 or UTF32 or whatever. Just wanted to mention this here :)

    @breese
    Yes you have to call one of these APIs here:
    http://wiki.team-mediaportal.com/1_...s/MPExtended/Developers/API_Documentation/MAS
    Most of the TVShow API Calls are implemented, but not all ;)
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    • Thread starter
    • Moderator
    • #27
    GetExternalMediaInfo
    Could you give me example results for Movies, TvShows etc? SO that I can implement this? :)

    Movies are almost implemented^^ Only two missing :p
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    42
    Sweden Sweden
    In general I think UTF8 is used but I don't need to care about that when receiving results from MPExt. The code is javascript and I use JSON.parse and JSON.stringify.

    From WifiRemote I need to UTF8 decode the text in order to get the special characters right.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    42
    Sweden Sweden
    As I wrote before about GetExternalMediaInfo, it's just a container of information that can be passed to WifiRemote to either start the media or show the media in the MP gui.

    Maybe it's enough with the id in MP2, maybe you need to know exactly the Serie, season, episode etc. in order to display it in the MP2 gui.

    I'm eager to test but I think it will have to wait until tomorrow before I can install the latest MP2 on my production HTPC. This since bridging network adapter is not working with the MP2 webserver, I never managed to reach the MP2 webserver outside Windows VM.

    Btw, Emby API has a really nice swagger interface where one can see what's implemented and also see parameters and test the calls out in a webbrowser without having to do trialing with api docs. Maybe that is something to look at further on. It really simplifies using the API.
     

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

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 5
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    Similar threads

























    Top Bottom