WIP Audacity

This commit is contained in:
Keith Edmunds 2023-12-08 17:29:25 +00:00
parent 6985170378
commit 540846223b
2 changed files with 6 additions and 9 deletions

View File

@ -984,15 +984,6 @@ class PlaylistModel(QAbstractTableModel):
log.error(f"OBS SDK error ({e})")
return
def open_in_audacity(self, row_number: int) -> None:
"""
Open track at passed row number in Audacity
"""
path = self.playlist_rows[row_number].path
if path:
open_in_audacity(path)
def previous_track_ended(self) -> None:
"""
Notification from musicmuster that the previous track has ended.

View File

@ -571,6 +571,12 @@ class PlaylistTab(QTableView):
open_file_in_audacity(path)
if ask_yes_no("Reimport file", "Click yes to reimport file, No to ignore"):
def _rescan(self, row_number: int) -> None:
"""Rescan track"""