Plugin: MP2Extended (2 Viewers)

Charlie TV

MP Donator
  • Premium Supporter
  • February 22, 2014
    81
    27
    Home Country
    United Kingdom United Kingdom
    After installing the latest version on both my server and me client, I have discovered a few issues....

    The Series import is broken...
    These should be labeled Mythbusters S01 thru S12
    View attachment 170797

    The image above is not correct. This series has 12 folders
    View attachment 170793

    Within each folder are the Series Shows
    View attachment 170795

    If you look at the first image, the total number of shows is correct but the importer now has confused something and decided there are more different Years and Shows than what there really is
    This did not happen before this current version

    I had a similar issue under MP1 I also had Mythbusters numbered S01, S02 etc.. however I changed them to Years as per thetvdb and it then imported ok.
    http://thetvdb.com/?id=73388&tab=series

    Just thought I would mention it :)

    Cheers
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @henso

    I couldn't resist to give it a test, even so I just wanted to go to bead :D You did an amazing job (y) Even seeking works!
    I got two "Unknown Problems" from the AndroidPlayer, will try to collect logs and see whats wrong there. It appears that the x68 Android Player is very picky. I will also try VLC as an external player. I am really happy about that progress :)

    Thank you!
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    new version + change log in first post :)

    @pünktchen
    This version implements all your requests except: EditSchedule, ReadSettingFromDatabase, AddScheduleDetailed

    What are you using ReadSettingsFromDatabase for? Because I probably can't implement this function. TVE3 and TVE3.5 are quite different so I can't just pass some string and get a setting :D
    Thank you!
    ReadSettingsFromDatabase is needed to get the default settings for Pre-/Post Recording.

    I've tried your last version, but unfortunatally most calls do not work.
    Working:
    Code:
    GetCards
    GetGroups
    GetChannelsDetailed
    GetProgramDetailedById
    GetRecordings

    Returns empty response:
    Code:
    SearchProgramsDetailed

    Returns error "InternalServerError: Failed to proccess! - Exception: {0}":
    Code:
    GetActiveCards
    GetProgramsDetailedForChannel
    GetSchedules
    GetScheduleById
    GetRecordingById

    More i could not test yet...[DOUBLEPOST=1445723326][/DOUBLEPOST]Also another question: There is no real direct streaming profile? I mean without transcoding!
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I already shutdown the pc, so only a quick answer: I need the whole exception text. The first line is not really helpful :)
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    I already shutdown the pc, so only a quick answer: I need the whole exception text. The first line is not really helpful :)
    Sorry! Propably it's stated somewhere in this thread - but where i have to look for the hole exception?
    It was the only message in my browser...
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    @FreakyJ MPExt gives full exception in browser if faulty url. You can probably make it work the same in MP2Ext, it would make it easier for us to report small issues without having to post full server log.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    @pünktchen
    Adjust the log level to "All": http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/6_Support/4_Bug_reports_and_log_files
    "Adjusting log levels for diagnostics"

    Thank post the server.log from C:\Users\All Users\Team MediaPortal\MP2-Server\Log

    MPExt gives full exception in browser if faulty url. You can probably make it work the same in MP2Ext, it would make it easier for us to report small issues without having to post full server log.
    MP2Ext does this, too ;)
    The server.log still contains more information like the requested URL and I think there is one case where it only gives "Exception ..." without details, but can't remember which this was.
     

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    47
    Home Country
    Sweden Sweden
    I use Chrome on Mac and I have only seen "InternalServerError: Failed to proccess! - Exception: {0}" on one line when faulty url in MP2Ext. A stacktrace over 5-10 lines is what I get in MPExt.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    I use Chrome on Mac and I have only seen "InternalServerError: Failed to proccess! - Exception: {0}" on one line when faulty url in MP2Ext. A stacktrace over 5-10 lines is what I get in MPExt.
    Can't imagine that:
    http://192.168.178.26:26405/MPExtended/MediaAccessService/json/GetLocaldiskInformation (wrong casing) gives:
    HttpServer.Exceptions.InternalServerException: InternalServerError: Failed to proccess! - Exception: {0} ---> HttpServer.Exceptions.BadRequestException: BadRequest: MAS: Micromodule not found: GetLocaldiskInformation
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MediaAccessServiceHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MediaAccessServiceHandler.cs:line 117
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MainRequestHandler.cs:line 149
    --- End of inner exception stack trace ---
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MainRequestHandler.cs:line 157
    at HttpServer.HttpServer.HandleRequest(IHttpClientContext context, IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Source\Core\HttpServer\HttpServer.cs:line 415

    Wrong media item Id: http://192.168.178.26:26405/MPExten...son?id=b1c448d4-affe-4b2c-8ab3-221f6203fad1:1
    HttpServer.Exceptions.InternalServerException: InternalServerError: Failed to proccess! - Exception: {0} ---> HttpServer.Exceptions.BadRequestException: BadRequest: GetTVEpisodeCountForSeason: No MediaItem found with id: b1c448d4-affe-4b2c-8ab3-221f6203fad1
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MAS.TvShow.GetTVEpisodesBasicForSeason.Process(IHttpRequest request) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MAS\TvShow\GetTVEpisodesBasicForSeason.cs:line 50
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MediaAccessServiceHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MediaAccessServiceHandler.cs:line 112
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MainRequestHandler.cs:line 149
    --- End of inner exception stack trace ---
    at MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MainRequestHandler.cs:line 157
    at HttpServer.HttpServer.HandleRequest(IHttpClientContext context, IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Source\Core\HttpServer\HttpServer.cs:line 415

    All copied from the browser, not the log file, so I would call that a proper stack trace :)
     

    Users who are viewing this thread

    Top Bottom