You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search results truncate the columns, making some of them completely incomprehensible.
The best example is the "Views" column. Even if it's the only column shown, it cuts off after only 4 characters.
How many views is "3,17"? Could be 3,170 or 3,170,000 or even 3,170,000,000.
Is there a column width setting I've overlooked?
My suggestion would be to either have a setting for column width, i.e., "set column_views 13"
...or use an abbreviation like 3.2K, 3.2M, 3.2B, etc., i.e., "set column_human_readable true" (more elegant IMHO)
On a side note, emojis in titles mess up the table alignment, but they aren't a fixed width so the only way to deal with that would be to just not display them, which could also be a setting, i.e., "set emojis false"
Your Environment
yt --version
yewtube version : 2.10.4
yt_dlp version : 2024.03.10
Python version : 3.11.8 (main, Feb 28 2024, 00:00:00) [GCC 13.2.1 20231011 (Red Hat 13.2.1-4)]
Processor :
Machine type : x86_64
Architecture : 64bit, ELF
Platform : Linux-6.7.9-100.fc38.x86_64-x86_64-with-glibc2.37
sys.stdout.enc : utf-8
default enc : utf-8
Config dir : /home/xxxxxxx/.config/mps-youtube
dbus : None
glib : False
env:TERM : xterm-256color
env:SHELL : /bin/bash
env:LANG : en_US.UTF-8
Issue / Suggestion
The search results truncate the columns, making some of them completely incomprehensible.
The best example is the "Views" column. Even if it's the only column shown, it cuts off after only 4 characters.
How many views is "3,17"? Could be 3,170 or 3,170,000 or even 3,170,000,000.
Is there a column width setting I've overlooked?
My suggestion would be to either have a setting for column width, i.e., "set column_views 13"
...or use an abbreviation like 3.2K, 3.2M, 3.2B, etc., i.e., "set column_human_readable true" (more elegant IMHO)
There are libraries like azaitsev/millify that handle this.
On a side note, emojis in titles mess up the table alignment, but they aren't a fixed width so the only way to deal with that would be to just not display them, which could also be a setting, i.e., "set emojis false"
Your Environment
yt --version
OS, etc
gnome-terminal --version
# GNOME Terminal 3.48.3 using VTE 0.72.4 +BIDI +GNUTLS +ICU +SYSTEMD
yt set
mpv --version
The text was updated successfully, but these errors were encountered: