Skip to content

Add total and remaining duration in playlistfooter

Reason for the change

It would be handy to have that feature, it was even requested on bugzilla.

Screenshots or screen recordings

Before change After change

0 tracks

--stayed the same--

0-before.png

0-after.png

1 track

--only remaining time is displayed,

because total time is already shown

in the header right to the slider--

1-before.png

1-after.png

\>1 tracks

--total time and remaining time is

shown--

2-before.png

2-after.png

Also uses hh:mm:ss when the playlist is longer than 60 minutes:

more than  1 hour.png

Bugs fixed

BUG: 481900

DISCUSSION

It is hard to fit so much information in the small footer, maybe a different location is suited better.

Separating tracks and duration with a slash is maybe not perfect UI-wise. Especially in the parenthesis showing remaining tracks and duration there should maybe be a "track[s]" in between the number of the tracks and the slash, but that would cost more valuable space.

Translating the small min part could be difficult in some languages, I don't know the best practice for that.

Merge request reports