Skip to content

Commit e322961

Browse files
committed
translation: add SendOnlyMatchedHosts
fix: remove deprecated BlastAliveMessageIntervalSeconds from config
1 parent 4521bef commit e322961

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

frontend/locales/en-US.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@
353353
"text": "[deprecated] Alive message interval",
354354
"description": "MIGRATING - TO BE REMOVED ONCE WEB HAS BEEN ALTERED"
355355
},
356+
"SendOnlyMatchedHost": {
357+
"text": "Send only matched host",
358+
"description": "Only send data if the host matches"
359+
},
356360
"AutoCreatePlayToProfiles": {
357361
"text": "Automatically create PlayTo device profiles",
358362
"description": ""

frontend/pages/settings/dlna.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ interface DlnaNamedConfiguration {
140140
EnableServer: boolean;
141141
AliveMessageIntervalSeconds: number;
142142
BlastAliveMessages: boolean;
143-
BlastAliveMessageIntervalSeconds: number;
144143
DefaultUserId: string;
145144
AutoCreatePlayToProfiles: boolean;
146145
SendOnlyMatchedHost: boolean;
@@ -152,6 +151,9 @@ export default Vue.extend({
152151
await $api.configuration.getNamedConfiguration({ key: 'dlna' })
153152
).data;
154153
154+
// remove deprecated duplicate option
155+
delete dlnaSettings.BlastAliveMessageIntervalSeconds;
156+
155157
const dlnaProfiles = (await $api.dlna.getProfileInfos()).data;
156158
const users = (await $api.user.getUsers()).data;
157159

0 commit comments

Comments
 (0)