Add cachePath variable and CLI option

This commit is contained in:
Serge Tkatchouk
2020-03-12 13:27:51 +00:00
committed by sentriz
parent 7c9c3e4ff1
commit 9f61e92487
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -47,6 +47,7 @@ func statusToBlock(code int) string {
type Controller struct {
DB *db.DB
MusicPath string
CachePath string
Scanner *scanner.Scanner
ProxyPrefix string
}