youtube-viewer
youtube-viewer copied to clipboard
*TIME* is not aligning correctly.
When using custom layout option like this youtube-viewer --custom-layout=' *TIME* | *ID* | *PUBLISHED* | *TITLE*'
the output is not aligned when the results contains shorter and longer videos:
11:34 | 63-EeFrBIqs | 16 Feb 2021 | Ciamajda smerfuje przyszłość • Epizod • Smerfy
01:07:44 | yg6xpDI4x3g | 14 Feb 2021 | 60 minut Smerfnych przygód • Kompilacja muzyki • Smerfy
11:38 | ZSkpsAH4ZFw | 11 Feb 2021 | Mała czarownica • Epizod • Smerfy
Could you please fix it so it would always be aligned to the right using spaces if the time is shorter than 8 characters (example below)?
11:34 | 63-EeFrBIqs | 16 Feb 2021 | Ciamajda smerfuje przyszłość • Epizod • Smerfy
01:07:44 | yg6xpDI4x3g | 14 Feb 2021 | 60 minut Smerfnych przygód • Kompilacja muzyki • Smerfy
11:38 | ZSkpsAH4ZFw | 11 Feb 2021 | Mała czarownica • Epizod • Smerfy
Regards, Piotr
Created a fix #370
However this "fix" will mess up the Duration: line in the display. :\
Fixed duration issue with the pull requests #371 and #372