Add startup banner

This commit is contained in:
Deluan 2020-01-13 18:24:42 -05:00
parent 0673371a71
commit c995766c45
3 changed files with 23 additions and 5 deletions

View file

@ -1,16 +1,12 @@
package main
import (
"fmt"
"github.com/cloudsonic/sonic-server/conf"
)
func main() {
conf.Load()
fmt.Printf("\nCloudSonic Server v%s\n\n", "0.2")
a := CreateApp(conf.Sonic.MusicFolder)
a.MountRouter("/rest/", CreateSubsonicAPIRouter())
a.Run(":" + conf.Sonic.Port)