-
-
Notifications
You must be signed in to change notification settings - Fork 577
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
[Problem]: MQTT Remote Control does nothing #1858
Comments
Thanks for the post. Unfortunately, this seems to be due to a change at the player (e.g. the Music app). The issue is that some changes have occurred in recent versions of iOS and Mac such that the players don't respond to the remote control commands being sent by Shairport Sync. It's not just confined to Shairport Sync either -- it seems to be a general problem. |
Ouch that sucks... Was looking forward to put a Hue tap in the shower to be able to pause music, skip a track and change the volume. TvOS 17.5 is already out and Apple appears to have done nothing it seems. |
Thanks, yeah, it is a pity alright, but it may be that Apple are simply moving on, removing obsolete (to them!) features. IOW, it might not be a "bug" to them... The real problem is that the protocols for their remote control and general supervision are (to my knowledge) unknown. If progress could be made there, it would give us a way to move forward. |
Yeah the weird thing is that pausing the specific shairport-sync speaker from Apple Shortcuts on my iPhone (iOS 17.5.1) works without problem. @mikebrady Just so I am understanding correctly; the fact that shairport-sync does not log anything when I post /remote play etc on MQTT is by design? |
Could that be because the shortcut is talking directly to the Music app on the iPhone?
It is by design, though it could easily be changed. The question is whether it might just fill up the log... |
I am gonna test this when I have the time. The shortcuts targets a specific shairport-sync player. Gonna start a stream from my iPad and then run the shortcut from my iPhone. NB this only works since I updated from 1.1.1 (which has been running amazingly but was missing the 'remote control' part) to the latest dev version. (Was already running dev since back then only dev supported AirPlay2)
No worries, was just wondering if shairport-sync was even registering the remote commands |
This issue has been inactive for 28 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment. |
common stale bot L 🤫 |
Huh? |
What can I say, except that stale bot's only purpose (or at least effect) is to fill issues with useless comments like these under the threat of closing the issue otherwise. (I almost don't want to write this one because it's clearly off topic but whatever.) An issue doesn't automatically become invalid just because it's old. |
Closing inactive issues keeps actively discussed issues to the forefront. Closed issues do not become invalid and can be reopened when they become active again. It's pretty simple. |
Wanted to chime in that I'm experiencing the same issue. Integrated using the Home Assistant, can't control anything when using Airplay from my iPhone (iOS 17.6.1). I did some tests and discovered that I actually do have some control when I use Airplay from my Macbook (OSX 12.7). I can control Play/Pause but not volume up/down. Edit: Saw in one of the other issue threads that it's not a shairport issue at all and seems like it'll be fixed in iOS 18 |
Has this been fixed with iOS 18? |
I don't know about others, but for me it doesn't work with iOS18 either play/pause, volumeup/volumedown on hass-shairport-sync mqtt log:
Up/Down on iPhone 15 Pro iOS18 mqtt log:
|
The same applies to iOS 18.1 beta 5 😡 |
also not working for me |
Also came here to report control issues. Shairport Log on iPhone 12mini (iOS 17.6.1):
Shairport Log on iPhone SE 1. Gen (iOS 15.8.3):
It seems like "ptp-utilities.c:225" isnt being called after the remote command in the new iOS versions. |
Thanks for the report! Just BTW, is Shairport Sync the same version in both? Anyway, the |
i do also see that with the old AirPlay User-Agent there is an "Active-Remote" content.
But with the newer User-Agent there is no remote anymore :(
|
What do you mean the same version in both? |
Thanks -- sorry for not being clear. Your observation about the missing User-Agent is correct, as far as we know, sadly. |
Sorry for the noob suggestion: |
Not a bad suggestion at all! Sadly, we've tried it, and no cigar. We've also been looking to see if it's carried somewhere else, but unfortunately haven't found it. If anyone has any more ideas, we'd love to hear 'em. |
What happened?
Installed latest dev version and connected to MQTT server
Sending [mqtt topic]/remote play etc does nothing, I see nothing in the logs of shairport-sync confirming that it is processing the commands (and nothing happens so it seems to ignore it)
Relevant log output
System Information.
Raspberry Pi 3B running RaspberryPi OS Bullseye
HifiBerry DAC+
uname -a
Linux livingroom 5.15.76-v7+ #1597 SMP Fri Nov 4 12:13:17 GMT 2022 armv7l GNU/Linux
shairport-sync -V
4.3.3-dev-82-g2ec6068b-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-metadata-mqtt-sysconfdir:/etc
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0 [HiFiBerry DAC+ Pro HiFi pcm512x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Configuration Information.
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues
The text was updated successfully, but these errors were encountered: