seanime
seanime copied to clipboard
bug: 'Continue watching' w/ non-downloaded anime & torrent streaming disabled
Checklist
- [X] My version of the app is the latest available
- [X] I have checked open and closed issues
- [X] I have checked the docs for a fix
Bug Severity
Low
Bug Area
Torrent Streaming
Bug Description / Steps to Reproduce
- Torrent streaming: disabled
- Click
continue watchingon a current anime that is not downloaded The torrent streaming view will open, throwing an error
Expected Behavior
Clicking continue watching for a non-downloaded, current anime, with torrent streaming disabled should just open the default page.
Origin
https://github.com/5rahim/seanime/blob/f6367fb2a4e8b79d26bf58ddaf046f4951b33fe4/seanime-web/src/app/(main)/entry/_containers/anime-entry-page.tsx#L39
Solution
Do not use URL params for Continue watching, instead use a global atom (which will fix the feature on desktop) & fix the if statement.
Screenshots
No response
Logs
N/A
Debugging Checklist
- [ ] I have included error messages
- [ ] I have included terminal output
- [ ] I have included browser console logs
App Version
v2.1.1
Operating System
Windows