Code Monkey home page Code Monkey logo

Comments (4)

frenck avatar frenck commented on September 23, 2024

Assuming you are talking about Home Assistant events here. This is not part of the add-on, nor the responsibility of an add-on.

If you are interested in automating Spotify with Home Assistant, please take a look at the Spotify integration for Home Assistant.

from addon-spotify-connect.

davidrustingha avatar davidrustingha commented on September 23, 2024

Hi Frenck. I am indeed talking about Home Assistant events.
I am already automatisch the Spotify Addon, but when a guest plays music I have no media_players that update since his account isn’t integrated. The only reference I have is the Spotify Connect add on log.

Would it be possible for an add on to send out events?

from addon-spotify-connect.

frenck avatar frenck commented on September 23, 2024

See my previous answer

from addon-spotify-connect.

pax0r avatar pax0r commented on September 23, 2024

@davidrustingha If you still need this I have forked this addon and implemented simple events: https://github.com/pax0r/addon-spotify-connect
It uses on_song_change_hook from spotifyd, but it will not send song names only IDs.

I wanted to automated changing audio source on my sound system to the input connected to the Home Assistant when playing music using this add-on. Spotify Integration was not an option as reaction was to slow for this use case (few seconds at least before changing state). With events directly from the addon works like a charm!

@frenck if you would change your mind about events sends by this add-on I can prepare PR with this change.

from addon-spotify-connect.

Related Issues (20)

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.