diff --git a/ovos_plugin_common_play/ocp/gui.py b/ovos_plugin_common_play/ocp/gui.py index ec07f7e..f30bcb8 100644 --- a/ovos_plugin_common_play/ocp/gui.py +++ b/ovos_plugin_common_play/ocp/gui.py @@ -8,9 +8,7 @@ from ovos_config import Configuration from ovos_utils.events import EventSchedulerInterface from ovos_utils.log import LOG -from ovos_workshop.backwards_compat import (MediaType, Playlist, MediaEntry, PlayerState, LoopState, - PlaybackType, PluginStream, dict2entry) - +from ovos_utils.ocp import MediaState, TrackState, PlaybackType, MediaType, Playlist, PluginStream, PlayerState, LoopState, dict2entry from ovos_plugin_common_play.ocp.constants import OCP_ID from ovos_plugin_common_play.ocp.utils import is_qtav_available @@ -388,7 +386,8 @@ def handle_play_skill_featured_media(self, message): playlist = message.data["playlist"] self.player.playlist.clear() - self.player.media.replace(playlist) + self.player.media.search_playlist.replace(playlist) + self.update_search_results() self.manage_display("disambiguation") diff --git a/ovos_plugin_common_play/ocp/search.py b/ovos_plugin_common_play/ocp/search.py index ab5f226..2acf450 100644 --- a/ovos_plugin_common_play/ocp/search.py +++ b/ovos_plugin_common_play/ocp/search.py @@ -3,10 +3,9 @@ from ovos_bus_client.message import Message from ovos_utils.log import LOG -from ovos_utils.ocp import MediaType +from ovos_utils.ocp import MediaType, Playlist from ovos_plugin_common_play.ocp.base import OCPAbstractComponent -from ovos_plugin_common_play.ocp.media import Playlist class OCPSearch(OCPAbstractComponent):