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

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    I just tried it and it only worked partially. Shows like Firefly or Farscape were not a problem. But on Lost we added an extra episode for the DVD order. For that I also had to delete and recreate episode 24. So now you can't see episode 24 or the new episode 25. Episode is not visible starting mediaportal. But it's still the in configuration.
    Hi @Imzadi, I took a look at the results for Lost and indeed there is a problem with DVD order Episode 24 and 25. These look to be API issues as seen below:

    For Episode 24, it looks like the DVD episodenumber and season number are both 0, this is an API issue:
    Code:
      <Episode>
        <id>7515891</id>
        <Combined_episodenumber>24</Combined_episodenumber>
        <Combined_season>1</Combined_season>
        <DVD_chapter>0</DVD_chapter>
        <DVD_discid>
        </DVD_discid>
        <DVD_episodenumber>0</DVD_episodenumber>
        <DVD_season>0</DVD_season>
        <Director>
        </Director>
        <EpImgFlag>
        </EpImgFlag>
        <EpisodeName>Exodus (2)</EpisodeName>
        <EpisodeNumber>24</EpisodeNumber>
        <FirstAired>2005-05-25</FirstAired>
        <GuestStars>|Daniel Roebuck|Glenn Cannon|Greg Grunberg|</GuestStars>
        <IMDB_ID>tt0636280</IMDB_ID>
        <Language>en</Language>
        <Overview>The castaways on the raft run into unexpected trouble. Meanwhile, the remaining islanders attempt to blow open the hatch. Flashbacks continue to show the survivor's final moments before boarding their fateful flight.</Overview>
        <ProductionCode>124</ProductionCode>
        <Rating>0</Rating>
        <RatingCount>0</RatingCount>
        <SeasonNumber>1</SeasonNumber>
        <Writer>|Carlton Cuse|Damon Lindelof|</Writer>
        <absolute_number>0</absolute_number>
        <airsafter_season>0</airsafter_season>
        <airsbefore_episode>0</airsbefore_episode>
        <airsbefore_season>0</airsbefore_season>
        <filename>series/73739/episodes/7515891.jpg</filename>
        <lastupdated>1577677928</lastupdated>
        <seasonid>
        </seasonid>
        <seriesid>73739</seriesid>
        <thumb_added>2019-12-29 20:57:13</thumb_added>
        <thumb_height>360</thumb_height>
        <thumb_width>640</thumb_width>
      </Episode>

    NB: although the episode was matched during import correctly it disapeared due to a bug on my side...the import matched because I fell back to aired order when DVD numbers were not provided but I have missed the same logic for when presenting the episodes in the GUI....this is a real pain to resolve, so much simplier when the combined numbers worked as expected.

    Regarding Season 1 Episode 25, that does not exist in the API en.xml, presumably because the v1 API can't handle sending more DVD episodes than aired episodes.
     
    Last edited:

    framug

    Super Moderator
  • Team MediaPortal
  • January 31, 2005
    6,248
    2,316
    South of France
    Home Country
    France France
    I have found the problem for wide banner.
    1/ The "no picture" is only at the beginning, after some hours/days, we can see wide banner.
    I suppose automatic download help a bit for this.
    2/ The "not same wide banner as selcted" problem is when random is checked :

    zz1.png

    When it's unchecked, it's OK :

    zz2.png zz3.png

    Then, it seems randomize crush at once the selected artwork.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @ltfearme not sure if it helps any, but I deleted the show and did a fresh import to follow the logic:

    Cache purged from: "C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache"

    Log file pruned for the import flow of "The Witcher" only to make it easier to read with only the relevant entries shown (pretty sure I did not omit anything):

    Code:
    2020-01-03 12:17:51.233 [DEBG][07]: Retrieving Data from: http://thetvdb.com/api/GetSeries.php?seriesname=The+Witcher&language=en
    2020-01-03 12:17:51.285 [DEBG][07]: *************************************
    2020-01-03 12:17:51.286 [DEBG][07]:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <Data>
       <Series>
           <seriesid>84056</seriesid>
           <language>en</language>
           <SeriesName>The Witcher (2002)</SeriesName>
           <banner>/banners/posters/84056-2.jpg</banner>
           <Overview>Adapted from a series of fantasy novels by the polish author Andrzej Sapkowski, The Witcher tells the tale of Geralt, one of a few remaining &#34;witchers&#34; — traveling monster hunters for hire, gifted with unnatural powers.</Overview>
           <FirstAired>2001-11-9</FirstAired>
           <IMDB_ID/>
           <zap2it_id/>
           <AliasNames/>
           <id>84056</id>
       </Series>
       <Series>
           <seriesid>362696</seriesid>
           <language>en</language>
           <SeriesName>The Witcher</SeriesName>
           <banner>/banners/series/362696/posters/62003331.jpg</banner>
           <Overview>Geralt of Rivia, a solitary monster hunter, struggles to find his place in a world where people often prove more wicked than beasts.</Overview>
           <FirstAired>2019-12-20</FirstAired>
           <IMDB_ID/>
           <zap2it_id/>
           <AliasNames>|De Tovenaar|De hekser|The Witcher|Vaják|El Brujo|The Witcher (US)|The Witcher (2019)|</AliasNames>
           <id>362696</id>
       </Series>
       <Series>
    ..[snipped]..
       </Series>
    </Data>
    
    2020-01-03 12:17:51.287 [DEBG][07]: *************************************
    2020-01-03 12:17:52.681 [INFO][01]: Series "The Witcher" Approve The Witcher (362696)
    2020-01-03 12:17:52.793 [DEBG][07]: Retrieving Data from: http://thetvdb.com/api/<apikey>/mirrors.xml
    2020-01-03 12:17:52.855 [DEBG][07]: *************************************
    2020-01-03 12:17:52.856 [DEBG][07]:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <Mirrors>
       <Mirror>
           <id>1</id>
           <mirrorpath>http://thetvdb.com</mirrorpath>
           <typemask>7</typemask>
       </Mirror>
    </Mirrors>
    
    2020-01-03 12:17:52.856 [DEBG][07]: *************************************
    2020-01-03 12:17:52.857 [INFO][07]: Received 1 mirror site(s) from http://thetvdb.com
    2020-01-03 12:17:52.863 [DEBG][07]: Begin Parsing action: LocalScan
    2020-01-03 12:17:55.055 [INFO][07]: ***************     Gathering Local Information     ***************
    2020-01-03 12:17:55.059 [INFO][07]: Starting Local Filename Parsing, processing 19513 files
    2020-01-03 12:18:01.352 [INFO][07]: Finished Local Filename Parsing
    2020-01-03 12:18:28.342 [INFO][07]: Adding 8 new file(s) to Database
    2020-01-03 12:18:32.247 [DEBG][07]: Begin Parsing action: MediaInfo
    2020-01-03 12:18:32.248 [DEBG][07]: Begin Parsing action: IdentifyNewSeries
    2020-01-03 12:18:32.252 [DEBG][07]: ***************     Identifying Unknown Series Online     ***************
    2020-01-03 12:18:32.254 [DEBG][07]: Found 1 unknown Series, attempting to identify them now
    2020-01-03 12:18:32.255 [DEBG][07]: User has approved "The Witcher" as being: The Witcher
    2020-01-03 12:18:32.256 [INFO][01]: progress received: IdentifyNewSeries [1/1] The Witcher
    2020-01-03 12:18:32.472 [INFO][07]: ***************     Retrieving Metadata for new Series     ***************
    2020-01-03 12:18:32.480 [DEBG][07]: Retrieving metadata of 1 Series
    2020-01-03 12:18:32.484 [DEBG][07]: Retrieving updated Metadata for series The Witcher
    2020-01-03 12:18:32.486 [DEBG][07]: Retrieving Data from: http://thetvdb.com/api/<apikey>/series/362696/all/en.zip
    2020-01-03 12:18:32.529 [DEBG][07]: Decompressing Stream...
    2020-01-03 12:18:32.535 [DEBG][07]: Decompressing Entry: en.xml
    2020-01-03 12:18:32.546 [DEBG][07]: Decompression done, now loading as XML...
    2020-01-03 12:18:32.547 [DEBG][07]: Loaded as valid XML
    2020-01-03 12:18:32.548 [DEBG][07]: Decompressing Entry: banners.xml
    2020-01-03 12:18:32.549 [DEBG][07]: Decompression done, now loading as XML...
    2020-01-03 12:18:32.549 [DEBG][07]: Loaded as valid XML
    2020-01-03 12:18:32.550 [DEBG][07]: Decompressing Entry: actors.xml
    2020-01-03 12:18:32.551 [DEBG][07]: Decompression done, now loading as XML...
    2020-01-03 12:18:32.551 [DEBG][07]: Loaded as valid XML
    2020-01-03 12:18:32.553 [DEBG][07]: Saving xml to file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\en.xml
    2020-01-03 12:18:32.555 [DEBG][07]: Saving xml to file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\banners.xml
    2020-01-03 12:18:32.556 [DEBG][07]: Saving xml to file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\actors.xml
    2020-01-03 12:18:32.558 [DEBG][07]: Loading xml from file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\en.xml
    2020-01-03 12:18:32.559 [DEBG][07]: Metadata retrieved for "The Witcher"
    2020-01-03 12:18:32.560 [INFO][01]: progress received: UpdateSeries [1/1] The Witcher
    2020-01-03 12:18:32.564 [DEBG][07]: Begin Parsing action: GetOnlineUpdates
    2020-01-03 12:18:32.567 [INFO][07]: ***************     Processing updates from online database     ***************
    2020-01-03 12:18:32.576 [INFO][07]: Downloading updates from the last day
    2020-01-03 12:18:32.580 [DEBG][07]: Retrieving Data from: http://thetvdb.com/api/<apikey>/updates/updates_day.zip
    2020-01-03 12:18:32.620 [INFO][07]: Can't connect to http://thetvdb.com/api/<apikey>/updates/updates_day.zip : The remote server returned an error: (302) Redirect.
    2020-01-03 12:18:32.623 [INFO][07]: Failed to get updates from 'zip' file, trying 'xml'...
    2020-01-03 12:18:32.627 [DEBG][07]: Retrieving Data from: http://thetvdb.com/api/<apikey>/updates/updates_day.xml
    2020-01-03 12:18:32.693 [DEBG][07]: *************************************
    2020-01-03 12:18:32.694 [DEBG][07]:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <Data time="1577988929">
       <Series>
    ..[snipped]..
       </Series>
    </Data>
    
    2020-01-03 12:18:32.695 [DEBG][07]: *************************************
    2020-01-03 12:18:34.046 [INFO][07]: Series with Updates: 978
    2020-01-03 12:18:34.050 [INFO][07]: Episodes with Updates: 782
    2020-01-03 12:18:34.053 [INFO][07]: Series with Updated Fanart: 978
    2020-01-03 12:18:34.057 [INFO][07]: Series with Updated Banners: 978
    2020-01-03 12:18:34.064 [INFO][07]: ***************     Finished processing updates from online database     ***************
    2020-01-03 12:18:34.067 [DEBG][07]: Begin Parsing action: IdentifyNewEpisodes
    2020-01-03 12:18:34.071 [INFO][07]: ***************     Get Episodes     ***************
    2020-01-03 12:18:34.710 [DEBG][07]: Loading xml from file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\en.xml
    2020-01-03 12:18:34.712 [DEBG][07]: Found 008 episodes online for "The Witcher"
    2020-01-03 12:18:34.713 [INFO][01]: progress received: IdentifyNewEpisodes [1/319] The Witcher
    2020-01-03 12:18:35.034 [DEBG][07]: "The Witcher - 1x1 - The End's Beginning" identified
    2020-01-03 12:18:35.036 [DEBG][07]: "The Witcher - 1x2 - Four Marks" identified
    2020-01-03 12:18:35.040 [DEBG][07]: "The Witcher - 1x3 - Betrayer Moon" identified
    2020-01-03 12:18:35.043 [DEBG][07]: "The Witcher - 1x4 - Of Banquets, Bastards and Burials" identified
    2020-01-03 12:18:35.046 [DEBG][07]: "The Witcher - 1x5 - Bottled Appetites" identified
    2020-01-03 12:18:35.048 [DEBG][07]: "The Witcher - 1x6 - Rare Species" identified
    2020-01-03 12:18:35.051 [DEBG][07]: "The Witcher - 1x7 - Before a Fall" identified
    2020-01-03 12:18:35.053 [DEBG][07]: "The Witcher - 1x8 - Much More" identified
    2020-01-03 12:18:35.055 [DEBG][07]: Begin Parsing action: CheckArtwork
    2020-01-03 12:18:35.058 [INFO][07]: ***************     Verifying ArtWork     ***************
    ..[snipped]..
    2020-01-03 12:19:02.932 [DEBG][07]: Downloading artwork for "The Witcher"
    2020-01-03 12:19:02.933 [DEBG][07]: Loading xml from file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\banners.xml
    2020-01-03 12:19:02.933 [INFO][01]: progress received: UpdateBanners [22/25] The Witcher
    2020-01-03 12:19:02.940 [DEBG][07]: New series widebanner found for "The Witcher" : graphical/5d1a2cb6138b3.jpg
    2020-01-03 12:19:02.941 [DEBG][07]: New series widebanner found for "The Witcher" : series/362696/banners/62031748.jpg
    2020-01-03 12:19:02.942 [DEBG][07]: New series poster found for "The Witcher" : series/362696/posters/62003331.jpg
    2020-01-03 12:19:02.943 [DEBG][07]: New series poster found for "The Witcher" : series/362696/posters/62031736.jpg
    2020-01-03 12:19:02.944 [DEBG][07]: New series poster found for "The Witcher" : posters/5d1a2abe88d10.jpg
    2020-01-03 12:19:02.954 [DEBG][07]: New season poster found for "The Witcher" Season 1: series/362696/seasons/832099/posters/62031739.jpg
    2020-01-03 12:19:02.955 [DEBG][07]: New season poster found for "The Witcher" Season 1: series/362696/seasons/832099/posters/62029236.jpg
    ..[snipped]..
    2020-01-03 12:20:53.476 [DEBG][07]: Loading xml from file cache: C:\ProgramData\Team MediaPortal\MediaPortal\MP-TVSeries\Cache\362696\en\banners.xml
    2020-01-03 12:20:53.476 [INFO][01]: progress received: UpdateFanart [292/319] The Witcher
    ..[snipped]..
    2020-01-03 12:21:09.713 [INFO][01]: progress received: UpdateEpisodeCounts [404/451] The Witcher
    ..[snipped]..
    2020-01-03 12:21:09.985 [INFO][07]: *******************            Completed           ************************
    2020-01-03 12:21:09.988 [INFO][07]: ***************************************************************************
    2020-01-03 12:21:09.994 [INFO][01]: Online Parsing Completed in 00:03:17.2072235
    2020-01-03 12:22:05.842 [INFO][02]: Cleaning up cached, generated Logos

    Manually viewing the series at TheTVdB I did notice something weird.


    Shows the following backgrounds:

    1. https://artworks.thetvdb.com/banners/series/362696/backgrounds/62032150.jpg
    2. https://artworks.thetvdb.com/banners/series/362696/backgrounds/62003173.jpg
    3. https://artworks.thetvdb.com/banners/fanart/original/5d34e41a8f3fb.jpg
    4. https://artworks.thetvdb.com/banners/series/362696/backgrounds/1398884.jpg
    5. https://artworks.thetvdb.com/banners/fanart/original/5d1a2b69ca6a1.jpg
    6. https://artworks.thetvdb.com/banners/series/362696/backgrounds/1398882.jpg
    7. https://artworks.thetvdb.com/banners/series/362696/backgrounds/62002241.jpg
    8. https://artworks.thetvdb.com/banners/series/362696/backgrounds/1398885.jpg
    9. https://artworks.thetvdb.com/banners/series/362696/backgrounds/1398887.jpg
    10. https://artworks.thetvdb.com/banners/fanart/original/5d34e67c96aee.jpg

    That folder structure seems to be all over the place, so maybe that is one of the underlying reasons. Was hoping there would be a default.jpg type of link we could use if you knew the series-ID number, but alas it is all seemingly random generated, so requires API to function correct.

    And digging deeper I realized this was all a futile exercise, and that it relates to the backgrounds being uploaded without a language set, as you have been on-top of it since December 23rd @ The Witcher returns no background fanart in v1 API - TheTVDB.com

    I'm still in the process of recovering my domains (got one web one working, but gonna take time to recover the rest), which includes the e-mail address I used at TheTVdB. Due to their last breach I have to go through a reset-password, so need access to the specific e-mail address again to make that work. It sounds like it might be an easy temporary solution for somebody with edit access to alter the language on an existing background to be "English", or to add a new one until they sort through this mess. To abide by the rules simply have to find a background that is new and contains English text in it, such as: https://assets1.ignimgs.com/2019/12/05/elcdgn0u0aaxlsj-1575570333319.jpg

    Hopefully, this weekend I'll regain access :whistle:
     

    Imzadi

    MP Donator
  • Premium Supporter
  • June 18, 2008
    250
    67
    Aachen
    Home Country
    Germany Germany
    As a temporary fix for myself for Witcher I simply placed a fanart in

    C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original

    and named it "362696-1.jpg".
     

    Attachments

    • 2020-01-03 21_14_38-MediaPortal - My TV Series.png
      2020-01-03 21_14_38-MediaPortal - My TV Series.png
      13 MB

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    As a temporary fix for myself

    Overlooked the obvious, but this would only solve it for those who know how to do that, whereas if anybody edits one of the backgrounds to be tagged "English" it would solve it for everybody. I'm sure TheTVdB devs will eventually fix their API so then it will fix itself. Not even sure if it is possible to edit fanart uploaded by others to adjust them as "English", so will go with the same temporary fix you did.

    I'm on Titan Extended Two skin though, which only has a slim gap at the top to see background, and therefore always pick fanart that shows as much as possible (used to be common format). Modified the existing ones on three new shows that failed, and attached them in case somebody else finds them useful.
    • Dracula (2020)
    • Messiah (2020)
    • The Witcher

    The modification forced me to go with 720p final resolution, but my setup has good upscaling so it doesn't bother me.

    Copy them to: "C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original"
     

    Attachments

    • 361160-1.jpg
      361160-1.jpg
      33.9 KB
    • 362696-1.jpg
      362696-1.jpg
      207.6 KB
    • 373186-1.jpg
      373186-1.jpg
      99.6 KB

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @ltfearme noticed one minor thing with "The Witcher" all fixed; whenever I enter the show it shows poster+episode-thumbnail-imposed, but for "Dracula (2020)" & "Messiah (2020)" it does not show a poster (both show one on series-view). Checked Messiah season posters and episode thumbnail on 1x01 at TheTVdB which exist and are both properly tagged to "English", so not idea why they fail. I have spoilers disabled, so "The Witcher" displays series Poster+Background just fine, and was wondering if you can perhaps solve that via coding for others failing by relying on series-poster?

    It only fails for those two series, so I totally understand if you prefer to wait for TheTVdB devs to get their shit in order first :whistle:

    PS: Also noticed that the primary API call on GetSeries is still made to 'http' which gets auto-redirected to 'https' you would save a redirect delay if you make the API call directly to 'https'. Thought adjusting the MP-TVSeries config on mirrors would fix it, but realized that TheTVdB API themselves need updating as a call on 'https' to get the mirrors returns a 'http' address :mad:
     

    Imzadi

    MP Donator
  • Premium Supporter
  • June 18, 2008
    250
    67
    Aachen
    Home Country
    Germany Germany
    Overlooked the obvious, but this would only solve it for those who know how to do that, whereas if anybody edits one of the backgrounds to be tagged "English" it would solve it for everybody.

    As a mod I could do that. But I won't, as all fanart with a language tag and including a logo will likely moved to panel. It's already a mess, as the information if a fanart has or logo or not was lost with the first update in 2018. I don't want to add to that by further mislabeling fanart.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    @ltfearme noticed one minor thing with "The Witcher" all fixed; whenever I enter the show it shows poster+episode-thumbnail-imposed, but for "Dracula (2020)" & "Messiah (2020)" it does not show a poster (both show one on series-view). Checked Messiah season posters and episode thumbnail on 1x01 at TheTVdB which exist and are both properly tagged to "English", so not idea why they fail. I have spoilers disabled, so "The Witcher" displays series Poster+Background just fine, and was wondering if you can perhaps solve that via coding for others failing by relying on series-poster?
    So sounds like the season poster is missing for those shows in the API, you can confirm from the API cache that is the case? It could be a case of the v1 API taking it's time to refresh...how long ago were the season posters uploaded?

    If you want, there is an option in TVSeries configuration to show the series poster when no season poster exists, at least it can show you something in the meantime.
     

    Users who are viewing this thread

    Top Bottom