The beginning of something great
This commit is contained in:
15
contrib/examples/publish.conf.example
Normal file
15
contrib/examples/publish.conf.example
Normal file
@@ -0,0 +1,15 @@
|
||||
# mpris-scrobbler publish helper configuration
|
||||
#
|
||||
# Copy to:
|
||||
# ~/.config/mpris-scrobbler/publish.conf
|
||||
#
|
||||
# Or let install.sh install it automatically if missing.
|
||||
|
||||
# Local output directory for generated report files.
|
||||
OUTPUT_DIR="$HOME/music-report"
|
||||
|
||||
# Remote rsync target.
|
||||
REMOTE_TARGET="user@host:/var/www/music-report"
|
||||
|
||||
# Optional custom database path (leave empty for default path).
|
||||
DB_PATH=""
|
||||
13
contrib/systemd/user/mpris-scrobbler.service
Normal file
13
contrib/systemd/user/mpris-scrobbler.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=MPRIS Scrobbler watcher
|
||||
Documentation=https://github.com/arturmeski/mpris_scrobbler
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/.local/bin/mpris-scrobbler watch --player com.blitzfc.qbz
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user