Get the plugin name, not the object

This commit is contained in:
Fabio Manganiello 2021-02-03 17:42:20 +01:00
parent 118540db8c
commit 86ebc4fae9

View file

@ -60,7 +60,7 @@ class MediaCtrlPlugin(Plugin):
return self.plugin
configured_media_plugins = [
Config.get(plugin) for plugin in MediaPlugin._supported_media_plugins
plugin for plugin in MediaPlugin._supported_media_plugins
if Config.get(plugin)
]