Crates.io | mpdheart |
lib.rs | mpdheart |
version | 0.1.0 |
source | src |
created_at | 2024-03-22 07:50:09.763447 |
updated_at | 2024-03-22 07:50:09.763447 |
description | spread love around your library ♡ |
homepage | |
repository | https://github.com/fawni/mpdheart |
max_upload_size | |
id | 1182361 |
size | 57,237 |
spread love around your library ♡
cargo install mpdheart
to love the currently playing track:
mpdheart
to unlove:
mpdheart -u
as simple as that!
mpdheart can be configured by editing the configuration file at ~/.config/mpdheart/config.toml
or $XDG_CONFIG_HOME/mpdheart/config.toml
if the config is not found, it will attempt to write an empty config in that path, you need to at least edit the last.fm username and password to be able to un/love tracks
after the first successful run, the config will be lossly rewritten to add the last.fm session key, this means any comments will be lost. this only happens once
[mpd] # optional, uses default mpd values if not specified
host = "0.0.0.0"
port = 6600
[lastfm] # after the first run, there will be an additional generated key `session_key`
username = "nya" # required
password = "awa" # required
can also be found at config/example.toml