move fixme stuffers
This commit is contained in:
parent
b96a3f64e3
commit
485f99f6d5
@ -55,8 +55,6 @@ config.ini db/
|
||||
- ~~delete songs from library (del key || right-click delete)~~
|
||||
- playlist autoexporting
|
||||
- .wav, .ogg, .flac convertor
|
||||
- FIXME: table headers being resized and going out window bounds
|
||||
- FIXME: dbaccess is instantiated for every track being reorganized
|
||||
- automatic "radio" based on artist or genre
|
||||
- search bar, full text search on song, artist, album
|
||||
- when table is focused, start typing to match against the primary sort column
|
||||
|
||||
@ -135,6 +135,8 @@ class MusicTable(QTableView):
|
||||
self.setSelectionMode(QAbstractItemView.ExtendedSelection)
|
||||
self.setSelectionBehavior(QAbstractItemView.SelectRows)
|
||||
# header
|
||||
# FIXME: table headers being resized and going out window bounds
|
||||
# causing some recursion errors...
|
||||
self.horizontal_header: QHeaderView = self.horizontalHeader()
|
||||
assert self.horizontal_header is not None # i hate look at linting errors
|
||||
self.horizontal_header.setStretchLastSection(True)
|
||||
@ -541,6 +543,9 @@ class MusicTable(QTableView):
|
||||
based on self.config['directories'][reorganize_destination']
|
||||
"""
|
||||
debug("reorganizing files")
|
||||
# FIXME: batch update, instead of doing 1 file at a time
|
||||
# DBAccess is being instantiated for every file, boo
|
||||
|
||||
# Get target directory
|
||||
target_dir = str(self.config["directories"]["reorganize_destination"])
|
||||
for filepath in filepaths:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user