mikebrady / shairport-sync

AirPlay and AirPlay 2 audio player
Other
7.3k stars 574 forks source link

Control audio playback through an API #1517

Closed vidicunt closed 2 years ago

vidicunt commented 2 years ago

Is it possible to control audio aspects through code without input from a client? (e.g. skip track, pause. etc)

mikebrady commented 2 years ago

Thanks for the question. There is some limited remote control of the audio source (e.g. iTunes/Music) via MQTT and a B-Bus interface -- see ADVANCED TOPICS.md for a bit more information.

vidicunt commented 2 years ago

Hello, thank you for your answer!

I still couldn't find where an example of this is in the documentation, I'd really appreciate it if you could point out to me where that is! The MQTT page is broken.

mikebrady commented 2 years ago

Apologies — it’s here. I’ll fix the broken link.

mikebrady commented 2 years ago

Broken link fixed, I believe.

vidicunt commented 2 years ago

Thank you for fixing the broken link!

This is also broken: https://github.com/mikebrady/shairport-sync/blob/development/ADVANCED%20TOPICS/CAR%20INSTALL.md

I still wasn't able to find an example of D-Bus or MQTT control, only how to read metadata info from shairport...

mikebrady commented 2 years ago

Apologies again -- that link is fixed now.

I still wasn't able to find an example of D-Bus or MQTT control, only how to read metadata info from shairport...

I'm not sure I understand you correctly here -- could you elaborate please? (BTW, in case it's relevant, there are examples of D-Bus commands using the dbus-send Command Line tool here -- I think this link is working 🙄!)

github-actions[bot] commented 2 years ago

This issue has been inactive for 45 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.