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

styrsven

Portal Pro
January 6, 2013
115
51
63
Home Country
Sweden Sweden
Latest testing result: If I use the "pre-Argus" code and compiles, that version works with the MP TV-server. If my only change is updating Argus and adapting to new API without doing anything else, like removing 4TR, or fixing the logic in the calling AllTvRecordings code, then the error is there. I suspect that it is the updated Argus dll that interferes with the logs. Any hint of a doable workaround is gladly accepted...
 

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    I suspect that it is the updated Argus dll that interferes with the logs
    I do not know much C#, there can not be such as specify specifically how NLog use? There must be some kind of a decision?
    @Sebastiii
    No idea how to overcome this problem?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine
    @Sebastiii @styrsven
    Maybe is possible something like this: replace the
    C#:
    LoggingConfiguration config = LogManager.Configuration ?? new LoggingConfiguration();
    on
    C#:
    NLog.LoggingConfiguration config = NLog.LogManager.Configuration ?? new Nlog.LoggingConfiguration();
    or
    C#:
    Mediaportal.NLog.LoggingConfiguration config = Mediaportal.NLog.LogManager.Configuration ?? new Mediaportal.Nlog.LoggingConfiguration();
    or
    C#:
    LoggingConfiguration config = new LoggingConfiguration();
    or? ...
    Or Alias on Nlog and:
    C#:
    NLogAlias.LoggingConfiguration config = NLogAlias.LogManager.Configuration ?? new NLogAlias.LoggingConfiguration();
    or .... :(:cry::whistle::coffee:
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,059
    11,141
    Kyiv
    Home Country
    Ukraine Ukraine

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,621
    10,626
    Königstein (Taunus)
    Home Country
    Germany Germany
    Just a small reminder: Argus TV is NOT any part of MP nor legalized/supported by the MP devs.
    So any "support" of that TV server should not lead to any consequencies whatsoever to MP plugins like LMH.
    I´d even say drop support of that in LMH if it leads to problems ;)
     

    Users who are viewing this thread

    Top Bottom