Closed HellBoyJr closed 1 month ago
Seems like your config YAML might be malformed.
Config yaml:
jellyfin:
server_url: !ENV ${JELLYFIN_SERVER_URL: http://localhost:8096} api_key: !ENV ${JELLYFIN_API_KEY: c38ea04f0f914c488a*} # Create an API key by going to: Admin>Dashboard>Advanced>API Keys user_id: !ENV ${JELLYFIN_USER_ID: 3406f49c344c4***}
Config yaml:
jellyfin:
server_url: !ENV ${JELLYFIN_SERVER_URL: http://localhost:8096} api_key: !ENV ${JELLYFIN_API_KEY: c38ea04f0f914c488a*} # Create an API key by going to: Admin>Dashboard>Advanced>API Keys user_id: !ENV ${JELLYFIN_USER_ID: 3406f49c344c4***}
Hard to tell but looks like there's an extra closing }
on some of those lines.
It seems normal https://paste.ofcode.org/9MmFxaWRJiZPPx7dMs8MjT
It seems normal https://paste.ofcode.org/9MmFxaWRJiZPPx7dMs8MjT
Figured it out: You need to remove the spaces after the colons: e.g.
server_url: !ENV ${JELLYFIN_SERVER_URL:http://localhost:8096}
api_key: !ENV ${JELLYFIN_API_KEY:c38ea04f0f914c488a*****************} # Create an API key by going to: Admin>Dashboard>Advanced>API Keys
user_id: !ENV ${JELLYFIN_USER_ID:3406f49c344c4***********************}
My bad - I've updated the config example to reflect this.
Worked perfectly. Thanks again.
No problem - Thanks for raising the issue.
Hi, I'm a Windows user. It's giving this error:
I'm using this script via .bat:
Any suggestions on how it works? Thanks in advance.