Hash : 285ea86b Author : Date : 2022-05-06T16:44:50
Download
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# frozen_string_literal: true require 'bundler' Bundler.setup :default require 'logger' require 'mpd_client' MPD::Client.log = Logger.new($stderr) client = MPD::Client.new client.connect('localhost', 6600) puts client.currentsong