Don't save progress if video genre is music
Don't save progress if video genre is music closes
Important note We may remove your pull request if you do not use this provided PR template correctly.
Pull Request Type Please select what type of pull request this is:
- [x] Bugfix
- [ ] Feature Implementation
Related issue #1522
Description There is no need to save watch progress for music. This makes it so that if the video genre is music, it sets the watch progress to 0 instead of the db value.
Screenshots (if appropriate) Please add before and after screenshots if there is a visible change.
Testing (for code that is not small enough to be easily understandable) Has this pull request been tested? Please describe shortly how you tested it and whether there are any ramifications remaining. I tested it for a few days with no issues on Invidious API, but I am unable to test on Local API since it doesn't work for me. I don't think there should be any issues, but if someone else can test it I would appreciate it. Desktop (please complete the following information):
- OS: [Manjaro]
- OS Version: [5.10.117-1]
- FreeTube version: [0.17.0]
Additional context Add any other context about the problem here.
Tested local API as well and everything seems fine.
@absidue Thanks for the review. I've updated it with settings now.
Could you please fix that small typo? The rest of the code looks good.
done, thanks
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.
@vr10t ?
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This PR was closed because it has been stalled for 14 days with no activity.
@PikachuEXE @absidue would either of you like to take this PR over? If not I could do it
@ChunkyProgrammer Just do it~ There are only a few changes left
How to find videos with genre "music" ._.
How to find videos with genre "music" ._.
Here is an example video i found: https://www.youtube.com/watch?v=rgaTLrZGlk0
I think i might have opened up an issue for adding these details on the watch page in freetube but here it is in newpipe:

If https://www.youtube.com/watch?v=rgaTLrZGlk0 is also "music" then this feature shouldn't be included? Coz it's not actually music video but "video about music"
If https://www.youtube.com/watch?v=rgaTLrZGlk0 is also "music" then this feature shouldn't be included?
Good point: https://github.com/FreeTubeApp/FreeTube/issues/1522#issuecomment-881109476
Maybe we should close this PR?
I will close this until we have a way to clearly differentiate music videos (but not videos about music) from others