Add available extractors dynamically from imports of extractors package

This commit is contained in:
2019-06-12 22:28:58 -05:00
parent d0491d8dd0
commit 99d02c97f0
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ class Controller(object):
# Setting up the player object
player.setup()
# Get main window
self.window = mainWindow.mainWindow()
self.window = mainWindow.mainWindow(extractors=[i.name for i in get_extractors()])
log.debug("Main window created")
self.window.change_status(_(u"Ready"))
# Here we will save results for searches as song objects.