Latest Unwatched View? (1 Viewer)

Mavoc

Portal Pro
October 8, 2007
72
3
Houston, TX
Home Country
United States of America United States of America
so what your saying is that even though the episode air date is in the DB, you can't compare it to the current date because the program can't access the current date?
 

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Yeah, you can't invoke the current date in view conditions without coding support for it, and thus you can't compare anything with it
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    i like to leave the option to show all episodes whether i have them or not ON.

    is there a line i could used to tweak my DB so that in my latest listing it shows the latest episodes which are <= the current date?

    Zeflash now added this option in the latest svn.
     

    Zasurus

    Portal Pro
    November 14, 2006
    79
    2
    44
    Home Country
    United Kingdom United Kingdom
    i like to leave the option to show all episodes whether i have them or not ON.

    is there a line i could used to tweak my DB so that in my latest listing it shows the latest episodes which are <= the current date?

    Zeflash now added this option in the latest svn.

    Hi, Two things firstly is there anywhere with a quick description of how this Views script works? I just can't work it out! LOL Also you say above that the showing unwatched episodes you already have only thing has been fixed so how would I add that to a view now?

    Thanks!:D

    Zas
     

    PureLoneWolf

    Portal Pro
    September 16, 2006
    61
    3
    Home Country
    Germany Germany
    Yeah you can..

    - Open: \Team MediaPortal\MediaPortal\Docs\SQLite Database Browser.exe
    - Open your database: \Team MediaPortal\MediaPortal\Database\TVSeriesDatabase4.db3
    - Click TAB "Browse Data".
    - Choose TABLE "Views".

    - Click "New Record".
    Now you get an empty new line which will contain the new view.

    You double click the field to change its value.

    Enter Values: (Don't leave anything empty)
    - All "ID" and "sort" have to be unique.
    Code:
    ID: [B]6[/B]
    Enabled: [B]1[/B]
    Sort: [B]7[/B]
    TransToken: [B]Latest2[/B] (Or whatever name you want)
    PrettyName: [B]Latest2[/B] (Or whatever name you want)
    viewConfig: [B]episode<;><Episode.Watched>;=;0<;><Episode.FirstAired>;desc<;>25[/B]

    Sorry to resurrect an old thread, but would this allow me to have the Unwatched view only show me the number of episodes there are left currently to watch, rather than the full number of episodes I have?

    Thanks in advance...
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    The Unwatched count has nothing to do with the views...this is controlled by Formatting Rules defined in TVSeries.SkinSettings.xml. Unfortunately there is no support to link up these two together. If you want unwatched count then you need to have it for all views.
     

    Users who are viewing this thread

    Top Bottom