0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00
This commit is contained in:
2025-04-01 19:12:06 +02:00
parent ceaa14546b
commit 9a699af18c

View File

@@ -211,7 +211,7 @@ def draw_interface(audio_files: list, playlists: dict, selected_idx: int, curren
percent = percentages.get(category, 0)
polskie_percent = polskie_percentages.get(category, 0)
category_bar += f"{category[:4].capitalize()}: {percent:.1f}% (P:{polskie_percent:.1f}%) | "
category_bar += f"TP:{total_pl:0.1f}"
category_bar += f"TP:{total_pl:0.1f}%"
if len(category_bar) > term_width - 2:
category_bar = category_bar[:term_width - 5] + "..."