Skip to content

Commit

Permalink
* (Apollon77) Automatically query of activity/history needs to be ena…
Browse files Browse the repository at this point in the history
…bled manually (if you need it!)
  • Loading branch information
Apollon77 committed Nov 8, 2023
1 parent c09e3ee commit 26248c6
Show file tree
Hide file tree
Showing 16 changed files with 492 additions and 402 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,10 @@ Link: https://www.amazon.de/hz/mycd/digital-console/devicedetails?deviceFamily=A
After deleting unused device please restart the adapter to remove them there too.

## Changelog

### __WORK IN PROGRESS__
* (Apollon77) Automatically query of activity/history needs to be enabled manually (if you need it!)

### 3.25.5 (2023-10-29)
* (Apollon77) Optimize activity detection to process all relevant entries in all cases

Expand Down
4 changes: 3 additions & 1 deletion admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Datenaktualisierungsinterval (Player-Info ...)",
"updateStateInterval_info": "Das allgemeine Datenupdate-Intervall des Geräts definiert, wie oft die Daten von den Amazon-Servern aktualisiert werden sollen. Das Minimum ist 300s oder wird auf 0 gesetzt um das Update zu deaktivieren. Setzen Sie das nicht zu niedrig, weil Amazon Sie sonst blockieren könnte! Wenn die Push-Connection hergestellt ist wird das Update-Intervall auf 60 Minuten gestellt, falls aktiviert.",
"usePushConnection": "Push-Verbindung verwenden",
"userAgent": "Eigener User-Agent"
"userAgent": "Eigener User-Agent",
"autoQueryActivityOnTrigger": "Fragen Sie die Aktivität bei Geräteinteraktion automatisch ab",
"autoQueryActivityOnTrigger_info": "Bitte nur aktivieren, wenn Sie Aktivitätsinformationen wirklich automatisch benötigen!"
}
4 changes: 3 additions & 1 deletion admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Data update interval (player info …)",
"updateStateInterval_info": "The general device data update interval defines how often the data should be updated from the Amazon servers. The minimum is 300s or set to 0 to disable the update. Do not set this too low because else Amazon might block you! When the Push-Connection is established the update interval is set to 60 minutes when enabled.",
"usePushConnection": "Use push connection",
"userAgent": "Custom User-Agent"
"userAgent": "Custom User-Agent",
"autoQueryActivityOnTrigger": "Automatically query activity on device interaction",
"autoQueryActivityOnTrigger_info": "Please only enable if you really need activity information automatically!"
}
4 changes: 3 additions & 1 deletion admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Intervalo de actualización de datos (Player-Info ...)",
"updateStateInterval_info": "El intervalo de actualización de datos del dispositivo general define con qué frecuencia los datos deben actualizarse desde los servidores de Amazon. El mínimo es de 300 o se establece a 0 para desactivar la actualización. No pongas esto demasiado bajo porque si no Amazon podría bloquearte! Cuando el Push-Connection se establece el intervalo de actualización se establece a 60 minutos cuando está habilitado.",
"usePushConnection": "Use la conexión push",
"userAgent": "User-Agent personalizado"
"userAgent": "User-Agent personalizado",
"autoQueryActivityOnTrigger": "Consultar automáticamente la actividad en la interacción del dispositivo",
"autoQueryActivityOnTrigger_info": "¡Habilítelo solo si realmente necesita información de actividad automáticamente!"
}
4 changes: 3 additions & 1 deletion admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Intervalle de mise à jour des données (Player-Info ...)",
"updateStateInterval_info": "L'intervalle général de mise à jour des données de périphérique définit la fréquence de mise à jour des données des serveurs Amazon. Le minimum est de 300 ou de 0 pour désactiver la mise à jour. Ne le mettez pas trop bas parce que d'autres Amazon pourraient vous bloquer! Lorsque le Push-Connection est établi, l'intervalle de mise à jour est fixé à 60 minutes lorsque activé.",
"usePushConnection": "Utiliser la connexion push",
"userAgent": "User-Agent personnalisé"
"userAgent": "User-Agent personnalisé",
"autoQueryActivityOnTrigger": "Interroger automatiquement l'activité sur l'interaction de l'appareil",
"autoQueryActivityOnTrigger_info": "Veuillez l'activer uniquement si vous avez vraiment besoin automatiquement d'informations sur votre activité !"
}
4 changes: 3 additions & 1 deletion admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Intervallo di aggiornamento dei dati (Player-Info ...)",
"updateStateInterval_info": "L'intervallo di aggiornamento dei dati del dispositivo generale definisce quanto spesso i dati dovrebbero essere aggiornati dai server Amazon. Il minimo è di 300 o impostato a 0 per disabilitare l'aggiornamento. Non impostare questo troppo basso perché altrimenti Amazon potrebbe bloccarti! Quando viene stabilita la Push-Connection, l'intervallo di aggiornamento viene impostato a 60 minuti quando abilitato.",
"usePushConnection": "Utilizzare la connessione push",
"userAgent": "User-Agent personalizzato"
"userAgent": "User-Agent personalizzato",
"autoQueryActivityOnTrigger": "Interroga automaticamente l'attività sull'interazione del dispositivo",
"autoQueryActivityOnTrigger_info": "Abilitalo solo se hai veramente bisogno delle informazioni sull'attività automaticamente!"
}
4 changes: 3 additions & 1 deletion admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Gegevensbijwerkingsinterval (Player-Info ...)",
"updateStateInterval_info": "De algemene apparatuur update bepaalt hoe vaak de gegevens moeten worden geüpload van de Amazone servers. Het minimum is 300 of klaar om de update uit te schakelen. Zet dit niet te laag, want anders blokkeert Amazone je. Als de Push-Connectie is vastgesteld dat de update interval is gestart tot 60 minuten wanneer het in staat is.",
"usePushConnection": "Gebruik een push-verbinding",
"userAgent": "Aangepaste User-Agent"
"userAgent": "Aangepaste User-Agent",
"autoQueryActivityOnTrigger": "Automatisch opvragen van activiteit bij apparaatinteractie",
"autoQueryActivityOnTrigger_info": "Schakel dit alleen in als u activiteitsinformatie echt automatisch nodig heeft!"
}
4 changes: 3 additions & 1 deletion admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Interwał aktualizacji danych (Player-Info ...)",
"updateStateInterval_info": "Ogólna aktualizacja danych definiuje, jak często dane powinny być aktualizowane z serwerów Amazon. Minimalna liczba wynosi 300 lub jest ustawiona do 0, aby złagodzić aktualizację. Nie ustalono tego zbyt niskiego, ponieważ inna Amazonka może blokować Ciebie. Po ustanowieniu przez Push-Connection przedziału aktualizacji następuje do 60 minut.",
"usePushConnection": "Użyj połączenia push",
"userAgent": "Niestandardowy User-Agent"
"userAgent": "Niestandardowy User-Agent",
"autoQueryActivityOnTrigger": "Automatycznie sprawdzaj aktywność związaną z interakcją urządzenia",
"autoQueryActivityOnTrigger_info": "Włącz tylko wtedy, gdy naprawdę potrzebujesz automatycznie informacji o aktywności!"
}
4 changes: 3 additions & 1 deletion admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Intervalo de atualização de dados (informações do player ...)",
"updateStateInterval_info": "O intervalo geral de atualização de dados do dispositivo define com que frequência os dados devem ser atualizados a partir dos servidores da Amazon. O mínimo é 300s ou definido para 0 para desativar a atualização. Não coloque isso muito baixo porque a Amazon pode bloquear você! Quando o Push-Connection é estabelecido o intervalo de atualização é definido para 60 minutos quando ativado.",
"usePushConnection": "Use conexão push",
"userAgent": "Custom User-Agent"
"userAgent": "Custom User-Agent",
"autoQueryActivityOnTrigger": "Consultar automaticamente a atividade na interação do dispositivo",
"autoQueryActivityOnTrigger_info": "Ative apenas se você realmente precisar de informações de atividades automaticamente!"
}
4 changes: 3 additions & 1 deletion admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "Интервал обновления данных (информация плеера ...)",
"updateStateInterval_info": "Интервал обновления данных общего устройства определяет, как часто данные должны быть обновлены с серверов Amazon. Минимум 300-х или установлен 0, чтобы отключить обновление. Не устанавливайте это слишком низко, потому что другой Amazon может заблокировать вас! Когда Push-Connection установлен интервал обновления устанавливается до 60 минут при включенном.",
"usePushConnection": "Использовать push-соединение",
"userAgent": "Пользовательский User-Agent"
"userAgent": "Пользовательский User-Agent",
"autoQueryActivityOnTrigger": "Автоматически запрашивать активность при взаимодействии с устройством",
"autoQueryActivityOnTrigger_info": "Пожалуйста, включайте эту функцию только в том случае, если вам действительно нужна автоматическая информация об активности!"
}
4 changes: 3 additions & 1 deletion admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
"updateStateInterval": "数据更新间隔(玩家信息...)",
"updateStateInterval_info": "总的装置数据更新的间隔界定了如何从亚马逊服务器更新数据。 最低限度是300个,或为0.1%的更新。 由于其他亚马逊可能阻碍你! 当Push-Connection成立时,更新的间隔时间为60分钟。.",
"usePushConnection": "使用推送连接",
"userAgent": "自定义用户代理"
"userAgent": "自定义用户代理",
"autoQueryActivityOnTrigger": "自动查询设备交互活动",
"autoQueryActivityOnTrigger_info": "请仅在您确实需要自动获取活动信息时启用!"
}
14 changes: 14 additions & 0 deletions admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
if (settings.resetCookies === undefined) settings.resetCookies = false;
if (settings.historyIgnoreEmptySummary === undefined) settings.historyIgnoreEmptySummary = false;
if (settings.includeAppDevices === undefined) settings.includeAppDevices = false;
if (settings.autoQueryActivityOnTrigger === undefined) settings.autoQueryActivityOnTrigger = false;

for (var key in settings) {
if (!settings.hasOwnProperty(key)) continue;
Expand Down Expand Up @@ -283,6 +284,19 @@
</div>
</div>

<div class="row">
<div class="col s12">
<div class="input-field col s12 m6">
<input id="autoQueryActivityOnTrigger" type="checkbox" class="value" />
<span for="autoQueryActivityOnTrigger" class="translate">autoQueryActivityOnTrigger</span>
</div>
<div class="col s12 m6">
<img src="warning.png" width=60 height=60 align="left">
<span class="translate">autoQueryActivityOnTrigger_info</span>
</div>
</div>
</div>

<div class="row">
<div class="col s12">
<p class="translate title">interval</p>
Expand Down
Loading

0 comments on commit 26248c6

Please sign in to comment.