|
18 | 18 | import platform |
19 | 19 | from translations import translations |
20 | 20 | import os |
21 | | -import logging |
22 | 21 | from packaging import version |
23 | 22 | import locale |
24 | 23 | from platformdirs import PlatformDirs |
25 | 24 | from tkinter.messagebox import askyesno |
26 | 25 | import random |
27 | 26 |
|
28 | | -VER="2.0.1" |
| 27 | +VER="2.0.2" |
29 | 28 | CONFIG_FILE="config.json" |
30 | 29 | NEWSCHEDULE="schedule.json" |
31 | 30 | LOG_FILE="output.log" |
@@ -616,7 +615,10 @@ def show_tracks_and_confirm(): |
616 | 615 |
|
617 | 616 | for idx, track in enumerate(tracks, 1): |
618 | 617 | name = track.get("name", "Unknown") |
619 | | - artists = ", ".join(track.get("artists", [])) |
| 618 | + artists_list = track.get("artists") or [] |
| 619 | + artists = ", ".join(a for a in artists_list if isinstance(a, str)) |
| 620 | + if not artists: |
| 621 | + artists = "Unknown" |
620 | 622 | listbox.insert(tk.END, f"{idx}. {name} - {artists}") |
621 | 623 |
|
622 | 624 | # Continue button |
@@ -1122,8 +1124,9 @@ def initialize_new_schedule(): |
1122 | 1124 | main_content_frame = ttk.Frame(schedulecombo_frame) |
1123 | 1125 | main_content_frame.pack(fill="both", expand=True, padx=10, pady=10) |
1124 | 1126 |
|
1125 | | -calendar_left = ttk.Frame(main_content_frame) |
1126 | | -calendar_left.pack(side="left", anchor="n", padx=(0,10)) |
| 1127 | +calendar_left = ttk.Frame(main_content_frame, width=290) |
| 1128 | +calendar_left.pack(side="left", anchor="n", padx=(0,10), fill="y", expand=False) |
| 1129 | +calendar_left.pack_propagate(False) |
1127 | 1130 |
|
1128 | 1131 | def on_date_selected(): |
1129 | 1132 | date_obj = calendar.selection_get() |
|
0 commit comments