From c40eaf21fb70d89efdf1d8be2d9b06cc476e6219 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sat, 2 Dec 2023 14:32:24 +1100 Subject: [PATCH] Fix overcast scrobbling --- Rakefile | 2 +- config/settings.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 2a0bcb0..86f170f 100644 --- a/Rakefile +++ b/Rakefile @@ -33,7 +33,7 @@ namespace :blog do task scrobble_podcasts: ["blog:load_environment"] do require "hanami/prepare" - command = Adamantium::OvercastScrobbler.new(username: "daniel@dnitza.com", password: "impacted-mingle.buckeye4incise") + command = Adamantium::OvercastScrobbler.new(username: Hanami.app.settings.overcast_username, password: Hanami.app.settings.overcast_password) command.() end diff --git a/config/settings.rb b/config/settings.rb index a87adb4..eb99d23 100644 --- a/config/settings.rb +++ b/config/settings.rb @@ -55,6 +55,9 @@ module Adamantium setting :microblog_auth_endpoint, default: nil + setting :overcast_username, default: nil + setting :overcast_password, default: nil + setting :mastodon_token, default: nil setting :mastodon_server, default: nil