feat: define ratio-based table columns

This commit is contained in:
2026-01-03 11:41:29 +01:00
parent 7741c8adba
commit 43c0215a6f

View File

@@ -9,7 +9,13 @@ DEFAULT_CODEC = "LC_128_44100_stereo"
MIN_FILE_SIZE = 1024 * 1024 MIN_FILE_SIZE = 1024 * 1024
DEFAULT_CHUNK_SIZE = 8192 DEFAULT_CHUNK_SIZE = 8192
TABLE_COLUMNS = ("Title", "Author", "Length", "Progress", "Downloaded") TABLE_COLUMN_DEFS = (
("Title", 4),
("Author", 3),
("Length", 2),
("Progress", 1),
("Downloaded", 1),
)
AUTHOR_NAME_MAX_LENGTH = 40 AUTHOR_NAME_MAX_LENGTH = 40
AUTHOR_NAME_DISPLAY_LENGTH = 37 AUTHOR_NAME_DISPLAY_LENGTH = 37