Removed LedisDB persistence layer. May reimplement in the future (not likely thou)

This commit is contained in:
Deluan 2020-01-13 16:37:24 -05:00
parent 614f4afe28
commit 536244bc44
20 changed files with 14 additions and 1329 deletions

View file

@ -4,7 +4,6 @@ import (
"fmt"
"github.com/cloudsonic/sonic-server/conf"
"github.com/cloudsonic/sonic-server/persistence"
)
func main() {
@ -12,9 +11,7 @@ func main() {
fmt.Printf("\nCloudSonic Server v%s\n\n", "0.2")
provider := persistence.ProviderIdentifier(conf.Sonic.DevPersistenceProvider)
a := CreateApp(conf.Sonic.MusicFolder, provider)
a.MountRouter("/rest/", CreateSubsonicAPIRouter(provider))
a := CreateApp(conf.Sonic.MusicFolder)
a.MountRouter("/rest/", CreateSubsonicAPIRouter())
a.Run(":" + conf.Sonic.Port)
}