Re:YouTube Music, a new music streaming service, is coming soon
by iforgotpassword on Thursday May 17, 2018 @03:47AM
(#17089557)
Did you set this up manually? I'm not using Spotify but this sounds rather confusing. Is it at least smart enough to recognize when there's something else playing on your computer and send the skip command to that app instead of your phone if you hit the skip key?
[ Parent
| on HN ]
Re:YouTube Music, a new music streaming service, is coming soon
by weavie on Thursday May 17, 2018 @04:01AM
(#17089614)
It knows which device is currently playing. Anything you do sends it to the currently playing device. You can pull up a list of all connected devices and select which one you want to be playing. It then starts on the new device from where the old one left off.
It works really well. I have my raspberry pi plugged into my amplifier, and play through that. I control it with my phone or laptop, whichever is nearer.
Re:YouTube Music, a new music streaming service, is coming soon
by icebraining on Thursday May 17, 2018 @04:22AM
(#17089685)
I think the question is about the media keys. What happens if your phone is playing something on Spotify, and your laptop is playing something on VLC, but also has Spotify open? Does pressing the skip media key make both players skip, or just one of them?
Re:YouTube Music, a new music streaming service, is coming soon
by midvar on Thursday May 17, 2018 @08:58AM
(#17090891)
On Windows hold shift then press the media keys to control a second (background) program. Found this out purely by accident in this exact scenario, VLC in foreground and Spotify in background!!!
Re:YouTube Music, a new music streaming service, is coming soon
by weavie on Thursday May 17, 2018 @04:33AM
(#17089728)
Ah interesting question.
This thread implies that there can be a war between apps fighting for control
https://community.spotify.com/t5/Desktop-Windows/Media-keys-....
I've never really used the media keys, so have no idea how it really works in practice. Might have a play when I get home later.
Re:YouTube Music, a new music streaming service, is coming soon
by byte1918 on Thursday May 17, 2018 @06:47AM
(#17090206)
On Windows VLC will swallow hot keys if it's on top, otherwise they are caught by spotify. If they are both in the background it's spotify. If there's another app that listens to the same hot keys, I think (pretty confident) that it's the last one to register for the hot key.
Re:YouTube Music, a new music streaming service, is coming soon
by mnx on Thursday May 17, 2018 @06:09AM
(#17090070)
As other replies pointed out, this is handled by the OS. Seems to work well most of the time for me on Ubuntu.
Re:YouTube Music, a new music streaming service, is coming soon
by phito on Thursday May 17, 2018 @04:33AM
(#17089732)
I think the media key interuption dispatching is handled by the OS and not the apps