Reduce stdout output
This commit is contained in:
parent
a24ff76b6b
commit
f2db9967fb
@ -631,7 +631,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
add tab to display. Return index number of tab.
|
||||
"""
|
||||
|
||||
log.info(f"create_playlist_tab({playlist=})")
|
||||
log.debug(f"create_playlist_tab({playlist=})")
|
||||
|
||||
playlist_tab = PlaylistTab(
|
||||
musicmuster=self,
|
||||
@ -639,7 +639,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
)
|
||||
idx = self.tabPlaylist.addTab(playlist_tab, playlist.name)
|
||||
|
||||
log.info(f"create_playlist_tab() returned: {idx=}")
|
||||
log.debug(f"create_playlist_tab() returned: {idx=}")
|
||||
return idx
|
||||
|
||||
def cut_rows(self) -> None:
|
||||
@ -910,7 +910,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
|
||||
try:
|
||||
self.audacity_client = pipeclient.PipeClient()
|
||||
log.info(f"{hex(id(self.audacity_client))=}")
|
||||
log.debug(f"{hex(id(self.audacity_client))=}")
|
||||
except RuntimeError as e:
|
||||
log.error(f"Unable to initialise Audacity: {str(e)}")
|
||||
|
||||
|
||||
@ -172,7 +172,7 @@ class PlaylistTab(QTableView):
|
||||
# Save passed settings
|
||||
self.musicmuster = musicmuster
|
||||
self.playlist_id = playlist_id
|
||||
log.info(f"PlaylistTab.__init__({playlist_id=})")
|
||||
log.debug(f"PlaylistTab.__init__({playlist_id=})")
|
||||
|
||||
# Set up widget
|
||||
self.source_model = PlaylistModel(playlist_id)
|
||||
@ -531,7 +531,7 @@ class PlaylistTab(QTableView):
|
||||
Called when column width changes. Save new width to database.
|
||||
"""
|
||||
|
||||
log.info(f"_column_resize({column_number=}, {_old=}, {_new=}")
|
||||
log.debug(f"_column_resize({column_number=}, {_old=}, {_new=}")
|
||||
|
||||
header = self.horizontalHeader()
|
||||
if not header:
|
||||
@ -635,7 +635,7 @@ class PlaylistTab(QTableView):
|
||||
)
|
||||
)
|
||||
|
||||
log.info(f"get_selected_rows() returned: {result=}")
|
||||
log.debug(f"get_selected_rows() returned: {result=}")
|
||||
return result
|
||||
|
||||
def _import_from_audacity(self, row_number: int) -> None:
|
||||
@ -726,7 +726,7 @@ class PlaylistTab(QTableView):
|
||||
If playlist_id is us, resize rows
|
||||
"""
|
||||
|
||||
log.info(f"resize_rows({playlist_id=}) {self.playlist_id=}")
|
||||
log.debug(f"resize_rows({playlist_id=}) {self.playlist_id=}")
|
||||
|
||||
if playlist_id and playlist_id != self.playlist_id:
|
||||
return
|
||||
@ -828,7 +828,7 @@ class PlaylistTab(QTableView):
|
||||
def _set_column_widths(self) -> None:
|
||||
"""Column widths from settings"""
|
||||
|
||||
log.info("_set_column_widths()")
|
||||
log.debug("_set_column_widths()")
|
||||
|
||||
header = self.horizontalHeader()
|
||||
if not header:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user