Implements library scanning endpoints. Also:
- Bumped Subsonic API version to 1.15: - Better User/Users Subsonic endpoint implementations, not final though
This commit is contained in:
@@ -18,8 +18,9 @@ var allProviders = wire.NewSet(
|
||||
NewMediaRetrievalController,
|
||||
NewStreamController,
|
||||
NewBookmarksController,
|
||||
NewLibraryScanningController,
|
||||
core.NewNowPlayingRepository,
|
||||
wire.FieldsOf(new(*Router), "Artwork", "Streamer", "Archiver", "DataStore", "ExternalInfo"),
|
||||
wire.FieldsOf(new(*Router), "DataStore", "Artwork", "Streamer", "Archiver", "ExternalInfo", "Scanner"),
|
||||
)
|
||||
|
||||
func initSystemController(router *Router) *SystemController {
|
||||
@@ -61,3 +62,7 @@ func initStreamController(router *Router) *StreamController {
|
||||
func initBookmarksController(router *Router) *BookmarksController {
|
||||
panic(wire.Build(allProviders))
|
||||
}
|
||||
|
||||
func initLibraryScanningController(router *Router) *LibraryScanningController {
|
||||
panic(wire.Build(allProviders))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user