MP-TVSeries v4.3.6 Release [2020-01-24] (14 Viewers)

Stichler_1

Portal Member
January 12, 2020
11
15
Home Country
Germany Germany
Hello
When i use MPTVSeries 4.3.4.0 with Mediaportal 1.23 i can use the Artwork Chooser with the Titan Skin. But some Seasons shows me not the Season Poster, I see the Series Poster.
As example the Series 24. Season 1-4 + 7-9 shows me the Season Poster correctly, in Season 5+6 i see the Series Poster. The same with the Series Homeland. Season 1-5 shows me the correct Season Poster, Season 6+7 shows me the Series Poster. The Season Posters are in the Artwork Folder. I can download them and select the Season Poster, but seeing is the Series Poster.
For the Test i also delete the Api Cache Folder. The same.
When i use 4.3.4.5 or 4.3.4.6 Beta, Mediaportal chrashes wenn I use Artwork Chooser, Season Poster and want select a thumb. Is the same feel i do Alt+F4

Sorry for my bad english, i hope someone knows what i mean.

tldr: In DefaultWide HD i can´t use Season Poster change. Nothing happens when i select this with the newest Beta. Change Fanart works.
 
Last edited:

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    When i use MPTVSeries 4.3.4.0 with Mediaportal 1.23 i can use the Artwork Chooser with the Titan Skin. But some Seasons shows me not the Season Poster, I see the Series Poster.
    As example the Series 24. Season 1-4 + 7-9 shows me the Season Poster correctly, in Season 5+6 i see the Series Poster. The same with the Series Homeland. Season 1-5 shows me the correct Season Poster, Season 8+9 shows me the Series Poster. The Season Posters are in the Artwork Folder. I can download them and select the Season Poster, but seeing is the Series Poster.
    This sounds like the TVDb API does not have the season posters in the response (even if previously downloaded).

    When i use 4.3.4.5 or 4.3.4.6 Beta, Mediaportal chrashes wenn I use Artwork Chooser, Season Poster and want select a thumb. Is the same feel i do Alt+F4

    Can you attach a debug log of tvseries, mediaportal and error logs after crash.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Hi @Stichler_1, the error is due to a GDI+ out of memory error.

    I have reduced the image size for series/season posters to 75% when loading them into the facade...can you see if it fixes the issue, if not please re-attach your logs and will look further.

    Also please ensure you have the latest video card drivers installed / windows updates etc.
     

    Attachments

    • MP-TVSeries-4.3.4.7-Beta.mpe1
      5.9 MB

    Stichler_1

    Portal Member
    January 12, 2020
    11
    15
    Home Country
    Germany Germany
    Hello, i have test this Betas on 2 PC`s.
    My Gaming PC is a Intel I7-7700 with 16GB DDR4 RAM and a Geforce RTX 2080 Video Card
    My HTPC is a Intel I5-4690 with 16GB DDR3 RAM and a Geforce GTX 970
    Both Systems has the newest Driver and Windows Update (WIN10 Pro) installed.

    With the New Beta 4.3.4.7 on both PC`s Mediaportal crashes when i select a File for download.
    I have tested with a lot of series. When a file is select or local available (from earlier Installation) i can change between these Files, all is ok.
    When i marking a File to Download (look the Picture), then Mediaportal crashes.
    It happen with all 3 Provider (THETVDB; Themoviedb and Fanart.tv)

    I will test the lastest MPTV Series Beta, tomorrow with the new 1.24 Pre Release, there is a fix for [MP1-4982] - Remove hard stop when Caching Graphics not found folders.
    Perhaps this will help.....
     

    Attachments

    • dexter.JPG
      dexter.JPG
      149.1 KB
    • MediaPortal.log
      215.9 KB
    • MediaPortal-Error.log
      4.9 KB
    • MP-TVSeries.log
      268.5 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    @ajs, @Sebastiii do you know why this is failing to image:
    Code:
    [2020-01-13 02:01:13,436] [Log    ] [6        ] [ERROR] - Exception: System.OutOfMemoryException: Gdiplus Out Of Memory
       bei MediaPortal.Util.ImageFast.FromFile(String filename)

    The MediaPortal code in question calls an external function:
    Code:
        public static Image FromFile(string filename)
        {
          filename = Path.GetFullPath(filename);
          IntPtr loadingImage = IntPtr.Zero;
          // We are not using ICM at all, fudge that, this should be FAAAAAST!
          int ret = GdipLoadImageFromFile(filename, out loadingImage);
          if (ret != 0)
          {
            throw CreateException(ret);
          }
          ....

    I presume GdipLoadImageFromFile is returning the value of 3 which throws the exception new OutOfMemoryException("Gdiplus Out Of Memory");
    Code:
        private static Exception CreateException(int gdipErrorCode)
        {
          switch (gdipErrorCode)
          {
            case 1:
              return new ExternalException("Gdiplus Generic Error", -2147467259);
            case 2:
              return new ArgumentException("Gdiplus Invalid Parameter");
            case 3:
              return new OutOfMemoryException("Gdiplus Out Of Memory");
            case 4:
              return new InvalidOperationException("Gdiplus Object Busy");
            case 5:
              return new OutOfMemoryException("Gdiplus Insufficient Buffer");
            ...
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,852
    12,107
    Kyiv
    Home Country
    Ukraine Ukraine
    An error occurred while loading a picture with GdipLoadImageFromFile function when I tried to open a damaged file.

    PS: In MP 1.22 and latest TV Series beta i dont have mediainfo icons at all... In DB mediainfo present, in GUI - empty. Bug? Or?

    --
    WBR, ajs :):whistle::coffee:
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hey [emoji4] not sure why it happened and strange about the crash because his hardware looks at the top.
    Good idea to try to catch this error, it will surely avoid the crash, now why it happened? Image not fully ready to be load like corrupt?

    Tapatalk
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,852
    12,107
    Kyiv
    Home Country
    Ukraine Ukraine
    I presume GdipLoadImageFromFile is returning the value of 3 which throws the exception new OutOfMemoryException("Gdiplus Out Of Memory");
    Google say, Such a problem may be in 32 bit systems due to the garbage collector, but in 64 bit systems this is almost never encountered. Maybe we should think about how to translate the Media Portal to 64 bits.
    [other] - Mediaportal in 64 bit?
     

    Users who are viewing this thread

    Top Bottom