🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Azure IoT Speaker play_cloud command broken

    Bug Report
    1
    1
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • greenleafG
      greenleaf
      last edited by greenleaf

      This Azure handler won't play cloud based wav files. The play_local works fine though. The error message shown when trying to play a WAV URL is below:

      0_1659469083946_59728f48-2c71-4aad-bfae-683b51f276d4-image.png

      Unhandled exception in thread started by <bound_method>
      Traceback (most recent call last):
        File "libs/m5mqtt.py", line 101, in _msg_deal_task
        File "libs/m5mqtt.py", line 88, in update
        File "umqtt/robust.py", line 80, in check_msg
        File "umqtt/simple.py", line 271, in check_msg
        File "umqtt/simple.py", line 259, in wait_msg
        File "libs/m5mqtt.py", line 50, in _on_data
        File "IoTcloud/Azure.py", line 333, in direct_method_cb
        File "<string>", line 33, in azure_direct_Speaker_play_cloud
        File "hardware/speaker.py", line 135, in playCloudWAV
        File "hardware/speaker.py", line 82, in playWAV
      ValueError: Data Format is not valid
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post