[fixed] Serie Plugin : No "Season 0" displayed (1 Viewer)

Smeulf

Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    On TheTVDB, specials episodes are defined to be part of the "Season 0".

    But it seems no match is done with "S00Exx" and then specials episodes are not displayed in the series plugin.

    Or maybe it's just the screens that does not handle season 0 ?
     
    Last edited:

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,990
    7,376
    Home Country
    Germany Germany
    You are right, a "season 0" is not considered yet:
    Code:
    	/// <summary>
    	/// Indicates that all required fields are filled.
    	/// </summary>
    	public bool IsCompleteMatch
    	{
    	  get
    	  {
    		return !(string.IsNullOrEmpty(Series) || SeasonNumber == 0 || EpisodeNumbers.Count == 0);
    	  }
    	}
    I have to rethink this part
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,990
    7,376
    Home Country
    Germany Germany
    @Smeulf: I've added support for "season 0" to this branch: https://github.com/MediaPortal/MediaPortal-2/commits/REWORK_SeriesMatching. Can you test this?

    I found a small "bug" in the series importer:

    If a series is named "Seriesname - Sxx Exx - Title" (with a space between season and Episode) it's not recognized - without a space everything is working fine.

    @Meier: This name pattern is now also added to the branch above. If you are able to compile, you can test yourself, or be patient and wait for a new public version.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom