Plugin: MP2Extended (1 Viewer)

henso

Development Group
  • Team MediaPortal
  • February 16, 2012
    2,187
    741
    Denmark Denmark
    Country flag
    Last error I don't understand:
    Code:
    Could not find a part of the path '...\MediaPortal\Source\Extensions\MetadataExtractors\FFMpegLib\obj\x86\Debug\FFMpegLib.dll'.
    Why would look for the FFMpeg under metadataextractors?
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    Why would look for the FFMpeg under metadataextractors?
    Because the Project is there? :)

    It tries to get this file:
    "assembly": "../../Extensions/MetadataExtractors/FFMpegLib/obj/x86/{configuration}/FFMpegLib.dll",
    Is the FFMPegLib already compiled? If not just hit build on the FFMPgeLib Project and try again.
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    No the obj folder is correct. There is the wrap folder under source. This basically builds the nuget packages for the projx projects on the fly. See it like a hack from ms to make the new project format to work with their old one.
    The obj folder is the output from the actual project the bin folder contains also the dependencies
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,187
    741
    Denmark Denmark
    Country flag
    No the obj folder is correct.
    Ahh my configuration was set to Any CPU. Everything build now.
    Just for curiosity sake where does one find the line: "assembly": "../../Extensions/MetadataExtractors/FFMpegLib/obj/x86/{configuration}/FFMpegLib.dll"?
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    In source/wrap/{projectName}/project.json :)

    Happy that everything is working now.
    Yes setting it to x86 is important, thought this is the default
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Germany Germany
    Country flag
    Isn't the ID just a dumb number?
    No, it contains the stream index from ffprobe. Currently for subtitles the ID is not the stream index. For external subtitles I should put ID=-1?
    Ah, didn't know that about your ID. In original MPExtended it was a cryptic number from mediainfo.dll.
    I don't know what to do for external subtitles - live tv streams do not have one :D
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,187
    741
    Denmark Denmark
    Country flag
    @FreakyJ
    Seems I need the correct version of the "Microsoft.AspNet.Diagnostics" anyway:
    Code:
     [WARN ] - AspNetServerService: Cannot start WebApplication 'MP2Extended' (URL 'http://*:4322/MPExtended/').
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNet.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.AspNet.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
       at MediaPortal.Plugins.MP2Extended.MP2ExtendedService.<>c.<.ctor>b__5_6(IApplicationBuilder app)
       at MediaPortal.Plugins.AspNetServer.AspNetServerService.<>c__DisplayClass8_0.<StartWebApplication>b__1(IApplicationBuilder applicationBuilder)
       at Microsoft.AspNet.Hosting.Internal.AutoRequestServicesStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder)
       at Microsoft.AspNet.Hosting.Internal.WebApplication.BuildApplication()
       at Microsoft.AspNet.Hosting.WebApplicationBuilder.Build()
       at MediaPortal.Plugins.AspNetServer.AspNetServerService.StartWebApplication(WebApplicationParameter webApplicationParameter)
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    I am really sorry for the pain... I now deleted my complete build folder and compiled it from scratch. I had somehow the dll lying around there. I added it now to the build.targets and now it is working fine after I had the same error like you.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,187
    741
    Denmark Denmark
    Country flag
    I am really sorry for the pain...
    No problem. That's how it is when you use cutting edge technology. ;)
    1. It's still not working though:
    It wants version 1.0.0-rc2-16068 of the Microsoft.AspNet.Diagnostics but that is not available to me. I have 1.0.0-rc2-16303 and 1.0.0-rc2-16405, so I put 1.0.0-rc2-16303 in the project.json, and now I can start MP2Ext.
    2. Next it complains that swagger is not found:
    In the build.targets I can see it copies from $(ProjectDir)\wwwroot\lib\swagger-ui\dist\**\*.* but that path does not exist, not even if I use the rar file you provided earlier.

    Am I doing something wrong?
     

    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 15
    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