Skip to content

Commit

Permalink
typo_and_docstr
Browse files Browse the repository at this point in the history
typo and docstr
  • Loading branch information
JarbasAl authored Jan 12, 2024
1 parent b5ab3bd commit cdbec2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ovos_bus_client/apis/ocp.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ def ensure_uri(s: str):


class ClassicAudioServiceInterface:
"""AudioService class for interacting with the audio subsystem
"""AudioService class for interacting with the classic mycroft audio subsystem
DEPRECATED: only works in ovos-core <= 0.0.8
it has been removed from ovos-audio with the move to ovos-media
"mycroft.audio.XXX" has been replaced by "ovos.audio.XXX" namespace
use OCPInterface instead
Expand Down Expand Up @@ -258,7 +260,7 @@ def norm_tracks(tracks: list):
if isinstance(track, dict):
tracks[idx] = MediaEntry.from_dict(track)
elif isinstance(track, list) and not isinstance(track, Playlist):
tracks[idx] = OCPInterface.norm_tracks(tracks)
tracks[idx] = OCPInterface.norm_tracks(track)
else:
# TODO - support string uris
# let it fail in next assert
Expand Down

0 comments on commit cdbec2b

Please sign in to comment.