browser: read tags from local songs

This commit is contained in:
Andrzej Rybczak
2012-08-29 18:45:58 +02:00
parent c14b0d3b3b
commit b77466cc38
11 changed files with 50 additions and 49 deletions

View File

@@ -178,7 +178,7 @@ std::string Song::getLength(unsigned idx) const
assert(m_song);
if (idx > 0)
return "";
unsigned len = mpd_song_get_duration(m_song.get());
unsigned len = getDuration();
if (len > 0)
return ShowTime(len);
else