From 5711544692e959aa9044e81b959cbb604663586c Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Sun, 28 Dec 2025 17:38:20 -0500 Subject: [PATCH] use file config --- templates/scrobbling.json.j2 | 16 ---------------- templates/scrobbling/lastfm.json.j2 | 12 ++++++++++++ 2 files changed, 12 insertions(+), 16 deletions(-) delete mode 100644 templates/scrobbling.json.j2 create mode 100644 templates/scrobbling/lastfm.json.j2 diff --git a/templates/scrobbling.json.j2 b/templates/scrobbling.json.j2 deleted file mode 100644 index 35346a0..0000000 --- a/templates/scrobbling.json.j2 +++ /dev/null @@ -1,16 +0,0 @@ -{ - "sources": [ - [ - { - "name": "lastFm", - "enable": true, - "configureAs": "source", - "data": { - "apiKey": "{{ SCROBBLER_LASTFM_TOKEN }}", - "secret": "{{ SCROBBLER_LASTFM_SECRET }}", - "redirectUri": "https://scrobbler.fntz.net/lastfm/callback" - } - } - ] - ] -} \ No newline at end of file diff --git a/templates/scrobbling/lastfm.json.j2 b/templates/scrobbling/lastfm.json.j2 new file mode 100644 index 0000000..e3fd48d --- /dev/null +++ b/templates/scrobbling/lastfm.json.j2 @@ -0,0 +1,12 @@ +[ + { + "name": "lastFm", + "enable": true, + "configureAs": "source", + "data": { + "apiKey": "{{ SCROBBLER_LASTFM_TOKEN }}", + "secret": "{{ SCROBBLER_LASTFM_SECRET }}", + "redirectUri": "https://scrobbler.fntz.net/lastfm/callback" + } + } +] \ No newline at end of file