Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Set min playtime to count as "play" #116

Open
heeelga opened this issue Oct 24, 2023 · 3 comments
Open

Feature Request: Set min playtime to count as "play" #116

heeelga opened this issue Oct 24, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@heeelga
Copy link

heeelga commented Oct 24, 2023

First of all: Thank you very much for your effort and your time! I currently switched from Plex and Tautulli und Jellystat gives me a lot of statistics like Tautulli which is really nice.

I think it would be great to be able to specify a minimum playtime in % or minutes for an item to be counted as a "play".
I recently tested something out and started a movie like 20 times for just 1-2 minutes and now the dashboard says 20 plays. This could accumulate quite fast and distort the statistics page.

Would be great if we got a setting for this imho.

@CyferShepard
Copy link
Owner

Hi @heeelga , so im actually working on this at present, its referenced in task #56 but to be fair its not the most aptly named issue. Il keep this task open and track changes on both.

So the current plan is follow the threshold system to count a watch, I'm not sure if I'm going to allow the threshold to be configurable, I guess with user testing and feedback that may change but generally I don't think it needs to be a configurable option, but will keep that in mind.

@CyferShepard
Copy link
Owner

@CyferShepard CyferShepard self-assigned this Oct 24, 2023
@CyferShepard CyferShepard added the enhancement New feature or request label Oct 24, 2023
@heeelga
Copy link
Author

heeelga commented Oct 24, 2023

Hi @CyferShepard, thank you so much for your immediate reply. This is great! I also think it doesn't have to be a configurable option but setting the threshold up in general would definitely help. I will patiently wait for an update :).

CyferShepard added a commit that referenced this issue Jan 8, 2024
This rework looks for existing playback records based on the following criteria:
activity matching `NowPlayingItemId` within the last 1 hour with Playback progress <=80%

if theres a matching record:
update the PlaybackDuration to be existing PlaybackDuration + new PlaybackDuration progress

Update ActivityDateInserted to current time

Related issues: #56 #116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants