Coder Social home page Coder Social logo

Comments (3)

willholdoway avatar willholdoway commented on June 24, 2024

Hi TGZ, why would you want to do this rather than just use mute/unmute? Given it's not an additional feature and is just a remap I would suggest maybe you do this by means of a universal media player?

from hifiberry.

TheGroundZero avatar TheGroundZero commented on June 24, 2024

Hi @willholdoway

It's easier if the entity can be configured using turn_on_action and turn_off_action instead of having to manually set tap_action etc to call the service.

Currently, stopping and restarting the played media (at least the radio stream) doesn't work as I'd expect to.
If I click the entity (status-icon in picture-elements card) I can stop the stream, but not restart it.
That's not how one would expect to control a mediaplayer from the HA dashboard.

So one would either expect to either "fix" it using turn_on_action and turn_off_action or the integration being able to do so.

from hifiberry.

willholdoway avatar willholdoway commented on June 24, 2024

Hi @TheGroundZero I don't understand your Lovelace setup with this unfortunately. Mute and unmute is not starting and stopping a media stream so I'm not happy to integrate a non-feature like that. As I mentioned before, remapping a function like this can be very easily achieved with a universal media player

from hifiberry.

Related Issues (13)

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.