UPnP / DLNA Media Server for MediaPortal 2 (2 Viewers)

MrTechno

Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    @morpheus_xx You're referring to the code in DlnaVideoMetadataExtractor.cs which uses the index of the audio streams collection to get data from the other collections? I believe you are correct and this will not work as expected. ML will store these values in separate tables with only media item ID and value ID, there is no guarantee that the n'th element ATTR_AUDIOCODECS relates to the same n'th element in ATTR_AUDIOSTREAMS. You need multiple MIAs for this to work correctly.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Another issue is that the Server creates these massive amount of XML Data. During the generation if this the server doesn't accept any HTTP requests for Video Streaming.... bummer
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    I ported the Serviio profiles. Any news on the git login?[DOUBLEPOST=1441442831][/DOUBLEPOST]
    Just a little hint about FFMpeg. We already have FFMpeg used in MP2 Server (Video Thumbnailer Plugin). So it's better to add a dependency to Video Thumbnailer plugin and use FFMpeg from there instead having a second copy of it.
    Well for supporting burn-in of subtitles the font folder needs to be present AFAIK, so this needs to be added to the Video Thumbnailer plugin. The question is if it make sense to add the fonts to the plugin if it never uses it itself? Maybe the Transcoding Service could be made an extension or similar to the server on which both the Media Server plugin and the Video Thumbnail plugin depended. This would also be an advantage if thinking long term with transcoding over a web interface like the suggested MPAnywhere.
     
    Last edited:

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I ported the Serviio profiles. Any news on the git login?
    I think it got lost in the Thread. I made a internal post. I don't have the rights to grant you access my self.

    Maybe the Transcoding Service could be made an extension
    I would agree on that one :)

    Wot no multi threading?
    Doesn't look like.
    I experienct that already with the old plugin.
    Build teh MP2 Server as Debug and use the UPnP Developer Tools for example to browse the content.
    You see a looong time the xml messages scrolling by in the Output inside VS. During this time it wasn't possible to play a video. But it worked as soon as it stopped.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I ported the Serviio profiles.
    That's great! Thank you!

    One question: Is there a reason that you bind the profiles to the IP instead to the User-Agent?
    I mean one Ip could have multiple clients. e.g. my PC: 129.168.178.26 vould have WMP running, VLC, Media Renderer or anything else.
    Or Android GoodPlayer vs. BubbleUPnP
     

    MrTechno

    Retired Team Member
  • Premium Supporter
  • February 27, 2011
    1,256
    511
    London
    Home Country
    United Kingdom United Kingdom
    The threading issue sounds like a fundamental bit of functionality. Unless we can build a quick fix it would probably be best solved during the OWIN / Katana / vNext migration.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    One question: Is there a reason that you bind the profiles to the IP instead to the User-Agent?
    I mean one Ip could have multiple clients. e.g. my PC: 129.168.178.26 vould have WMP running, VLC, Media Renderer or anything else.
    Or Android GoodPlayer vs. BubbleUPnP
    At every client request (UPnP or HTTP) I need to know the remote endpoint. I thought the IP would be the only common identification for that, but if there's a better way then that's great.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I don't have much time this weekend. But I will continue work on Monday :)

    The threading issue sounds like a fundamental bit of functionality. Unless we can build a quick fix it would probably be best solved during the OWIN / Katana / vNext migration.
    It is probably an issue in out HTTP Server.

    At every client request (UPnP or HTTP) I need to know the remote endpoint. I thought the IP would be the only common identification for that, but if there's a better way then that's great.
    I will see what I can do :) I still have to do some code reading^^
     

    Users who are viewing this thread

    Top Bottom