Skip to content

Commit

Permalink
Update audioservice.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Dec 28, 2023
1 parent 15dcb85 commit 28045cc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions ovos_utils/skills/audioservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from datetime import timedelta
# This file is directly copied from HolmesV, it's a simple utility to
# interface with the AudioService via messagebus outside core
from os.path import abspath

from ovos_utils.log import LOG, deprecated
from ovos_utils.messagebus import get_mycroft_bus, dig_for_message, \
FakeMessage as Message

from ovos_utils.log import LOG

LOG.warning("ClassicAudioServiceInterface and OCPInterface moved to ovos_bus_client.apis.ocp")

try:
from ovos_bus_client.apis.ocp import OCPInterface, ClassicAudioServiceInterface, ensure_uri
except ImportError:

from os.path import abspath
from ovos_utils.messagebus import get_mycroft_bus, dig_for_message, FakeMessage as Message

def ensure_uri(s: str):
"""
Interpret paths as file:// uri's.
Expand Down

0 comments on commit 28045cc

Please sign in to comment.