Wobuzz/wobuzz/ui/library/library_dock.py
The Wobbler 7edaebc3c3 Did some memory optimisation, moved some files and created a completely not tested gui class that will list an artist's tracks.
Made tracks return an already existing object when they get created with a path of an already existing track object.
2025-03-06 16:35:13 +01:00

17 lines
383 B
Python

#!/usr/bin/python3
from PyQt6.QtWidgets import QDockWidget
from wobuzz.ui.library import LibraryWidget
class LibraryDock(QDockWidget):
def __init__(self, library, parent=None):
super().__init__(parent)
self.library = library
self.setAcceptDrops(True)
self.library_widget = Library(library, self)
self.setWidget(self.library_widget)