Comments (4)
Yes, it does look similar. Do you get any error messages in the HA log?
from media_player.linkplay.
I have a Arylic device (Up2Stream) and facing the same issues.
The log is spammed with these errors:
10:50:42 AM – custom_components/linkplay/media_player.py (WARNING) - message first occurred at 10:33:55 AM and shows up 96 times
REST result could not be parsed as JSON
10:50:42 AM – custom_components/linkplay/media_player.py (WARNING) - message first occurred at 10:33:55 AM and shows up 96 times```
I believe the root cause is the title and artist in the JSON containing some weird info:
```{"type":"0","ch":"0","mode":"10","loop":"3","eq":"0","status":"play","curpos":"6380","offset_pts":"6380","totlen":"0","Title":" ö*+ ö*+","Artist":"�ö*+�åY","Album":"","alarmflag":"0","plicount":"1","plicurr":"1","vol":"28","mute":"0","iuri":"687474703A2F2F696365636173742D716D757369636E6C2D6364702E747269706C652D69742E6E6C2F516D757369635F6E6C5F666F7574657575725F39362E6D7033","uri":"687474703A2F2F696365636173742D716D757369636E6C2D6364702E747269706C652D69742E6E6C2F516D757369635F6E6C5F666F7574657575725F39362E6D7033"}```
The mot basic function works: play, pause and set volume. The you don't get a lot of info because the returned JSON is totally ignored.
from media_player.linkplay.
After looking in the documentation it seems that the data in Title
, Artist
and Album
are hexed data. Might be the problem. It's really hard to test and verify since I don't have a Acrylic device.
from media_player.linkplay.
I don't think that's causing the problem. The main problem is the gibberish in the json for artist and album.
Dehexing shouldn't be that much of an issue.
I can provide some various json output of you like ?
from media_player.linkplay.
Related Issues (16)
- Incorrect change of volume HOT 2
- IEAST M5 HOT 5
- For folks using a Audio Pro Device HOT 1
- ImportError: failed to find libmagic HOT 2
- Connection refused HOT 10
- Tunein metadata HOT 5
- Restore music playback after TTS HOT 3
- Audio Pro speaker modes HOT 1
- MediaPlayerDevice is deprecated
- [tts] speaker fails to playback tts
- _update_via_upnp bug
- HA 0.96 HOT 1
- Update for media_player.audiopro fails HOT 2
- Error while calling service HOT 1
- Help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media_player.linkplay.