diff --git a/components/MusicTable.py b/components/MusicTable.py index de858ed..d14fbef 100644 --- a/components/MusicTable.py +++ b/components/MusicTable.py @@ -391,6 +391,7 @@ class MusicTable(QTableView): def on_cell_data_changed(self, topLeft: QModelIndex, bottomRight: QModelIndex): """Handles updating ID3 tags when data changes in a cell""" + # FIXME: broken if isinstance(self.model2, QStandardItemModel): debug("on_cell_data_changed") # get the ID of the row that was edited @@ -623,6 +624,8 @@ class MusicTable(QTableView): # NOTE: # is that even possible with move file function? + # FIXME: change reorganize location in config, try to reorganize, failed - old reference + # Get target directory target_dir = str(self.config["directories"]["reorganize_destination"]) for filepath in filepaths: diff --git a/ui.ui b/ui.ui new file mode 100644 index 0000000..625aec1 --- /dev/null +++ b/ui.ui @@ -0,0 +1,420 @@ + + + MainWindow + + + + 0 + 0 + 1152 + 894 + + + + MainWindow + + + + + + + + + + 6 + + + 0 + + + + + QLayout::SetFixedSize + + + + + QLayout::SetFixedSize + + + + + + 0 + 0 + + + + + 200 + 200 + + + + + 200 + 200 + + + + + + + + + + + + + + + + + + + + + + QLayout::SetMaximumSize + + + 0 + + + 0 + + + + + + + + + + + + + 6 + + + + + + + + + + + + + + + + + + + + QLayout::SetMaximumSize + + + + + Qt::Horizontal + + + + + + + + + + Monospace + false + + + + 00:00 + + + + + + + + Monospace + false + + + + / + + + + + + + + Monospace + 75 + false + true + + + + 00:00 + + + + + + + + + + + 6 + + + + + + + 50 + + + + + + + -1 + + + 101 + + + 50 + + + Qt::Horizontal + + + QSlider::TicksAbove + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 28 + + + + + + + + + 28 + + + + + + + + + 28 + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + 0 + + + 100 + + + 1 + + + 50 + + + Qt::Horizontal + + + false + + + QSlider::TicksAbove + + + + + + + + Monospace + + + + 1.00 + + + + + + + + + + + + + + + 0 + 0 + 1152 + 24 + + + + + File + + + + + + + + Edit + + + + + + View + + + + + Quick-Actions + + + + + + + + + + + + + + + Preferences + + + Open preferences + + + + + Scan libraries + + + + + Delete Library + + + + + Sort Columns + + + + + Open file(s) + + + + + Delete Database + + + + + New playlist + + + + + Export playlist + + + + + + PlotWidget + QWidget +
pyqtgraph
+ 1 +
+ + MusicTable + QTableView +
components
+
+ + AlbumArtGraphicsView + QGraphicsView +
components
+
+ + PlaylistsPane + QTreeView +
components
+
+
+ + +