What is the downside? These settings cause everything (if necessary) to be resampled to this format, such as material from DVD or TV which usually is at 48 KHz. Also, some get clicking sounds if at least mpd.conf is not changed this way. Why these formats? Because they are the standard format for CD audio, because ALSA on its own allows more than one program "to sound" only with dmix - which uses an inferior resampling algorithm by default - and because dmix by default resamples anything lower to 48 KHz (or whatever higher format is playing at the time). Add the line below to your mpd.conf to enable this feature.Įxample configuration: Output with 44.1 KHz at e. When this feature is enabled, mpd will always start in the "paused" state, even if a song was playing when mpd was stopped. This feature is present in mpd after version 0.16.2. ![]() YAMS also comes with a systemd service file that can be started with the rvice user unit after authentication is complete. ![]() Yams -h will print all command line options. 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). In order to authenticate, the user must run the yams command in an interactive terminal, at least once, and follow the printed instructions.Īfterwards, YAMS can be started with its binary: The python-yams AUR package is available. It also offers a decent amount of configuration options for when/how a scrobble should be made (including ignoring duplicate scrobbles when a track is played multiple times in a row). Similar to other scrobblers, YAMS can save failed scrobbles and upload them at a later date. ![]() YAMS is a Last.FM scrobbling daemon for MPD written in Python.Īs it is written for v2.0 of Last.FM's scrobbling API, YAMS does not store your username or password locally, but opts to use a cookie instead. Additionally, Sonata does not cache the songs if they cannot be forwarded to Last.fm at the time of playing, meaning they will not be added to the statistics. Sonata has built-in support for scrobbling, although that requires the program to run the whole time. Note: If you get a handshake failed, username or password incorrect (BADAUTH) error, make sure your username and password are correct, and that your password is not 32 characters long.
0 Comments
Leave a Reply. |