[Info] Web interface missing specials in TV Shows (1 Viewer)

RobWW

Portal Member
September 2, 2007
14
0
Home Country
Canada Canada
Hi,
Thanks for the work on MPExtended.

I noticed the web interface doesn't allow access to specials in the TV Shows tab. This can be a problem as some series have important episodes listed as specials.

These specials are listed as being in Season 0 in the TV series database. The line:
if (!season.SeasonNumber.Equals(0))
in
MPExtended\WebMediaPortal\www\Views\TVShowsLibrarySeasons.cshtml
causes Season 0 to be skipped.

Changing the line to something like
if (!season.SeasonNumber.Equals(99))
allows access to the Season 0 episodes, with no apparent problems.

Rob
 

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Uhm, yeah. No idea why we intentionally skip specials.

    Fixed for 0.5.3.
     

    Lyfesaver74

    Public Relations
  • Premium Supporter
  • September 25, 2010
    1,544
    1,122
    Texas
    Home Country
    United States of America United States of America
    Currently I think default is the only skin that hides specials. And as for why Oxan, I have asked but I also forgot. But I swear there was a valid reason. I even asked if you wanted me to change it for default as I did for jQui and even then u had a good reason. Maybe search your logs for

    if (!season.SeasonNumber.Equals(0))

    for when were talking about it. My logs dont go back that far.

    As for anyone else who might not want to wait for 0.5.3 you can delete that line in C:\Program Files\MPExtended\WebMediaPortal\www\Views\TVShowsLibrary\Seasons.cshtml . Also make sure to delete the closing } that pairs with that line, leaving all the code inside still there.
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Could only find one mention for it, 7 June last year, where you instructed someone to remove it if he wanted to show specials. No reaction from me then. Maybe we didn't use the literal code on IRC when we discussed it.

    Anyway, i can't think about a reason to hide them anymore, so let's just show em.
     

    Users who are viewing this thread

    Top Bottom