Latest Media Handler v2.4.X.000 (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    12,426
    7,120
    Kyiv
    Ukraine Ukraine
    Country flag
    I´d even say drop support of that in LMH if it leads to problems
    While the problem is only in the log file, if we can not solve it. So I'll take the support of Argus, to the original version.
     

    styrsven

    Portal Pro
    January 6, 2013
    115
    51
    59
    Sweden Sweden
    Country flag
    After some struggling with this issue, making my hair (what remains of it) even more grey than before, these are my findings:

    • Whatever I do in the code, the log problem is still there if I don't use argus.
    • There is a build script that merges the dll with a specific version of NLog.
    • If i use the version of the dll that is not merged to NLog, the logs work in all cases.
    • I don't know the history, so I dont know the reason why LMH must bring its own private NLog.dll.
    • I don't think that NLog is causing this, I think it is ilmerge that finds something in argus that it links to and this makes the logs only work when the argus dlls are found.
    • The only way that I could see (at least according to the documentation) for ilmerge to ignore resolving the argus references was to use the /internalize switch with an exclusion list that names all dlls except the NLog.dll. I don't think that is a good solution.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,426
    7,120
    Kyiv
    Ukraine Ukraine
    Country flag
    I don't know the history, so I dont know the reason why LMH must bring its own private NLog.dll.
    I also do not know why this is so. But it was done originally. I do not know C #, so I do not know whether it is right or wrong.
     

    styrsven

    Portal Pro
    January 6, 2013
    115
    51
    59
    Sweden Sweden
    Country flag
    Actually, I was wrong about wht the internalize/exclude options does. And I don't think it is a good idea to remove NLog.dll from LMH (might be some possible case of incompatible versions, I assume).
    Feel free to dump the Argus update from the official build. I will keep the Argus version for my personal use.
     

    styrsven

    Portal Pro
    January 6, 2013
    115
    51
    59
    Sweden Sweden
    Country flag
    Ok, here is my new attempt. Instead of merginging dlls with ILMerge, I inject with libz (google ILMerge alternatives for a description). That is the only difference, and it seems to preserve the logfile contents regardless if Argus is present or not, and adds support for Argus 2.3.. ajs@, I made a new pull request.
     

    Attachments

    styrsven

    Portal Pro
    January 6, 2013
    115
    51
    59
    Sweden Sweden
    Country flag
    Well, after a quick check (1-2 minutes) I can confirm that it seems to work with argus. I use Avallanche skin, so it displays a lof of data from LMH. I haven't checked any deeper details though.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,426
    7,120
    Kyiv
    Ukraine Ukraine
    Country flag

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

    OP Similar threads Forum Replies Date
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    Rob Hexenmeister Latest Media Handler - facade properties - itemcount General Support 3
    Rob Hexenmeister [solved] Latest media handler - time reported as date Fanart Handler 18
    Lichloathe [solved] Latest Media Handler - Default view for TVSeries on startup Fanart Handler 2
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    Rob Hexenmeister Video Buttons / Latest Media MediaPortal 1 Skins 7
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    T No TV after updating Windows 10 to latest Version 1903 / OS build 18362.175 (logs attached) General Support 2
    G How best to get cover art for tracks to show up on the Audio Menu (Latest Added, Unplayed)? General 9
    uxDesign [Question] Where are the latest sources of mpextended? MPExtended 3
    F Remote goes tos Media Center after Media Portal Remotes 2
    S Kommerzielle HTPC´s mit "selbst entwickelter Media center Distribution auf Basis von Media Portal" MediaPortal Café 9
    F Media Port 1.16 to 1.25 Installation, configuration support 1
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    J Navigating media drive General 4
    J Will Media Portal meet my requirements? General Support 4
    C Imported media doesn't show up immediately? General 1
    J Show media item location Feature Requests 4
    HTPCSourcer Media Accessor is flooding logs with files from attached monitor MediaPortal 2 9
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    A MP2.2.2, understanding movies/videos/tv and WTV recordings. General 16
    T I cannot get a basic media import-what is the best configuration? General 10
    J MediaPortal TV Server and Kodi media source issues General 9
    D media portal 2.2 have movies shown on genre not name General 6
    Similar threads

























    Top Bottom