mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Using checksums to detect modified stats in the iTunes Library
This commit is contained in:
parent
bb5d4c920d
commit
12aedc0996
3 changed files with 103 additions and 9 deletions
|
@ -28,9 +28,11 @@ func init() {
|
|||
utils.DefineSingleton(new(engine.Playlists), engine.NewPlaylists)
|
||||
utils.DefineSingleton(new(engine.Search), engine.NewSearch)
|
||||
|
||||
utils.DefineSingleton(new(scanner.CheckSumRepository), persistence.NewCheckSumRepository)
|
||||
utils.DefineSingleton(new(scanner.Scanner), scanner.NewItunesScanner)
|
||||
|
||||
// Other dependencies
|
||||
utils.DefineSingleton(new(itunesbridge.ItunesControl), itunesbridge.NewItunesControl)
|
||||
utils.DefineSingleton(new(scanner.Scanner), scanner.NewItunesScanner)
|
||||
utils.DefineSingleton(new(gomate.DB), func() gomate.DB {
|
||||
return gomate.NewLedisEmbeddedDB(persistence.Db())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue