iobroker.emby 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,18 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: npm
4
+ directory: "/"
5
+ schedule:
6
+ interval: monthly
7
+ time: "04:00"
8
+ timezone: Europe/Berlin
9
+ open-pull-requests-limit: 15
10
+ versioning-strategy: increase
11
+
12
+ - package-ecosystem: github-actions
13
+ directory: "/"
14
+ schedule:
15
+ interval: monthly
16
+ time: "04:00"
17
+ timezone: Europe/Berlin
18
+ open-pull-requests-limit: 15
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
16
  - name: Checkout code
17
- uses: actions/checkout@v3
17
+ uses: actions/checkout@v4
18
18
 
19
19
  - name: Check if PR should be auto-merged
20
20
  uses: ahmadnassri/action-dependabot-auto-merge@v2
@@ -28,7 +28,7 @@ jobs:
28
28
  steps:
29
29
  - uses: ioBroker/testing-action-check@v1
30
30
  with:
31
- node-version: '18.x'
31
+ node-version: '20.x'
32
32
  # Uncomment the following line if your adapter cannot be installed using 'npm ci'
33
33
  # install-command: 'npm install'
34
34
  lint: true
@@ -40,7 +40,7 @@ jobs:
40
40
  runs-on: ${{ matrix.os }}
41
41
  strategy:
42
42
  matrix:
43
- node-version: [16.x, 18.x, 20.x]
43
+ node-version: [18.x, 20.x]
44
44
  os: [ubuntu-latest, windows-latest, macos-latest]
45
45
 
46
46
  steps:
@@ -74,7 +74,7 @@ jobs:
74
74
  steps:
75
75
  - uses: ioBroker/testing-action-deploy@v1
76
76
  with:
77
- node-version: '18.x'
77
+ node-version: '20.x'
78
78
  # Uncomment the following line if your adapter cannot be installed using 'npm ci'
79
79
  # install-command: 'npm install'
80
80
  npm-token: ${{ secrets.NPM_TOKEN }}
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 iobroker-community-adapters
3
+ Copyright (c) 2023-2024 iobroker-community-adapters<iobroker-community-adapters@gmx.de>
4
4
  Copyright (c) 2020-2023 thewhobox
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/README.md CHANGED
@@ -95,6 +95,14 @@ Please follow the Steps to ensure the Adapter will work correctly and you can se
95
95
  Placeholder for the next version (at the beginning of the line):
96
96
  ### **WORK IN PROGRESS**
97
97
  -->
98
+ ### 1.2.0 (2024-04-14)
99
+
100
+ * (mcm1957) Adapter requires node.js 18 and js-controller >= 5 now
101
+ * (mcm1957) Dependencies have been updated
102
+
103
+ ### 1.1.1 (2023-11-20)
104
+ - (mcm1957) Dependencies have been updated.
105
+
98
106
  ### 1.1.0 (2023-11-20)
99
107
  - (mcm1957) Adapter requires nodejs 16 now.
100
108
  - (mcm1957) Adapter has been moved into iobroker-community-adapters oragnization.
@@ -136,7 +144,7 @@ Please follow the Steps to ensure the Adapter will work correctly and you can se
136
144
 
137
145
  MIT License
138
146
 
139
- Copyright (c) 2023 iobroker-community-adapters
147
+ Copyright (c) 2023-2024 iobroker-community-adapters <iobroker-community-adapters@gmx.de>
140
148
  Copyright (c) 2020-2023 thewhobox
141
149
 
142
150
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "API Key",
3
+ "DeviceIds": "Geräte Ids die ignoriert werden sollen (Mit Komma getrennt)",
4
+ "IP": "IP/ Domain des Emby Servers (mit Port)",
5
+ "Timeout": "Verzögerung für Pause/Leerlauf",
6
+ "TimeoutDesc": "Nötig wenn mehrere Folgen hintereinander gespielt werden.",
7
+ "isSSL": "Verbindung benötigt SSL",
8
+ "on save": "Beim Speichern von Einstellungen der Adapter wird sofort neu gestartet."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "API Key",
3
+ "DeviceIds": "Device Ids to be ignored (comma seperated)",
4
+ "IP": "IP/Domain of the Emby server (with port)",
5
+ "Timeout": "Delay for pause/idle",
6
+ "TimeoutDesc": "Necessary when you watch more episodes in one row.",
7
+ "isSSL": "Connection requires SSL",
8
+ "on save": "When saving settings of the adapters will be restarted immediately."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "Clave API",
3
+ "DeviceIds": "ID de dispositivos que se ignorarán (separados por comas)",
4
+ "IP": "IP/Dominio del servidor Emby (con puerto)",
5
+ "Timeout": "Retraso para pausa/inactivo",
6
+ "TimeoutDesc": "Necesario cuando miras más episodios seguidos.",
7
+ "isSSL": "La conexión requiere SSL",
8
+ "on save": "Al guardar la configuración de los adaptadores se reiniciará inmediatamente."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "clé API",
3
+ "DeviceIds": "ID de périphérique à ignorer (séparés par des virgules)",
4
+ "IP": "IP/Domaine du serveur Emby (avec port)",
5
+ "Timeout": "Délai pour pause/inactivité",
6
+ "TimeoutDesc": "Nécessaire lorsque vous regardez plusieurs épisodes d’affilée.",
7
+ "isSSL": "La connexion nécessite SSL",
8
+ "on save": "Lors de l'enregistrement, les paramètres des adaptateurs seront redémarrés immédiatement."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "Chiave API",
3
+ "DeviceIds": "ID dispositivo da ignorare (separati da virgole)",
4
+ "IP": "IP/Dominio del server Emby (con porta)",
5
+ "Timeout": "Ritardo per pausa/inattività",
6
+ "TimeoutDesc": "Necessario quando guardi più episodi di seguito.",
7
+ "isSSL": "La connessione richiede SSL",
8
+ "on save": "Quando si salvano le impostazioni degli adattatori verranno riavviati immediatamente."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "API sleutel",
3
+ "DeviceIds": "Apparaat-ID's die moeten worden genegeerd (door komma's gescheiden)",
4
+ "IP": "IP/domein van de Emby-server (met poort)",
5
+ "Timeout": "Vertraging voor pauze/inactief",
6
+ "TimeoutDesc": "Noodzakelijk als je meerdere afleveringen achter elkaar bekijkt.",
7
+ "isSSL": "Verbinding vereist SSL",
8
+ "on save": "Bij het opslaan van de instellingen worden de adapters direct opnieuw opgestart."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "Klucz API",
3
+ "DeviceIds": "Identyfikatory urządzeń, które należy zignorować (oddzielone przecinkami)",
4
+ "IP": "IP/domena serwera Emby (z portem)",
5
+ "Timeout": "Opóźnienie pauzy/bezczynności",
6
+ "TimeoutDesc": "Niezbędne, gdy oglądasz więcej odcinków w jednym rzędzie.",
7
+ "isSSL": "Połączenie wymaga protokołu SSL",
8
+ "on save": "Podczas zapisywania ustawień adaptery zostaną natychmiast uruchomione ponownie."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "Chave API",
3
+ "DeviceIds": "IDs de dispositivos a serem ignorados (separados por vírgulas)",
4
+ "IP": "IP/Domínio do servidor Emby (com porta)",
5
+ "Timeout": "Atraso para pausa/inatividade",
6
+ "TimeoutDesc": "Necessário quando você assiste mais episódios seguidos.",
7
+ "isSSL": "A conexão requer SSL",
8
+ "on save": "Ao salvar as configurações dos adaptadores serão reiniciados imediatamente."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "Ключ API",
3
+ "DeviceIds": "Идентификаторы устройств, которые следует игнорировать (через запятую)",
4
+ "IP": "IP / Домен сервера Emby (с портом)",
5
+ "Timeout": "Задержка для паузы/холостого хода",
6
+ "TimeoutDesc": "Необходим при просмотре нескольких серий подряд.",
7
+ "isSSL": "Для подключения требуется SSL",
8
+ "on save": "При сохранении настроек адаптеры будут перезагружены сразу."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "Ключ API",
3
+ "DeviceIds": "Ідентифікатори пристроїв, які слід ігнорувати (розділені комами)",
4
+ "IP": "IP/домен сервера Emby (з портом)",
5
+ "Timeout": "Затримка для паузи/неактивності",
6
+ "TimeoutDesc": "Необхідно, коли ви переглядаєте кілька серій в одному рядку.",
7
+ "isSSL": "Для підключення потрібен SSL",
8
+ "on save": "При збереженні налаштувань адаптери будуть негайно перезавантажені."
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "ApiKey": "API密钥",
3
+ "DeviceIds": "要忽略的设备 ID(逗号分隔)",
4
+ "IP": "Emby 服务器的 IP/域名(带端口)",
5
+ "Timeout": "暂停/空闲延迟",
6
+ "TimeoutDesc": "当您连续观看更多剧集时,这是必要的。",
7
+ "isSSL": "连接需要 SSL",
8
+ "on save": "保存适配器的设置后将立即重新启动。"
9
+ }
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "emby",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "news": {
6
+ "1.2.0": {
7
+ "en": "Adapter requires node.js 18 and js-controller >= 5 now\nDependencies have been updated",
8
+ "de": "Adapter benötigt node.js 18 und js-controller >= 5 jetzt\nAbhängigkeiten wurden aktualisiert",
9
+ "ru": "Адаптер требует node.js 18 и js-controller >= 5 сейчас\nЗависимость обновлена",
10
+ "pt": "Adapter requer node.js 18 e js-controller >= 5 agora\nAs dependências foram atualizadas",
11
+ "nl": "Adapter vereist node.js 18 en js-controller Nu 5\nAfhankelijkheden zijn bijgewerkt",
12
+ "fr": "Adaptateur nécessite node.js 18 et js-controller >= 5 maintenant\nLes dépendances ont été actualisées",
13
+ "it": "Adattatore richiede node.js 18 e js-controller >= 5 ora\nLe dipendenze sono state aggiornate",
14
+ "es": "Adaptador requiere node.js 18 y js-controller √= 5 ahora\nSe han actualizado las dependencias",
15
+ "pl": "Adapter wymaga node.js 18 i sterownika js- > = 5 teraz\nZaktualizowano zależności",
16
+ "uk": "Адаптер вимагає node.js 18 і js-controller >= 5 тепер\nЗалежність було оновлено",
17
+ "zh-cn": "适配器需要节点.js 18和js控制器 QQ 现在5号\n依赖关系已更新"
18
+ },
19
+ "1.1.1": {
20
+ "en": "Dependencies have been updated.",
21
+ "de": "Abhängigkeiten wurden aktualisiert.",
22
+ "ru": "Обновлены зависимости.",
23
+ "pt": "As dependências foram atualizadas.",
24
+ "nl": "Afhankelijkheid is geüpdateerd.",
25
+ "fr": "Les dépendances ont été mises à jour.",
26
+ "it": "Le dipendenze sono state aggiornate.",
27
+ "es": "Se han actualizado las dependencias.",
28
+ "pl": "W zależności zostały zaktualizowane.",
29
+ "uk": "Оновлено залежність.",
30
+ "zh-cn": "情况已经更新。."
31
+ },
6
32
  "1.1.0": {
7
33
  "en": "Adapter requires nodejs 16 now.\nAdapter has been moved into iobroker-community-adapters organization.\nAn error causing multiple 'undefined' messages has been fixed. [#23]\nDependencies have been updated.",
8
34
  "de": "Adapter benötigt jetzt Nodejs 16.\nAdapter wurde in die Iobroker-Community-Adapter Organization verschoben.\nEin Fehler, der mehrere 'undefined' Nachrichten verursachte, wurde behoben. [#23]\nAbhängigkeiten wurden aktualisiert.",
@@ -31,23 +57,42 @@
31
57
  },
32
58
  "1.0.3": {
33
59
  "en": "Added more info for playing item",
34
- "de": "Mehr infos über das abgespielte Item hinzugefügt"
60
+ "de": "Mehr infos über das abgespielte Item hinzugefügt",
61
+ "ru": "Добавлена ​​дополнительная информация об игровом предмете.",
62
+ "pt": "Adicionadas mais informações para o item de jogo",
63
+ "nl": "Meer informatie toegevoegd voor het speelitem",
64
+ "fr": "Ajout de plus d'informations pour jouer à l'élément",
65
+ "it": "Aggiunte ulteriori informazioni per l'oggetto da riprodurre",
66
+ "es": "Se agregó más información para jugar al elemento.",
67
+ "pl": "Dodano więcej informacji o odtwarzanym przedmiocie",
68
+ "uk": "Додано більше інформації про відтворюваний предмет",
69
+ "zh-cn": "添加了有关播放项目的更多信息"
35
70
  },
36
71
  "1.0.2": {
37
72
  "en": "Published to stable",
38
- "de": "In Stable veröffentlicht"
73
+ "de": "In Stable veröffentlicht",
74
+ "ru": "Опубликовано в стабильной версии",
75
+ "pt": "Publicado no estável",
76
+ "nl": "Gepubliceerd naar stabiel",
77
+ "fr": "Publié dans stable",
78
+ "it": "Pubblicato su stable",
79
+ "es": "Publicado en estable",
80
+ "pl": "Opublikowano w wersji stabilnej",
81
+ "uk": "Опубліковано в стабільному",
82
+ "zh-cn": "发布到稳定版"
39
83
  },
40
84
  "1.0.1": {
41
85
  "en": "Fixed bug for states",
42
- "de": "Fehler für die States behoben"
43
- },
44
- "1.0.0": {
45
- "en": "Added more commands",
46
- "de": "Mehr Kommandos hinzugefügt"
47
- },
48
- "0.1.2": {
49
- "en": "Added more commands",
50
- "de": "Mehr Kommandos hinzugefügt"
86
+ "de": "Fehler für die States behoben",
87
+ "ru": "Исправлена ​​ошибка для состояний",
88
+ "pt": "Bug corrigido para estados",
89
+ "nl": "Bug voor staten opgelost",
90
+ "fr": "Correction d'un bug pour les états",
91
+ "it": "Risolto bug per gli stati",
92
+ "es": "Error solucionado para estados.",
93
+ "pl": "Naprawiono błąd dla stanów",
94
+ "uk": "Виправлена ​​помилка для штатів",
95
+ "zh-cn": "修复了州的错误"
51
96
  }
52
97
  },
53
98
  "titleLang": {
@@ -86,29 +131,32 @@
86
131
  "media",
87
132
  "video"
88
133
  ],
89
- "license": "MIT",
134
+ "licenseInformation": {
135
+ "license": "MIT",
136
+ "type": "free"
137
+ },
90
138
  "platform": "Javascript/Node.js",
91
- "main": "main.js",
92
139
  "icon": "emby.png",
93
140
  "enabled": false,
94
141
  "extIcon": "https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.emby/master/admin/emby.png",
95
142
  "readme": "https://github.com/iobroker-community-adapters/ioBroker.emby/blob/master/README.md",
96
143
  "loglevel": "info",
144
+ "tier": 2,
97
145
  "mode": "daemon",
98
146
  "type": "multimedia",
99
147
  "compact": true,
100
148
  "connectionType": "local",
101
- "dataSource": "pull",
149
+ "dataSource": "poll",
102
150
  "materialize": true,
103
151
  "messagebox": false,
104
152
  "dependencies": [
105
153
  {
106
- "js-controller": ">=4.0.24"
154
+ "js-controller": ">=5.0.19"
107
155
  }
108
156
  ],
109
157
  "globalDependencies": [
110
158
  {
111
- "admin": ">=5.1.13"
159
+ "admin": ">=6.13.16"
112
160
  }
113
161
  ]
114
162
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.emby",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Emby",
5
5
  "author": {
6
6
  "name": "thewhobox",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  {
15
15
  "name": "iobroker-community-adapters",
16
- "email": "mcm57@gmx.at"
16
+ "email": "iobroker-community-adapters@gmx.de"
17
17
  }
18
18
  ],
19
19
  "homepage": "https://github.com/iobroker-community-adapters/ioBroker.emby",
@@ -29,39 +29,39 @@
29
29
  "url": "https://github.com/iobroker-community-adapters/ioBroker.emby"
30
30
  },
31
31
  "engines": {
32
- "node": ">= 16"
32
+ "node": ">= 18"
33
33
  },
34
34
  "dependencies": {
35
35
  "request": "^2.88.0",
36
36
  "websocket": "^1.0.23",
37
- "@iobroker/adapter-core": "^1.0.3"
37
+ "@iobroker/adapter-core": "^3.0.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@alcalzone/release-script": "^3.6.0",
41
- "@alcalzone/release-script-plugin-iobroker": "^3.6.0",
42
- "@alcalzone/release-script-plugin-license": "^3.5.9",
43
- "@alcalzone/release-script-plugin-manual-review": "^3.5.9",
44
- "@iobroker/adapter-dev": "^1.2.0",
45
- "@iobroker/testing": "^4.1.0",
46
- "@tsconfig/node14": "^14.1.0",
47
- "@types/chai": "^4.3.8",
40
+ "@alcalzone/release-script": "^3.7.0",
41
+ "@alcalzone/release-script-plugin-iobroker": "^3.7.0",
42
+ "@alcalzone/release-script-plugin-license": "^3.7.0",
43
+ "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
44
+ "@iobroker/adapter-dev": "^1.3.0",
45
+ "@iobroker/testing": "^4.1.1",
46
+ "@tsconfig/node14": "^14.1.2",
47
+ "@types/chai": "^4.3.11",
48
48
  "@types/chai-as-promised": "^7.1.6",
49
- "@types/mocha": "^10.0.2",
50
- "@types/node": "^20.8.6",
49
+ "@types/mocha": "^10.0.6",
50
+ "@types/node": "^20.12.7",
51
51
  "@types/proxyquire": "^1.3.29",
52
- "@types/sinon": "^10.0.16",
52
+ "@types/sinon": "^17.0.3",
53
53
  "@types/sinon-chai": "^3.2.10",
54
- "chai": "^4.3.10",
54
+ "chai": "^4.4.1",
55
55
  "chai-as-promised": "^7.1.1",
56
- "eslint": "^8.51.0",
57
- "eslint-config-prettier": "^8.9.0",
58
- "eslint-plugin-prettier": "^4.2.1",
59
- "mocha": "^10.2.0",
60
- "prettier": "^3.0.3",
56
+ "eslint": "^8.57.0",
57
+ "eslint-config-prettier": "^9.1.0",
58
+ "eslint-plugin-prettier": "^5.1.3",
59
+ "mocha": "^10.4.0",
60
+ "prettier": "^3.2.5",
61
61
  "proxyquire": "^2.1.3",
62
- "sinon": "^15.2.0",
62
+ "sinon": "^17.0.1",
63
63
  "sinon-chai": "^3.7.0",
64
- "typescript": "~5.2.2"
64
+ "typescript": "~5.4.5"
65
65
  },
66
66
  "main": "main.js",
67
67
  "scripts": {