Display remaining Youtube playlist time

Dragosarus
2020-08-18T20:59:20Z

Displays the sum of the lengths of the remaining videos in a playlist

Note: only sums the lengths of videos that are visible in the playlist sidebar -- may not be accurate for large playlists (the user is informed of this; see image 2).

The time remaining is by default shown through both a duration and a percentage. The variables showTime and showPercentage can be set to false if you only want to see one of these.

Options:

Time formats:

0: "x.xx hours", "x.xx minutes", or "x seconds"

1: "xh xm xs" (default)

2: "h:mm:ss"

Percentage formats:

0: "% done", i.e. % watched (default)

1: "% left", i.e. % remaining

Whether or not to include the duration of the current video when determining the remaining time

Compatible with https://greasyfork.org/en/scripts/404986-play-youtube-playlist-in-reverse-order