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:05:47 +02:00
parent 66865c76c3
commit e6807b2024

View File

@@ -63,7 +63,7 @@ def calculate_category_percentages(playlists, days):
for category in category_counts.keys():
for file in playlists[day][category]:
category_counts[category] += 1
if "Polskie" in file:
if "Polskie" in file or "Dzem" in file:
polskie_counts[category] += 1
total_count = sum(category_counts.values())