Skip to content

Commit

Permalink
translation: add SendOnlyMatchedHosts
Browse files Browse the repository at this point in the history
fix: remove deprecated BlastAliveMessageIntervalSeconds from config
  • Loading branch information
LPkkjHD committed Jun 22, 2022
1 parent 48cefe6 commit 52fc1e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions frontend/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ""
Expand Down
4 changes: 3 additions & 1 deletion frontend/pages/settings/dlna.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ interface DlnaNamedConfiguration {
EnableServer: boolean;
AliveMessageIntervalSeconds: number;
BlastAliveMessages: boolean;
BlastAliveMessageIntervalSeconds: number;
DefaultUserId: string;
AutoCreatePlayToProfiles: boolean;
SendOnlyMatchedHost: boolean;
Expand All @@ -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;
Expand Down

0 comments on commit 52fc1e8

Please sign in to comment.