Open RaunoT opened 6 months ago
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.
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.
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.
Description
We should be able to optionally set the year for which we want to see the Rewind for. Currently it's showing it for the ongoing year only.
Desired behavior
The Rewind year could be set in the .env file.
Additional context
No response