Coder Social home page Coder Social logo

Command not working about heospy HOT 4 CLOSED

ping13 avatar ping13 commented on June 18, 2024
Command not working

from heospy.

Comments (4)

Brutuss avatar Brutuss commented on June 18, 2024

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.

princebose08 avatar princebose08 commented on June 18, 2024

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.

Brutuss avatar Brutuss commented on June 18, 2024

Have It working indeed with:

heos_player browse/play_input -p input=inputs/hdmi_arc_1 -p pid=-1070650677

from heospy.

ping13 avatar ping13 commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.