File: dump-stats.bash

package info (click to toggle)
mpdcron 0.3%2Bgit20110303-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,292 kB
  • ctags: 864
  • sloc: ansic: 12,466; ruby: 587; makefile: 157; sh: 95
file content (14 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
# vim: set sw=4 et sts=4 tw=80 :
# Copyright 2009 Ali Polatel <alip@exherbo.org>
# Distributed under the terms of the GNU General Public License v2

echo "=== MPD STATS ==="
echo "Update Time: $MPD_DATABASE_UPDATE_TIME"
echo "Artists: $MPD_DATABASE_ARTISTS"
echo "Albums: $MPD_DATABASE_ALBUMS"
echo "Songs: $MPD_DATABASE_SONGS"
echo "Play time: $MPD_DATABASE_PLAY_TIME"
echo "Uptime: $MPD_DATABASE_UPTIME"
echo "Database Play time: $MPD_DATABASE_DB_PLAY_TIME"
echo "================="