mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add DLNA server name and debug log options to web
This commit is contained in:
@@ -140,6 +140,11 @@ func onBrowseMeta(path string, rootObjectPath string, host, userAgent string) (r
|
||||
|
||||
func getDefaultFriendlyName() string {
|
||||
logger := log.Default.WithNames("dlna")
|
||||
|
||||
if settings.BTsets.FriendlyName != "" {
|
||||
return settings.BTsets.FriendlyName
|
||||
}
|
||||
|
||||
ret := "TorrServer"
|
||||
userName := ""
|
||||
user, err := user.Current()
|
||||
|
||||
@@ -28,7 +28,8 @@ type BTSets struct {
|
||||
EnableDebug bool // print logs
|
||||
|
||||
// DLNA
|
||||
EnableDLNA bool
|
||||
EnableDLNA bool
|
||||
FriendlyName string
|
||||
|
||||
// BT Config
|
||||
EnableIPv6 bool
|
||||
|
||||
Reference in New Issue
Block a user