From 5d1078dea01ea9199f595a4f4e6ef35f7e80b4ab Mon Sep 17 00:00:00 2001 From: Keith Edmunds Date: Fri, 30 Sep 2022 18:26:13 +0100 Subject: [PATCH] Debug output to try to track down why titles are changing --- app/playlists.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/playlists.py b/app/playlists.py index b931de0..13dfe4c 100644 --- a/app/playlists.py +++ b/app/playlists.py @@ -1165,6 +1165,11 @@ class PlaylistTab(QTableWidget): # Does it delimit a section? if section_start_plr is not None: if note_text.endswith("-"): + log.debug( + "line 1165: " + f"self._update_note_text({section_start_plr=}," + f"self._get_section_timing_string({section_time=})" + ) self._update_note_text( section_start_plr, self._get_section_timing_string(section_time) @@ -1186,12 +1191,16 @@ class PlaylistTab(QTableWidget): # Have we had a section start but not end? if section_start_plr is not None: + log.debug( + "line 1191: " + f"self._update_note_text({section_start_plr=}," + f"self._get_section_timing_string({section_time=})" + ) self._update_note_text( section_start_plr, self._get_section_timing_string(section_time, no_end=True) ) -# # # ########## Internally called functions ########## def _add_track(self, row: int) -> None: