File: dump-stats.bash

package info (click to toggle)
mpdcron 0.3%2Bgit20100803-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,296 kB
  • ctags: 846
  • sloc: ansic: 11,949; ruby: 587; makefile: 155; 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 "================="