From 027cc3f664060a62855b790ceb28cfa0c3d09e53 Mon Sep 17 00:00:00 2001 From: tsi-billypom Date: Mon, 29 Jul 2024 14:31:24 -0400 Subject: [PATCH] text --- components/MusicTable.py | 5 ++++- main.py | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/MusicTable.py b/components/MusicTable.py index e7bc8e6..7357a3e 100644 --- a/components/MusicTable.py +++ b/components/MusicTable.py @@ -108,7 +108,7 @@ class MusicTable(QTableView): menu.exec_(event.globalPos()) def delete_songs(self): - """Deletes the currently selected songs from the db and table (not the filesystem)""" + """Deletes the currently selected songs from the db and music table (not the filesystem)""" reply = QMessageBox.question( self, "Confirmation", @@ -147,7 +147,10 @@ class MusicTable(QTableView): Popen(["xdg-open", path]) def edit_selected_files_metadata(self): + # FIXME: + """Opens a form with metadata from the selected audio files""" files = self.get_selected_songs_filepaths() + return def add_selected_files_to_playlist(self): """Opens a playlist choice menu and adds the currently selected files to the chosen playlist""" diff --git a/main.py b/main.py index bc9f9c5..7eeac76 100644 --- a/main.py +++ b/main.py @@ -51,8 +51,11 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow): stopped = False # Initialization self.player = QMediaPlayer() # Audio player object + print(f"QMediaPlayer() = {self.player}") self.probe = QAudioProbe() # Gets audio data + print(f"QAudioProbe() = {self.probe}") self.timer = QTimer(self) # Audio timing things + print(f"QTimer() = {self.timer}") # self.music_table_model = QStandardItemModel(self) # Table library listing self.audio_visualizer = AudioVisualizer(self.player) self.current_volume = 50