Casting via the media browser fails because of invalid URI
See original GitHub issueAfter selecting a track to play in the media browser (amazing feature, by the way), the playback fails because the received URI is using wrong formatting. See log.
- Using latest version of spotcast
- I have setup the Spotify integration in Home Assistant
- I am using multiple accounts
- Using latest stable version of Home Assistant
- I have Spotify Premium
- I’m attaching relevant logs with level debug for component spotcast (see README)
- I’m using entity_id in the service call and have tried device_name but the issue remains
Environment (please complete the following information):
- Installation type: [Supervised]
- HA version: [2022.3.0b5]
- spotcast version: [3.6.26]
Configuration
spotcast:
sp_dc: !secret spotcast_dc
sp_key: !secret spotcast_key
f4cfc6d8f2c411ea968e791d9a657c65
Additional context Log (partly sanitized)
2022-03-01 09:42:02 DEBUG (SyncWorker_2) [custom_components.spotcast.spotcast_controller] setting up with account default
2022-03-01 09:42:02 DEBUG (SyncWorker_2) [custom_components.spotcast.spotcast_controller] expires: 1646126988 time: 1646124122.887227
2022-03-01 09:42:02 ERROR (SyncWorker_2) [custom_components.spotcast.helpers] [spotify://00000000000000000000000000000000/spotify:track:4HlVUapocBDBqkPtET2knz] is not a valid URI. The format should be [Spotify.<type>.<unique_id>]
2022-03-01 09:42:02 ERROR (SyncWorker_2) [custom_components.spotcast] Invalid URI provided, aborting casting
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:5 (1 by maintainers)
Top Results From Across the Web
"Invalid URI. Load of media resource failed" browser error
The only browser error I could find was the Invalid URI… one. I did a bit of googling and found another user who...
Read more >Error Codes | Cast - Google Developers
Download of media data failed because Cast doesn't use media element to download. This issue can be with your app; if necessary, report...
Read more >Persistent error: "Invalid URI. Load of media resource failed."
Hey everyone, I've been running into this error message when I view my course in the browser: "Invalid URI. Load of media resource...
Read more >"invalid url" and cannot edit the entries. : r/prowlarr - Reddit
Decided to try Prowlarr instead of Jackett but cannot connect to any of my apps Sonarr/Radarr etc.How do I attach logs and images?...
Read more >6 Solutions to "Error Loading Media File Could Not Be Played"
Part 1. Fixing Error Loading Media: File Could Not Be Played · 1. Update your browser · 2. Use Incognito mode · 3....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will be fixed by #305
v3.6.27 has been released with #305 fixes