changing jellyfin url to be loaded via environment variable

This commit is contained in:
Siina Mashek 2024-05-23 03:21:59 +03:00
parent f5e8684985
commit 22578ad686

View File

@ -16,7 +16,7 @@ if [ ! -f "$HOME/.config/jellyfin-rpc/main.json" ]; then
cat > $HOME/.config/jellyfin-rpc/main.json <<EOF cat > $HOME/.config/jellyfin-rpc/main.json <<EOF
{ {
"jellyfin": { "jellyfin": {
"url": "http://192.169.1.2:8096", "url": "$JELLYFIN_URL",
"api_key": "$JELLYFIN_API_KEY", "api_key": "$JELLYFIN_API_KEY",
"username": ["$(whoami)"], "username": ["$(whoami)"],
"music": { "music": {