Version bump pyforked daapd and add error string for forbidden (#42156)

This commit is contained in:
uvjustin 2020-10-22 15:57:40 +08:00 committed by GitHub
parent e54f4aa9ed
commit 1c58a0fedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 3 deletions

View File

@ -31,6 +31,7 @@ DATA_SCHEMA_DICT = {
} }
TEST_CONNECTION_ERROR_DICT = { TEST_CONNECTION_ERROR_DICT = {
"forbidden": "forbidden",
"ok": "ok", "ok": "ok",
"websocket_not_enabled": "websocket_not_enabled", "websocket_not_enabled": "websocket_not_enabled",
"wrong_host_or_port": "wrong_host_or_port", "wrong_host_or_port": "wrong_host_or_port",

View File

@ -3,7 +3,7 @@
"name": "forked-daapd", "name": "forked-daapd",
"documentation": "https://www.home-assistant.io/integrations/forked-daapd", "documentation": "https://www.home-assistant.io/integrations/forked-daapd",
"codeowners": ["@uvjustin"], "codeowners": ["@uvjustin"],
"requirements": ["pyforked-daapd==0.1.10", "pylibrespot-java==0.1.0"], "requirements": ["pyforked-daapd==0.1.11", "pylibrespot-java==0.1.0"],
"config_flow": true, "config_flow": true,
"zeroconf": ["_daap._tcp.local."] "zeroconf": ["_daap._tcp.local."]
} }

View File

@ -13,6 +13,7 @@
} }
}, },
"error": { "error": {
"forbidden": "Unable to connect. Please check your forked-daapd network permissions.",
"websocket_not_enabled": "forked-daapd server websocket not enabled.", "websocket_not_enabled": "forked-daapd server websocket not enabled.",
"wrong_host_or_port": "Unable to connect. Please check host and port.", "wrong_host_or_port": "Unable to connect. Please check host and port.",
"wrong_password": "Incorrect password.", "wrong_password": "Incorrect password.",

View File

@ -1384,7 +1384,7 @@ pyflunearyou==1.0.7
pyfnip==0.2 pyfnip==0.2
# homeassistant.components.forked_daapd # homeassistant.components.forked_daapd
pyforked-daapd==0.1.10 pyforked-daapd==0.1.11
# homeassistant.components.fritzbox # homeassistant.components.fritzbox
pyfritzhome==0.4.2 pyfritzhome==0.4.2

View File

@ -672,7 +672,7 @@ pyflume==0.5.5
pyflunearyou==1.0.7 pyflunearyou==1.0.7
# homeassistant.components.forked_daapd # homeassistant.components.forked_daapd
pyforked-daapd==0.1.10 pyforked-daapd==0.1.11
# homeassistant.components.fritzbox # homeassistant.components.fritzbox
pyfritzhome==0.4.2 pyfritzhome==0.4.2