WIP Audacity
This commit is contained in:
parent
6985170378
commit
540846223b
@ -984,15 +984,6 @@ class PlaylistModel(QAbstractTableModel):
|
|||||||
log.error(f"OBS SDK error ({e})")
|
log.error(f"OBS SDK error ({e})")
|
||||||
return
|
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:
|
def previous_track_ended(self) -> None:
|
||||||
"""
|
"""
|
||||||
Notification from musicmuster that the previous track has ended.
|
Notification from musicmuster that the previous track has ended.
|
||||||
|
|||||||
@ -571,6 +571,12 @@ class PlaylistTab(QTableView):
|
|||||||
|
|
||||||
open_file_in_audacity(path)
|
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:
|
def _rescan(self, row_number: int) -> None:
|
||||||
"""Rescan track"""
|
"""Rescan track"""
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user