Skip to content

Commit

Permalink
perf: migrate video details to db
Browse files Browse the repository at this point in the history
- this also includes rewrite for cache checking parts and other functions making it more efficient
  • Loading branch information
MSOB7YY committed Nov 20, 2024
1 parent 4d1d9ff commit 735d0d1
Show file tree
Hide file tree
Showing 8 changed files with 219 additions and 249 deletions.
6 changes: 4 additions & 2 deletions lib/controller/backup_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ class BackupController {
AppPaths.TRACKS_STATS_OLD,
AppPaths.TRACKS_STATS_DB_INFO.file.path,
AppPaths.TOTAL_LISTEN_TIME,
AppPaths.VIDEOS_CACHE,
AppPaths.VIDEOS_LOCAL,
AppPaths.VIDEOS_CACHE_OLD,
AppPaths.VIDEOS_CACHE_DB_INFO.file.path,
AppPaths.VIDEOS_LOCAL_OLD,
AppPaths.VIDEOS_LOCAL_DB_INFO.file.path,
AppPaths.FAVOURITES_PLAYLIST,
AppPaths.SETTINGS,
AppPaths.SETTINGS_EQUALIZER,
Expand Down
6 changes: 4 additions & 2 deletions lib/controller/settings_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ class _SettingsController with SettingsFileWriter {
AppPaths.TRACKS_STATS_OLD,
AppPaths.TRACKS_STATS_DB_INFO.file.path,
AppPaths.TOTAL_LISTEN_TIME,
AppPaths.VIDEOS_CACHE,
AppPaths.VIDEOS_LOCAL,
AppPaths.VIDEOS_CACHE_OLD,
AppPaths.VIDEOS_CACHE_DB_INFO.file.path,
AppPaths.VIDEOS_LOCAL_OLD,
AppPaths.VIDEOS_LOCAL_DB_INFO.file.path,
AppPaths.SETTINGS,
AppPaths.SETTINGS_EQUALIZER,
AppDirs.PALETTES,
Expand Down
Loading

0 comments on commit 735d0d1

Please sign in to comment.