If it can't find a config file by default, YAMS will create a default config file, log, cache, and session file in $HOME/.config/yams, however it will also accept config files in $HOME/.yams or. Run yams and follow the printed instructions to authenticate with Last.FM Configuration Files ![]() YAMS will use the usual $MPD_HOST and $MPD_PORT environment variables to connect to mpd, if they exist. You might also need to edit the path to the YAMS binary in the unit file if you installed the YAMS binary anywhere other than /usr/bin/yams Setup Note that you should also start mpd as a Systemd service to ensure YAMS actually loads up at the right time. To install, copy it to ~/.config/systemd/user/ and run systemctl -user enable -now yams to enable/start it. This can be used to automate starting/stopping YAMS on startup, for a specific user. NB: (If you can't access the yams script, maybe because pip's script install directory isn't in your $PATH or something, python3 -m yams will also do the trick.) Via SystemdĪ Systemd user service unit file is included in the root of this repository (named rvice). Yams -h will print all the options (also available below). Yams -a will attach to the current running instance's log file, allowing you to watch the daemon's output. Yams -k will kill the current running instance. Yams runs as a daemon by default ( yams -N will run it in the foreground). The script includes a yams script that will be installed by pip. ![]() From SourceĬlone this repo and run pip3 install -e (omit the -e flag if you don't want changes in the repo to be reflected in your local installation). Please see here for instructions if you're new to AUR packages. If you're an Arch Linux user you may use the python-yams package in the AUR to install YAMS locally. Run pip3 install YAMScrobbler (or maybe just pip, depending on your system) Via the AUR Automatic daemonization and config file generation.Preventing accidental duplicate scrobbles on rewind/playback restart/etc.scrobble percentage, real world timing values for scrobbling, etc.). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |