diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-07-20 20:52:13 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-07-20 20:52:13 +0200 |
commit | 1e4613aa1113b373a8d841c28e222599237a33c5 (patch) | |
tree | d307a10051d6e504366e76a71c17cba7deda47ac /cmd/server | |
parent | 64603aa1e13ba82b9393b9eb91b6332237f45821 (diff) | |
download | lens-1e4613aa1113b373a8d841c28e222599237a33c5.tar.gz lens-1e4613aa1113b373a8d841c28e222599237a33c5.tar.bz2 lens-1e4613aa1113b373a8d841c28e222599237a33c5.zip |
feat: Add option to preload metadata
Let the use pick if they want to preload videos' metadata.
Diffstat (limited to 'cmd/server')
-rw-r--r-- | cmd/server/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go index b940145..c7f9019 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -108,7 +108,7 @@ func main() { view.NewAuthView(userController), view.NewFileSystemView(*fileSystemController, settingsRepository), view.NewSettingsView(settingsRepository, userRepository), - view.NewMediaView(mediaRepository, userRepository), + view.NewMediaView(mediaRepository, userRepository, settingsRepository), } { v.SetMyselfIn(extRouter) } |