diff --git a/resources/custom_modules/mediaplayer.py b/resources/custom_modules/mediaplayer.py index d9caacd7..4d75a254 100755 --- a/resources/custom_modules/mediaplayer.py +++ b/resources/custom_modules/mediaplayer.py @@ -45,7 +45,7 @@ def on_metadata(player, metadata, manager): def on_player_appeared(manager, player, selected_player=None): - if player is not None and player.name == selected_player: + if player is not None and (selected_player is None or player.name == selected_player): init_player(manager, player) else: logger.debug("New player appeared, but it's not the selected player, skipping")