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]: User's 'watching' statistics #6181

Open
3 tasks done
enrrari opened this issue Nov 17, 2024 · 2 comments
Open
3 tasks done

[Feature Request]: User's 'watching' statistics #6181

enrrari opened this issue Nov 17, 2024 · 2 comments

Comments

@enrrari
Copy link

enrrari commented Nov 17, 2024

Guidelines

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I have searched the documentation for information that matches the description of the feature request I want to file, without success.
  • This issue contains only one feature request.

Problem Description

Not really a problem. Just a proposal. Seeing as FreeTube already has the user data locally (if enabled), such as history and subscriptions, one interesting possible feature could be statistics regarding what the user watches most, perhaps akin to Spotify's “Your Sound Capsule”, maybe an end-of-year function akin to Spotify's “Wrapped”.

Proposed Solution

One proposed implementation could be checking history for the videos and channels that show up most for a given time period, such as a given month or year (for something akin to Wrapped). Then, a page could be displayed to the user with information such as their Top 5 Channels and Top 5 Videos (or however many you see fit) for the time period, and maybe even how long they spent watching. If an end-of-year “Wrapped”-like feature were to be made, such could be made to show up when the date is that of December of a given year.

Alternatives Considered

An alternative is for the user to create a script that does something similar with the same history and subscription files. I myself have developed a Bash script that uses Freetube's history and subscription files, along with Invidious API, to craft CSV files that can be analysed in a LibreOffice Calc sheet, but not exactly with the aforementioned purposes in mind.

Issue Labels

new feature

Additional Information

No response

@absidue
Copy link
Member

absidue commented Nov 17, 2024

FreeTube wouldn't be able to provide something as detailed as one of those wrapped things from music services, considering that it saves minimal information about the watched videos and if you watch a video multiple times FreeTube only remembers the most recent time.

Not saying something like that isn't technically possible, it would just be a lot more limited than with music services and it would have to have a massive disclaimer about inaccuracy. We definitely would not be implementing something that abuses the Invidious API that much, if something were to be added it would have to be based purely on the saved data.

@absidue
Copy link
Member

absidue commented Nov 17, 2024

Additionally please do not abuse the Invidious API with that many requests, as you will be directly contributing to the instance getting blocked by YouTube. Unless it is your own Invidious instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To assign
Development

No branches or pull requests

2 participants