Debug output to try to track down why titles are changing
This commit is contained in:
parent
e1ceb5e8e3
commit
5d1078dea0
@ -1165,6 +1165,11 @@ class PlaylistTab(QTableWidget):
|
|||||||
# Does it delimit a section?
|
# Does it delimit a section?
|
||||||
if section_start_plr is not None:
|
if section_start_plr is not None:
|
||||||
if note_text.endswith("-"):
|
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(
|
self._update_note_text(
|
||||||
section_start_plr,
|
section_start_plr,
|
||||||
self._get_section_timing_string(section_time)
|
self._get_section_timing_string(section_time)
|
||||||
@ -1186,12 +1191,16 @@ class PlaylistTab(QTableWidget):
|
|||||||
|
|
||||||
# Have we had a section start but not end?
|
# Have we had a section start but not end?
|
||||||
if section_start_plr is not None:
|
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(
|
self._update_note_text(
|
||||||
section_start_plr,
|
section_start_plr,
|
||||||
self._get_section_timing_string(section_time, no_end=True)
|
self._get_section_timing_string(section_time, no_end=True)
|
||||||
)
|
)
|
||||||
|
|
||||||
#
|
|
||||||
# # ########## Internally called functions ##########
|
# # ########## Internally called functions ##########
|
||||||
|
|
||||||
def _add_track(self, row: int) -> None:
|
def _add_track(self, row: int) -> None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user