Skip to content

Commit

Permalink
gofmt -l -w .
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed May 13, 2022
1 parent abdba30 commit e67376f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions server/dlna/dlna.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"github.com/anacrolix/dms/dlna/dms"
"github.com/anacrolix/log"

"server/settings"
"server/web/pages/template"
"server/settings"
"server/web/pages/template"
)

var dmsServer *dms.Server
Expand Down Expand Up @@ -67,21 +67,21 @@ func Start() {
StallEventSubscribe: true,
Icons: []dms.Icon{
dms.Icon{
Width: 48,
Height: 48,
Depth: 24,
Mimetype: "image/png",
Bytes: template.Dlnaicon48png,
Width: 48,
Height: 48,
Depth: 24,
Mimetype: "image/png",
Bytes: template.Dlnaicon48png,
},
dms.Icon{
Width: 120,
Height: 120,
Depth: 24,
Mimetype: "image/png",
Bytes: template.Dlnaicon120png,
Width: 120,
Height: 120,
Depth: 24,
Mimetype: "image/png",
Bytes: template.Dlnaicon120png,
},
},
LogHeaders: settings.BTsets.EnableDebug,
LogHeaders: settings.BTsets.EnableDebug,
NotifyInterval: 30 * time.Second,
AllowedIpNets: func() []*net.IPNet {
var nets []*net.IPNet
Expand Down
6 changes: 3 additions & 3 deletions server/mimetype/mimetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ func init() {
{"audio/opus", ".opus"},
{"audio/weba", ".weba"},
{"audio/x-ape", ".ape"},
// {"audio/x-dsd", ".dsd"},
// {"audio/x-dff", ".dff"},
// {"audio/x-dsf", ".dsf"},
// {"audio/x-dsd", ".dsd"},
// {"audio/x-dff", ".dff"},
// {"audio/x-dsf", ".dsf"},
{"audio/x-wav", ".wav"},
{"video/dv", ".dif,.dv"},
{"video/fli", ".fli"},
Expand Down

0 comments on commit e67376f

Please sign in to comment.