Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending command pauses music and doesn't resume #4

Open
Mrono opened this issue Feb 11, 2017 · 3 comments
Open

Sending command pauses music and doesn't resume #4

Mrono opened this issue Feb 11, 2017 · 3 comments

Comments

@Mrono
Copy link

Mrono commented Feb 11, 2017

No description provided.

@jtara
Copy link

jtara commented Mar 6, 2017

I don't think it "pauses" it - it just preempts whatever is playing. Keep in mind, this script doesn't really do anything specific with Home - it just casts some audio to a Chromecast audio receiver, which Home is one of.

I think it may be possible to query for current stream and position and restore afterwards.

But what really is needed is an announcement service for Home from Google (which probably would make this script unnecessary.)

I note that e.g. Google's timers reduce volume of any music playing, and restore it when done with announcement. Google needs to expose that functionality, IMO.

@Mrono
Copy link
Author

Mrono commented Mar 6, 2017

Once I looked into how it worked I realized that with current apis it's not possible. Since you're sending an mp3 stream to the home it will stop whatever is playing, just like if you cast the audio from your phone

nabbl added a commit to nabbl/google-home-notifier that referenced this issue Dec 13, 2017
@markosole
Copy link

Did anyone found a way to control that "resume"?

PS: I have made PHP script with MySQL which acts as a DNS server for this and URL is static all the time. If you are interested, I can push it online to github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants