Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

mpd_pure unsigned long mpd_stats_get_db_play_time ( const struct mpd_stats stats  ) 

Returns:
the accumulated duration of all songs in the database, or 0 if unknown

Definition at line 138 of file stats.c.

References mpd_stats::db_play_time, and mpd_stats_get_db_play_time().

Referenced by mpd_stats_get_db_play_time().

{
      assert(stats != NULL);

      return stats->db_play_time;
}


Generated by  Doxygen 1.6.0   Back to index