planning some fixes

This commit is contained in:
billypom on debian 2025-06-30 17:37:05 -04:00
parent d046d5b3fb
commit 68e064b29f
3 changed files with 6 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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