Display total (thetvdb) number of episodes in season. (2 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,626
    10,555
    Kyiv
    Home Country
    Ukraine Ukraine
    Property shows the number of episodes in the series, season. But not those that have a local library and all. To be able to display: Episodes: 10 / 20. That is, 10 is in the local library, of the planned 20.
    ie: 10 - Count of Local Episodes (local_episodes table), 20 - Count of Online Episodes (online_episodes table)
    Like:
    SQL:
    select distinct seasonindex, count(episodeindex) from local_episodes where seriesid = 259948 group by seasonindex
    Code:
    SeasonIndex    count(episodeindex)
    2    10
    3    2
    SQL:
    select distinct seasonindex, count(episodeindex) from online_episodes where seriesid = 259948 group by seasonindex
    Code:
    SeasonIndex    count(episodeindex)
    1    13
    2    10
    3    10
    For 3 season of 259948 series - result 2 / 10 :)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,626
    10,555
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #2
    Any way to display an total (thetvdb) number of episodes in season?

    PS: #TVSeries.Season.EpisodeCount - It shows only the number of episodes in the local database.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,426
    10,451
    Königstein (Taunus)
    Home Country
    Germany Germany
    Hmm, not sure about this one :eek:
    #TVSeries.Season.EpisodeCount shows me the episodes for that season, even if I don´t have all episodes available ;)
    In the episodes view I use #TVSeries.FilteredEpisodeCount - maybe that helps you?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,626
    10,555
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #4

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,426
    10,451
    Königstein (Taunus)
    Home Country
    Germany Germany
    I do not want turning it on, I want to see how my local episodes and how much this season overall.
    So why don´t you try the #TVSeries.FilteredEpisodeCount as I suggested already in my first answer?
    You could use it like this "#TVSeries.FilteredEpisodeCount of #TVSeries.Season.EpisodeCount" ;)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,626
    10,555
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #8
    I have turned off the option to show the episodes that are not in the database.
    So why don´t you try the #TVSeries.FilteredEpisodeCount as I suggested already in my first answer?
    What does it property?
    #TVSeries.Season.EpisodeCount
    It shows the number of episodes in the database.
     

    Users who are viewing this thread

    Top Bottom