Plugin: MP2Extended (1 Viewer)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    All "Program" calls do not return any value but 'null' for 'SeriesNum', 'EpisodeNum' and 'Genre'.
    Do you know what the difference between "EpisodeNum" and "EpisodeNumber" is?

    So probably also the other states do not work. (HasConflict, IsChanged, IsPartialRecordingSeriesPending, IsRecording, IsRecordingManual, IsRecordingOnce, IsRecordingOncePending, IsRecordingSeries, IsScheduled)
    I need to check this, but I think I have to further extend the interface...

    All "Recording" calls do not return any value but 'null' for 'SeriesNum', 'EpisodeNum' and 'EpisodeName'.
    Will try to fix this :)

    'ChannelId' does not exist in MP2 database?
    no, it doesn't.

    Have not tested 'IsRecording' yet
    This should work :D

    @henso
    Thank you so much for your effort. I will assemble a new build this evening :)
     

    hkjensen

    MP Donator
  • Premium Supporter
  • June 11, 2007
    165
    65
    Copenhagen
    Home Country
    Denmark Denmark
    @FreakyJ
    EpisodeNumber is a combination af SerieNum,EpisodeNum,EpisodePart and EpisodeName
    ex: Season 3,Episode 10 of 22, part 1 of 2
    SerieNum=3
    EpisodeNum=10/22
    EpisodePart=1/2
    EpisodeNumber=3.10/22.1/2


    Displaying episodenumber in WebMediaPortal

    @model IEnumerable<MPExtended.Services.TVAccessService.Interfaces.WebRecordingBasic>
    @{
    ViewBag.Title = UIStrings.Recordings;
    }

    <h2>@UIStrings.YourRecordings</h2>

    <ul class="list">
    @foreach (var recording in Model)
    {
    if(!recording.EpisodeNumber.IsEmpty())
    {<li>@Html.ActionLink(recording.Title + " (" + recording.EpisodeNumber + ")", "Details", new { id = recording.Id })</li>}
    if (recording.EpisodeNumber.IsEmpty())
    {<li>@Html.ActionLink(recording.Title + " (" + recording.StartTime.ToShortDateString() + ")", "Details", new { id = recording.Id })</li>}
    }
    </ul>
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    new installer + changelog in first post,
    I hope this fixes @johanj problems with the TranscodingService Excpetions.
    By the way: Do you now get Series Artwork now where your import is finished?

    @pünktchen
    I also tried to address your issues :) Not sure if I got the IsRecording etc right, because I tried to stick to morpheus pattern^^
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    new installer + changelog in first post,
    I hope this fixes @johanj problems with the TranscodingService Excpetions.
    By the way: Do you now get Series Artwork now where your import is finished?

    @pünktchen
    I also tried to address your issues :) Not sure if I got the IsRecording etc right, because I tried to stick to morpheus pattern^^
    Thanks! I'm out of town. So will test it at the weekend.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Thanks, will try asap.

    No, serie images didnt appear after reimport. But I didnt have this issue in the HTPC. Will try the new installler and readd the series share before importing.

    Have you looked at why subs and audio is missing from mediainfo? I think I had this information on a few movies before but none right now. Its a workaround to accept no audio and subtitle for a stream.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    It is because the metadata extractor from the TranscodingService fails. That's why it is so important to fix this impersonation error :)

    Lookinh forward to see your test. Could you attach all log files this time? There seems to be an extra log file for impersonation error. Henso needs this. This also means reinforcing recordings. Sorry :(
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    Sure, I will add the zip of logs the next time. No problem, I will reimport all shares.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @pünktchen
    what exactly is your software? :) Maybe I can install it myself also in a VM :p This would reduce some work for both of us^^ Unfortunately johan hasn't that option :ROFLMAO: Sorry :cautious:
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    @MJGraf and @FreakyJ
    I think there is a problem with the impersonation logic. If I understood correctly, when the MP2-Server runs in console mode, it tries to impersonate another identity. This will fail if process doesn't run as admin.

    IIRC the intended logic was:
    • If running as a service:
      • Use credentials to log on for remote share access
    • If running interactive
      • Check if the process runs with admin privs, then try to impersonate like the service
      • If not (running as local user), just use the current identity to access network
    So it seem that maybe the last point is not handled correctly. But as this part was heavily developed by @MJGraf, I'd better hear his opinion :)
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,341
    832
    Home Country
    Denmark Denmark
    Check if the process runs with admin privs, then try to impersonate like the service
    I'm an admin on my PC but it failed anyway, presumably because of the missing privileges mentioned in the link I posted. Running as a service worked though.
     

    Users who are viewing this thread

    Top Bottom