mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
feat: Make DLNA port configurable (#4836)
--------- Signed-off-by: Ivan Pedrazas <ipedrazas@gmail.com> Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -576,6 +576,10 @@ func (r *mutationResolver) ConfigureDlna(ctx context.Context, input ConfigDLNAIn
|
||||
c.Set(config.DLNAVideoSortOrder, input.VideoSortOrder)
|
||||
}
|
||||
|
||||
if input.Port != nil {
|
||||
c.Set(config.DLNAPort, *input.Port)
|
||||
}
|
||||
|
||||
refresh := false
|
||||
if input.Enabled != nil {
|
||||
c.Set(config.DLNADefaultEnabled, *input.Enabled)
|
||||
|
||||
Reference in New Issue
Block a user