Browse Source

added some comments

master
laincel 3 months ago
parent
commit
98e0ba1eff
  1. 6
      scrobbler.rb

6
scrobbler.rb

@ -2,9 +2,9 @@ require 'httparty'
require 'http'
require 'http/request'
require 'ruby-mpd'
$instance_url = ""
$bearer_token = ""
$id = ""
$instance_url = "" # add your instance here. example: https://freecumextremist.com
$bearer_token = "" # add bearer token here. you may need to generate one. I suggest using https://github.com/animeavi/fedi_ebooks/blob/master/auth_helper.rb to do this
$id = "" # set to what your username is. example: lain
def currently_playing
mpd = MPD.new
mpd.connect

Loading…
Cancel
Save