Latest Media Handler v2.4.X.000 | Page 65

Discussion in 'Fanart Handler' started by ajs, September 18, 2015.

Loading...
  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,745
    Likes Received:
    2,729
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,706 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    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.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. styrsven

    styrsven Portal Pro

    Joined:
    January 6, 2013
    Messages:
    115
    Likes Received:
    26
    Gender:
    Male
    Ratings:
    +51 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    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.
     
  4. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,745
    Likes Received:
    2,729
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,706 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    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.
     
  5. styrsven

    styrsven Portal Pro

    Joined:
    January 6, 2013
    Messages:
    115
    Likes Received:
    26
    Gender:
    Male
    Ratings:
    +51 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    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.
     
    • Like Like x 1
  6. styrsven

    styrsven Portal Pro

    Joined:
    January 6, 2013
    Messages:
    115
    Likes Received:
    26
    Gender:
    Male
    Ratings:
    +51 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    I will have a go at using some of the alternatives to ilmerge to see if it produces a better result if noone objects.
     
    • Thank You! Thank You! x 1
  7. styrsven

    styrsven Portal Pro

    Joined:
    January 6, 2013
    Messages:
    115
    Likes Received:
    26
    Gender:
    Male
    Ratings:
    +51 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    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.
     

    Attached Files:

    • Like Like x 2
  8. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,745
    Likes Received:
    2,729
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,706 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    # Beta - LatestMediaHandler 2.3.0.57
    Entangled in versions, check this version works? The idea is the correct version of all the corrections and additions.
     

    Attached Files:

    • Like Like x 2
    • Thank You! Thank You! x 1
  9. styrsven

    styrsven Portal Pro

    Joined:
    January 6, 2013
    Messages:
    115
    Likes Received:
    26
    Gender:
    Male
    Ratings:
    +51 / 1
    Home Country:
    Sweden Sweden
    Show System Specs
    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.
     
    • Thank You! Thank You! x 1
  10. mrbonsen
    • Super User

    mrbonsen Super User

    Joined:
    December 6, 2008
    Messages:
    6,424
    Likes Received:
    472
    Gender:
    Male
    Location:
    Brensbach (HE) ehemals Görlitz
    Ratings:
    +853 / 11
    Home Country:
    Germany Germany
    Show System Specs
    hi @ajs

    there is the possibility in genre, date added and rating for integrating mvcentral/LMH ?
    or it is not technically possible?
     
  11. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,745
    Likes Received:
    2,729
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,706 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Genre, DataAdded - Present for MvC: https://github.com/yoavain/mediaportal-latest-media-handler/blob/master/README.md
    Code (Text):
    1. * MvCentral:
    2. #latestMediaHandler.mvcentral.latest[1,2,3,4].dateAdded
    3. #latestMediaHandler.mvcentral.latest[1,2,3,4].genre
    Rating in MvC in my DB alwais empty (0) ...
     
    • Like Like x 2
Loading...
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!