-The default installation makes a copy of `/usr/libexec/mpdev/player` and `/usr/libexec/mpdev/playpause` in `$HOME/.mpdev` for the user with uid `1000`. The player script inserts or updates songs in the stat.db, sticker.db sqlite database when a song gets played. For bulk inserts, updates, deletion, the **mpdev** package also comes with `mpdev_update(1)` and `mpdev_cleanup(1)` programs that help in maintaining `stats.db`, `sticker.db` sqlite databases. This two programs use SQL Transactions and are extremely fast and takes just a few seconds to create/update the stats.db, sticker.db sqlite databases. You can disable all database updates by the player script, by setting **NO_DB_UPDATE** environment variable. In such a case, the player script will just print information about the song being played and actions like pause, stop, play. The default installation also makes a copy of `/usr/libexec/mpdev/output` and `/usr/libexec/mpdev/mixer` in `$HOME/mpdev`. At the moment, these scripts just print information of the state of output devices and the volume level. You can edit them if you can think of something useful. If you are installing mpdev from the [Open Build Service repository](https://software.opensuse.org//download.html?project=home%3Ambhangui%3Araspi&package=mpdev), the mpdev sevice will automatically update these scripts if they change in the package. If you don't want auto-udpate you can create an override file. e.g. If you create a file $HOME/.mpdev/.player.nooverwrite, the script $HOME/.mpdev/player will never be replaced with a newer script from the binary package.
0 commit comments