text
This commit is contained in:
parent
1391385493
commit
027cc3f664
@ -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"""
|
||||
|
||||
3
main.py
3
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user