Commit d3d2a16b authored by David Fuhrmann's avatar David Fuhrmann

macosx: Fix playlist duration calculation for media library

parent 39f034a6
......@@ -954,7 +954,7 @@ static const float f_min_window_height = 307.;
if (root == ROOT_TYPE_PLAYLIST)
[_categoryLabel setStringValue: [_NS("Playlist") stringByAppendingString:[self _playbackDurationOfNode:p_playlist->p_playing]]];
else if (root == ROOT_TYPE_MEDIALIBRARY)
[_categoryLabel setStringValue: [_NS("Media Library") stringByAppendingString:[self _playbackDurationOfNode:p_playlist->p_playing]]];
[_categoryLabel setStringValue: [_NS("Media Library") stringByAppendingString:[self _playbackDurationOfNode:p_playlist->p_media_library]]];
PL_UNLOCK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment