Skip to content
Snippets Groups Projects
Verified Commit edc3b4af authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(jellyfin): Fix escaping in URL

parent 771ebe3b
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#!/bin/sh #!/bin/sh
while true; do while true; do
if curl "http://localhost:8096/Sessions\?ApiKey\=$JELLYFIN_KEY" | jq '.[].NowPlayingItem != null' | grep 'true'; then if curl "http://localhost:8096/Sessions?ApiKey=$JELLYFIN_KEY" | jq '.[].NowPlayingItem != null' | grep 'true'; then
kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable": 0}}' jellyfin kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable": 0}}' jellyfin
else else
kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable": 1}}' jellyfin kubectl patch poddisruptionbudget --patch '{"spec": {"maxUnavailable": 1}}' jellyfin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment