Plugin: MP2Extended (1 Viewer)

FreakyJ

Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    Well the problem with DLNA is that the DLNA profile has to match the media or else it will be unplayable or it might even not be shown at all because it is unsupported. I don't think there is a good fallback.
    Maybe adding an option to the config for that? After changing this it shows all my media and for e.g. mobile devices this is not a big deal. Or make it dependend on the Device detected?

    The screenshot looks good. To be honest I am out of ideas. Just copy the line in the build.target add a comment and we are good for now :D
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,178
    737
    Denmark Denmark
    Country flag
    There are some updates and I installed some of them
    I already installed all of them. ;)

    Maybe adding an option to the config for that?
    In my opinion I think I would just catch the exception and write a line in the debug file that the media had no profile. Besides the MIME is not used detecting the profile to use. The metadata is, so maybe there is no metadata or the MIA rework is cause?
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,178
    737
    Denmark Denmark
    Country flag
    I copied the swagger files, and now I get the same error as previously:
    Code:
    [INFO ] - AspNetServerService: WebApplication 'TestWebApp' (URL 'http://*:5001/') started.
    [WARN ] - AspNetServerService: Cannot start WebApplication 'MP2Extended' (URL 'http://*:4322/MPExtended/').
    Microsoft.Net.Http.Server.WebListenerException (0x80004005): The process cannot access the file because it is being used by another process
       at Microsoft.Net.Http.Server.UrlPrefixCollection.RegisterPrefix(String uriPrefix, Int32 contextId)
       at Microsoft.Net.Http.Server.UrlPrefixCollection.RegisterAllPrefixes()
       at Microsoft.Net.Http.Server.WebListener.Start()
       at Microsoft.AspNet.Server.WebListener.MessagePump.Start[TContext](IHttpApplication`1 application)
       at Microsoft.AspNet.Hosting.Internal.WebApplication.Start()
       at MediaPortal.Plugins.AspNetServer.AspNetServerService.StartWebApplication(WebApplicationParameter webApplicationParameter)
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    In my opinion I think I would just catch the exception and write a line in the debug file that the media had no profile. Besides the MIME is not used detecting the profile to use. The metadata is, so maybe there is no metadata or the MIA rework is cause?
    I attached a Screenshot showing you my DB :)
    As you can see there is sometime video/unknown in it. and sometimes it is just empty... I can make a new import and see if it helps.

    Besides that I get
    [2016-02-09 18:53:12,676] [190443 ] [26 ] [INFO ] - MediaConverter: Invoking transcoder to transcode video file '/O:/Filme/Verdammnis.DVDRiP.MD.German.XViD-AOE/Verdammnis.DVDRiP.MD.German.XViD-AOE/Sample/aoe-verdammnis-sample.avi' for transcode '4238256e-dc5a-490e-8e2b-20744b975033_DLNADefault' with arguments '-y, -threads 0, -c:v copy, -f , -an, -sn'
    [2016-02-09 18:53:13,677] [191444 ] [26 ] [ERROR] - MediaConverter: Timed out waiting for transcoded file 'C:\ProgramData\Team MediaPortal\MP2-Server\TranscodeCache\4238256e-dc5a-490e-8e2b-20744b975033_DLNADefault.A-1.mptv'
    Have you tried the new transcoding service with the DLNA Plugin lately?

    I copied the swagger files, and now I get the same error as previously:
    Do you start it from within VS? If yes you must start VS as an administartor to have Access to the WebListener. Later we want to switch to Kastrel but this is missing some features, yet...
    MediaPortal.Plugins.AspNetServer.AspNetServerSettings.xml allows you to switch between the two servers (see the Asp.Net thread first post for details). But haven't tried using Kastrel for a long time. Hope we get rid of all these Workarounds soon...
     

    Attachments

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,178
    737
    Denmark Denmark
    Country flag
    As you can see there is sometime video/unknown in it.
    Try to run ffprobe on the file in question and post the response.
    Have you tried the new transcoding service with the DLNA Plugin lately?
    I think I tried streaming to my phone last week but that was with the version from original branch (WifiRemote).
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,024
    1,420
    Germany Germany
    Country flag
    Will do later. Just having dinner and watching an episode. But if you have further questions my phone will blink :)
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,178
    737
    Denmark Denmark
    Country flag
    @FreakyJ
    I think there is something wrong with the dates sent from MP2Ext. In aMPdroid the time is the same for all programs in the EPG.
    Can you confirm this?
     

    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