Comments (4)
I think I can see were it is going wrong..
When you give the Original command in telnet, this works:
heos://browse/play_input?pid=xxxx&input=inputs/hdmi_in_1
Entering the translated command with heospy:
heos_player browse/play_input -p input=inputs/hdmi_in_1
The pid translates to gid and that is not working.
{ "heos_message_parsed": { "eid": "3", "text": "Missing Command arguments", "gid": "-1070650677", "input": "inputs/hdmi_in_1" }, "heos": { "message": "eid=3&text=Missing Command arguments&gid=-1070650677&input=inputs/hdmi_in_1", "command": "browse/play_input", "result": "fail" } }
from heospy.
You would also need to pass gid as another argument.
This should work : heos_player browse/play_input -p pid=xxxxxx -p input="inputs/hdmi_in_1"
from heospy.
Have It working indeed with:
heos_player browse/play_input -p input=inputs/hdmi_arc_1 -p pid=-1070650677
from heospy.
Thank your patience and sorry for not getting back to you earlier. You figured it out correctly, the default gid
should most be passed on for any browse
commands.
This was a non-breaking bug and should be fixed with the latest commit and in v0.2.5
.
from heospy.
Related Issues (16)
- --rediscover should save pid and host in config.json
- heos_player fails when performing any commands because of a lack of group ID HOT 1
- Printing speaker name leads to malformatted json? HOT 2
- Error 1 with the install of heospy HOT 2
- default pid and default gid HOT 1
- Missing default pid for some browse commands HOT 2
- Work with more than one player. HOT 5
- Strange behaviour of config file location HOT 1
- eid=7&text=no proxy device provided error after firmware update HOT 3
- Thumbs Up/Down HOT 1
- rediscover when initial host is not reachable HOT 1
- errors in Python 2 and Python 3 HOT 2
- Proper packaging HOT 1
- Telnet timeout with python3 HOT 1
- heospy should be a pypi published package HOT 4
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 heospy.