Content-type: text/html Man page of MPD-HITS-REPORT

MPD-HITS-REPORT

Section: User Commands (1)
Updated: JUNE 2015
Index Return to Main Contents

 

NAME

mpd-hits-report - display playback statistics of Music Player Daemon

 

SYNOPSIS

mpd-hits-report -c artist | title | album | genre [ -t TIMEPERIOD ] [ -n ] [ -d DBDIR ]

mpd-hits-report [ -f FIELD[,FIELD]...] [ -s FIELD] [ -t TIMEPERIOD ] [ -n ] [ -d DBDIR ]

mpd-hits-report -V

mpd-hits-report -h

 

DESCRIPTION

mpd-hits-report is a program displaying statistics of MPD playbacks, collected by mpd-hits(1). It should have access to the file system with mpd-hits DB files.

 

OPTIONS

-c, --chart=artist | title | album | genre
Display the chart of artists, songs, albums or genres, respectively.
-f, --fields=FIELD[,FIELD]...
Display values of specified fields only. Receives a list of field names separated by a comma (without spaces). Supported fields are: day, time, artist, title, album, date, genre, length. Example: "--fields=artist,album,date"
-s, --sort=FIELD
Sort output by the specified field. See --fields option description for the list of supported fields.
-t, --time=TIMEPERIOD
Process records from the specified period of time only. TIMEPERIOD is one of:
day or 24 (this is default if -t is not specified), week, month, year, today, yesterday, this-week, this-month, this-year, all.

or

[TIMESPEC]

or

[TIMESPEC]..[TIMESPEC]

where TIMESPEC is a date and probably time in a format YYYY-MM-DD[THH:MM:SS] (T is a separator).

Example 1:
"--time=2010-01-01.." selects all mpd-hits DB records starting from the first midnight of the 2010 year until the present.

Example 2:
"--time=2010-04-01T12:00:00..2010-06-01" selects all mpd-hits DB records starting from the noon of the All Fools' Day until the end of the first day of the Summer (23:59:59).
-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

/var/lib/mpd-hits/YYYY.MM
Playback statistics database files.

 

AUTHOR

Dmitry Samoyloff

 

SEE ALSO

mpd-hits(1) mpd-hits-update(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:06:41 GMT, June 17, 2015