Giter VIP home page Giter VIP logo

Comments (4)

RaunoT avatar RaunoT commented on June 6, 2024

The issue I'm facing with implementing this currently is that we're using get_home_stats to fetch the "Top 5" media items from Tautulli, but that query only supports time_range. I was thinking we could use get_history, which supports the before and after params, but for shows/audio, it only returns the single items (episode or track) instead of the grouped parent.

Having had a quick look, it seems like aunefyren/wrapperr is using get_history to basically pull in all the information and transform it as needed. I'm not a fan of this approach, since from what I can understand, his app builds all the data at buildtime, plex-rewind fetches it dynamically/real-time which is not a behaviour I'm looking to change.

from plex-rewind.

RaunoT avatar RaunoT commented on June 6, 2024

A workaround solution, or even a permanently different approach, would be to just always get Rewind for the past 365 days instead of the current year.

Would love to hear what others think.

from plex-rewind.

tarunkumar519 avatar tarunkumar519 commented on June 6, 2024

getting rewind for the past year by default seems great. Only few people may want to use rewind for a year at the end of current year. By default getting rewind for last year should be enough.

from plex-rewind.

RaunoT avatar RaunoT commented on June 6, 2024

This behaviour has been altered in 1.7.1.
Until get_home_stats can be updated, Rewind will get data for the past 365 days instead of the astronomical year.
Dashboard "this year" has also been changed to "past year".

from plex-rewind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.