mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
gofmt -l -w .
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user