[DONE] Add 'Last Date Watched' skin properties (1 Viewer)

conguero23

Portal Member
December 9, 2012
48
10
44
Home Country
United States of America United States of America
I was wondering if there is any way to show the last time you watched a movie? It appears to be available in the database as well as it is scrobbled at trakt but i can not find anyway to pull that info to the details screen.

Thanks,
 

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Have you turned on skinners debug logging in advanced settings, you might get some clues ;)
     

    conguero23

    Portal Member
    December 9, 2012
    48
    10
    44
    Home Country
    United States of America United States of America
    I Thanks for the reply. I checked the logs and it does not show it ever loading a date watched property only #MovingPictures.SelectedMovie.date_added.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Show me your log when selecting a movie that has been watched. If it's not logged I will look into making sure it does or dig into the code to tell you what property...my only concern would be is it might not do it because it's a collection of watched dates i.e. it stores each one. Im not 100% certain it creates properties for each watched date...if not I could expose the last watched date or first or all.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I had a look at the code and added these properties:
    Code:
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.WatchedHistory.Count = "2"
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.WatchedHistory.1.User = "Default User"
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.WatchedHistory.1.DateWatched = "5/02/2014 9:39:26 PM"
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.WatchedHistory.2.User = "Default User"
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.WatchedHistory.2.DateWatched = "5/02/2014 9:55:44 PM"
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.FirstWatched = "5/02/2014 9:39:26 PM"
    06-Feb-2014 07:55:12 Debug [  MovingPicturesGUI]: #MovingPictures.SelectedMovie.LastWatched = "5/02/2014 9:55:44 PM"

    Does that suit you?
     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Done, added for the next release.
     

    Users who are viewing this thread

    Top Bottom