go-scrobble

command module
v0.0.0-...-580beb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 13 Imported by: 0

README

go-scrobble

An ugly little MPRIS2 scrobbler for last.FM. mpris-scrobbler seemed to rarely work, and my music library naming means tracks with features in the title or artist aren't properly matched. This switches to the currently playing player automatically and strips features (optional). Uses lastfm-go.

The XESAM Ontology was very useful when making this, but the archive i found was super slow. I've put up a simple one here if anyone wants it.

$ go get github.com/hrfee/go-scrobble

$ go-scrobble -help
Usage of go-scrobble:
  -config string
    	Path to config file (default "~/.config/go-scrobble.ini")
  -debug
    	Debug logging.
[api]
; Last.FM API Key and Secret. Generate at https://www.last.fm/api/account/create
key    = 
secret = 

[general]
; How often per second to poll for track position. You can probably leave this alone.
poll-rate      = 1
; Strip features (e.g (feat. X)) from track name and artist before sending to server. This may lead to better matches.
strip-features = true

License

MIT, see LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL