add option added + a few fixes regarding tracks with unknown length
This commit is contained in:
@@ -153,6 +153,11 @@ string TotalPlaylistLength()
|
||||
for (SongList::const_iterator it = vPlaylist.begin(); it != vPlaylist.end(); it++)
|
||||
length += (*it)->GetTotalLength();
|
||||
|
||||
if (!length)
|
||||
return result;
|
||||
|
||||
result += ", length: ";
|
||||
|
||||
int years = length/YEAR;
|
||||
if (years)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user