diff --git a/README.md b/README.md index ac7a014..9d2f72f 100644 --- a/README.md +++ b/README.md @@ -81,3 +81,6 @@ QMultimedia.EncodingMode / Encoding quality... - .wav, .ogg, .flac convertor - automatic "radio" (based on artist, genre, etc?) - title artist album labels - fit to window size +- edit metadata, get metadata in another thread (freezing) +- on save metadata modal, run save in another thread (freezing) +- on save metadata modal, return to previous state in table (jump to current song/restore scroll position) diff --git a/components/MusicTable.py b/components/MusicTable.py index c9402b6..5bb00ec 100644 --- a/components/MusicTable.py +++ b/components/MusicTable.py @@ -583,7 +583,7 @@ class MusicTable(QTableView): shortcut = QShortcut(QKeySequence("Ctrl+Shift+R"), self) shortcut.activated.connect(self.confirm_reorganize_files) # Delete key? - shortcut = QShortcut(QKeySequence("Delete"), self) + shortcut = QShortcut(QKeySequence("Del"), self) shortcut.activated.connect(self.delete_songs) # Search box shortcut = QShortcut(QKeySequence("Ctrl+F"), self) diff --git a/main.py b/main.py index 6504355..20c7b24 100644 --- a/main.py +++ b/main.py @@ -266,7 +266,7 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow): # Search box self.lineEditSearch: QLineEdit - ## CONNECTIONS + # CONNECTIONS self.lineEditSearch.textTypedSignal.connect(self.handle_search_box_text) # tableView self.tableView.playSignal.connect(self.play_audio_file) @@ -411,7 +411,7 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow): # FIXME: seg fault here but only sometimes??? # when playing song in lib, switch to playlist, back to lib, next song index = self.tableView.proxymodel.mapFromSource(current_real_index) - except: + except Exception: return row: int = index.row() next_row: int = row + 1