forked from Wobbl/Wobuzz
OOPed everything a little.
This commit is contained in:
parent
3dfb07ab14
commit
d3a6cb7dd8
4 changed files with 40 additions and 37 deletions
|
@ -13,11 +13,15 @@ class Wobuzz:
|
|||
self.qt_app = QApplication([])
|
||||
|
||||
self.utils = Utils(self)
|
||||
|
||||
self.player = Player(self, sys.argv[1:])
|
||||
self.player = Player(self)
|
||||
self.gui = GUI(self)
|
||||
self.gui_communication = GUICommunication(self)
|
||||
|
||||
track_paths = sys.argv[1:]
|
||||
|
||||
if track_paths:
|
||||
self.player.load_tracks_from_paths(track_paths)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
wobuzz = Wobuzz()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue