mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-27 12:29:50 +01:00
Rename project to Navidrome
This commit is contained in:
parent
aaefc6bfc7
commit
bee55c04c8
93 changed files with 210 additions and 203 deletions
|
|
@ -6,16 +6,16 @@ import (
|
|||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/cloudsonic/sonic-server/conf"
|
||||
"github.com/cloudsonic/sonic-server/log"
|
||||
"github.com/cloudsonic/sonic-server/model"
|
||||
"github.com/cloudsonic/sonic-server/scanner"
|
||||
"github.com/deluan/navidrome/conf"
|
||||
"github.com/deluan/navidrome/log"
|
||||
"github.com/deluan/navidrome/model"
|
||||
"github.com/deluan/navidrome/scanner"
|
||||
"github.com/go-chi/chi"
|
||||
"github.com/go-chi/chi/middleware"
|
||||
"github.com/go-chi/cors"
|
||||
)
|
||||
|
||||
const Version = "0.2"
|
||||
const Version = "0.2.0"
|
||||
|
||||
type Server struct {
|
||||
Scanner *scanner.Scanner
|
||||
|
|
@ -41,7 +41,7 @@ func (a *Server) MountRouter(path string, subRouter http.Handler) {
|
|||
}
|
||||
|
||||
func (a *Server) Run(addr string) {
|
||||
log.Info("CloudSonic server is accepting requests", "address", addr)
|
||||
log.Info("Navidrome server is accepting requests", "address", addr)
|
||||
log.Error(http.ListenAndServe(addr, a.router))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue