Unwatched view with date filter (1 Viewer)

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Add a feature request on google code. The only thing this would need is for the plugin to track when a certain file was added to the database.
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    I use this expression for my latest view and it seems to work as it should
    episode<;><Episode.FirstAired>;<=;<today><cond><Episode.FirstAired>;>=;<today-30><cond><Episode.Watched>;=;0<;><Episode.FirstAired>;desc<;>

    Nice, I will try this later.
    It is however a bit cryptic to understand how this works.

    As I understand this will not show episodes that are not aired yet (<today><cond><Episode.FirstAired>) but what is <today-30> doing?
    Does it show upto a month old episodes.

    I guess I just test this and see what happens :)
     

    spuck

    Community Skin Designer
    April 6, 2007
    397
    59
    Home Country
    Sweden Sweden
    <Episode.FirstAired>;<=;<today> FirstAired has to be less than or equal to todays date
    <cond> I believe this is to separate different conditions, probably AND?
    <Episode.FirstAired>;>=;<today-30> FirstAired has to more than or equal to today minus 30 days
    I've changed it to 3 days since it's more resonable, who needs 10 pages of new shows. :-P
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    Aha! Thanks for the explanation. I will do some testings tomorrow.

    Made some testings and I almost got an Unwatched view I wanted.
    Thanks for all the help! :)

    The problem is that if a series includes a listing of episodes without an first air date they are shown and is not desireable for me.

    I tried with <Episode.FirstAired>;>;0 but this does not exclude them.
    Which value has <Episode.FirstAired> if this field is empty?

    I have the following expression for my unwatched view.

    series<;><Episode.FirstAired>;<=;<today><cond><Episode.FirstAired>;>;0<cond><Episode.Watched>;=;0<;><;><nextStep>season<;>;;<;><Season.seasonIndex>;asc<;><nextStep>episode<;><;><Episode.EpisodeIndex>;asc<;>
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    Is there any condition you can do to exclude episodes with no date set?

    I want something like "<Episode.FirstAired> is not equal to <null>" or whatever :)
    Any ideas?
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    Ok I have now done some more testings.
    I have managed to get the episodes, without any airdate set, not to be listed by setting firstaired to larger than 1900-01-01 :)
    I am using the following expression:

    series<;><Episode.FirstAired>;<=;<today><cond><Episode.FirstAired>;>;1900-01-01<cond><Episode.Watched>;=;0<;><;><nextStep>season<;>;;<;><Season.seasonIndex>;asc<;><nextStep>episode<;><;><Episode.EpisodeIndex>;asc<;>

    However the series banner is still available if there are episodes of a series marked as unwatched but out of my date conditions.

    Is there some way I can make the series banner not be listed. If I use the standard Unwatched and all listed episodes of a series are marked as watched I don't see the series banner again. This effect is what I want to acheive.
     

    spuck

    Community Skin Designer
    April 6, 2007
    397
    59
    Home Country
    Sweden Sweden
    Have no idea what you actually are trying to say with your post.. :confused:

    Is this what you want?

    Code:
    episode<;><Episode.FirstAired>;<=;<today><cond><Episode.FirstAired>;>;1900-01-01<cond><Episode.Watched>;=;0<;><Episode.FirstAired>;asc<;>
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    LOL... kind of figured! I had hard time following myself. :)

    What I want is a view very similar to the standard Unwatched view. Series - Season - Episodes

    Here you start with the series banner, but only banners of series that have unwatched episodes are shown.
    I want to achieve the same result but I don't want to list episodes that have newer date than today (since they are of no interest if they are not yet aired).

    I have managed to achieve this in the episode listings. But from start I see series banner of shows that have no episodes listed.
    That is quite pointless to click on a series when there are no episodes available.

    The series banner shown without episodes do have "unwatched" episodes but they are not yet aired.

    I am not sure if this was more clear :)
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    I made some more testing today just to see if I could figure out what it is that makes the series banner to hide in the standard "Unwatched view"

    I then discovered some real strange behaviour.
    When I did my testings I narrowed it down to show episodes aired only today.

    In my series database I have the following series with episodes aired today

    Chuck
    Heroes
    My worst enemy
    Raising the bar

    I have not yet marked the episodes as watched.

    I used the following conditions (I only have the first part here to make it more easy to read).

    series<;><Episode.FirstAired>;=;<today><cond><Episode.Watched>;=;0
    This condition properly shows me "only" the series banners as listed above with one epiosde in each listing (todays episode)

    Then I tried with the following condition (Watched = 1)
    series<;><Episode.FirstAired>;=;<today><cond><Episode.Watched>;=;1

    If the condition algorithm is consistent I should either see no series banner, or all 4 banners but with empty episode listings.

    This is not the case. Chuck and Heroes banners are present (with empty episode listings) but "My worst enemy" and "Raising the bar" banners disappeared.

    Is there someone who can explain this to me?
    I love that fact that they did disappear but why did not all of them?
     

    Johan

    Portal Pro
    April 19, 2006
    443
    11
    50
    Home Country
    Sweden Sweden
    Seems like I am having a monologue here! :)

    Anyone who understand what I am talking about and have any smart ideas?
     

    Users who are viewing this thread

    Top Bottom