Save embedded chapters in the database
MiSikora opened this issue · 3 comments
MiSikora commented
Now that we have a table for storing chapters we can save embedded chapters in our database. This has two main benefits:
- Single source of truth for chapters.
- Improved offline handling. Once chapters are stored in the database we can access them without analyzing the media track for things like displaying in other places than player. It would still require for the file to be played at least once but it is an improvement.
Chapters should not be stored if the current chapters count for an episode is greater or equal to what we about to save.
CookieyedCodes commented
Will this also help provide a future for timetags chapters? 🤔🧐 😅
MiSikora commented
No, timestamps are not used as a source of chapters. We're considering it but it is not prioritized at the moment. If we decide to add it, it would be implemented on the server side.
CookieyedCodes commented
Coolio, please consider it :)