Fix overcast scrobbling

This commit is contained in:
2023-12-02 14:32:24 +11:00
parent 731529ddb5
commit c40eaf21fb
2 changed files with 4 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ namespace :blog do
task scrobble_podcasts: ["blog:load_environment"] do task scrobble_podcasts: ["blog:load_environment"] do
require "hanami/prepare" 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.() command.()
end end

View File

@@ -55,6 +55,9 @@ module Adamantium
setting :microblog_auth_endpoint, default: nil setting :microblog_auth_endpoint, default: nil
setting :overcast_username, default: nil
setting :overcast_password, default: nil
setting :mastodon_token, default: nil setting :mastodon_token, default: nil
setting :mastodon_server, default: nil setting :mastodon_server, default: nil