Content-type: text/html
Man page of MPD-HITS-UPDATE
MPD-HITS-UPDATE
Section: User Commands (1)
Updated: JUNE 2015
Index
Return to Main Contents
NAME
mpd-hits-update - update entries of mpd-hits DB
SYNOPSIS
mpd-hits-update
[OPTION]...
DESCRIPTION
mpd-hits-update
is a program for manual updates of entries of the
mpd-hits (1)
DB. If you've listened for some music but this fact was not recorded by
mpd-hits
for some reason, you can use this program to "simulate" playback with any date
and time.
This program should have access to the file system with mpd-hits DB files.
Add yourself to the mpd-hits group to be able to use
mpd-hits-update
without root priveleges.
mpd-hits-update
can use
mpd-hits.conf
to find out which user/group owns mpd-hits DB files (it is mpd-hits user
and group by default).
Make sure
mpd-hits
is stopped before running
mpd-hits-update
to avoid corruption of mpd-hits DB files!
OPTIONS
- -s, --start=TIMESPEC
-
Specifies the time when playback was started.
TIMESPEC
here is a date and time in the format
YYYY-MM-DDTHH:MM:SS
(T is a separator).
- -a, --add=MUSIC_PATH
-
Adds an audio file or a directory of audio files (not recursive) to the
mpd-hits playback DB. May be specified more than once.
MUSIC_PATH
may be absolute or relative. For now, .flac and .ogg files are
supported.
- --user=USERNAME
-
Specify
mpd-hits
DB files owner.
- --group=GROUPNAME
-
Specify
mpd-hits
DB files group.
- -d, --db-directory=DBDIR
-
Read mpd-hits DB from the
DBDIR
directory.
- -h, --help
-
Print usage summary and quit.
- -V, --version
-
Print program version info and quit.
FILES
- /etc/mpd-hits.conf
-
Global configuration file of
mpd-hits
- /var/lib/mpd-hits/YYYY.MM
-
Playback statistics database files.
AUTHOR
Dmitry Samoyloff
SEE ALSO
mpd-hits(1) mpd-hits-report(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- FILES
-
- AUTHOR
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 00:06:45 GMT, June 17, 2015