diff --git a/frontend/locales/en-US.json b/frontend/locales/en-US.json index 59d64766725..6ac7555f8a8 100644 --- a/frontend/locales/en-US.json +++ b/frontend/locales/en-US.json @@ -362,6 +362,10 @@ "text": "[deprecated] Alive message interval", "description": "MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED" }, + "SendOnlyMatchedHost": { + "text": "Send only matched host", + "description": "Only send data if the host matches" + }, "AutoCreatePlayToProfiles": { "text": "Automatically create PlayTo device profiles", "description": "" diff --git a/frontend/pages/settings/dlna.vue b/frontend/pages/settings/dlna.vue index 22784ace9e6..c2bcc18dc73 100644 --- a/frontend/pages/settings/dlna.vue +++ b/frontend/pages/settings/dlna.vue @@ -140,7 +140,6 @@ interface DlnaNamedConfiguration { EnableServer: boolean; AliveMessageIntervalSeconds: number; BlastAliveMessages: boolean; - BlastAliveMessageIntervalSeconds: number; DefaultUserId: string; AutoCreatePlayToProfiles: boolean; SendOnlyMatchedHost: boolean; @@ -152,6 +151,9 @@ export default Vue.extend({ await $api.configuration.getNamedConfiguration({ key: 'dlna' }) ).data; + // remove deprecated duplicate option + delete dlnaSettings.BlastAliveMessageIntervalSeconds; + const dlnaProfiles = (await $api.dlna.getProfileInfos()).data; const users = (await $api.user.getUsers()).data;