Authenticate Subsonic API calls using the DB
This commit is contained in:
@@ -9,15 +9,12 @@ import (
|
||||
|
||||
type sonic struct {
|
||||
Port string `default:"4533"`
|
||||
MusicFolder string `default:"./iTunes1.xml"`
|
||||
MusicFolder string `default:"./music"`
|
||||
DbPath string `default:"./data/cloudsonic.db"`
|
||||
|
||||
IgnoredArticles string `default:"The El La Los Las Le Les Os As O A"`
|
||||
IndexGroups string `default:"A B C D E F G H I J K L M N O P Q R S T U V W X-Z(XYZ) [Unknown]([)"`
|
||||
|
||||
User string `default:"admin"`
|
||||
Password string `default:"admin"`
|
||||
|
||||
DisableDownsampling bool `default:"false"`
|
||||
DownsampleCommand string `default:"ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -"`
|
||||
ProbeCommand string `default:"ffprobe -v quiet -print_format json -show_format %s"`
|
||||
|
||||
Reference in New Issue
Block a user