Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#11182 closed Patch - Feature (fixed)

[PATCH] Send system events for RAOP

Reported by: Dave Badia <dbadia@…> Owned by: JYA
Priority: minor Milestone: 0.27.1
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Send system events when devices connect and disconnect to RAOP

Attachments (2)

raop-sys-event (1.3 KB) - added by Dave Badia <dbadia@…> 11 years ago.
patch
0001-Trigger-system-events-when-devices-connect-and-disco.patch (2.7 KB) - added by Dave Badia <dbadia@…> 10 years ago.
Updated patch

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by Dave Badia <dbadia@…>

Attachment: raop-sys-event added

patch

comment:1 Changed 11 years ago by JYA

Owner: set to JYA
Status: newaccepted

comment:2 Changed 11 years ago by JYA

What would you use this for? Wouldn't it make sense to also provide this for AirPlay? as well?

comment:3 Changed 11 years ago by JYA

Status: acceptedinfoneeded

comment:4 Changed 11 years ago by David Badia <dbadia@…>

I use it to trigger a script to power on my audio receiver so I can hear the music. I don't use AirPlay?, but yes, it likely would make sense. This patch doesn't apply cleanly anymore, I will work on a new one

comment:5 Changed 10 years ago by sphery

Status: infoneededassigned

Info was provided, though updated patch (that applies cleanly after changes and includes airplay) not yet provided.

comment:6 Changed 10 years ago by JYA

Wouldn't it be more useful to have an event about playback starting?

When RAOP starts, it currently sends a system-wide event to say that playback is about to start. This is currently used to interrupt any current playback. So the frontend can return to the main menu and shows the airplay audio data instead.

Changed 10 years ago by Dave Badia <dbadia@…>

Updated patch

comment:7 Changed 10 years ago by Dave Badia <dbadia@…>

Resolution: fixed
Status: assignedclosed

In c5306f3ba063de7b25ce3cfc3757f9b8998b251b/mythtv:

Trigger system events when devices connect and disconnect to AirPlay? and AirTunes?

Fixes #11182
Signed-off-by: Jean-Yves Avenard <jyavenard@…>

comment:8 Changed 10 years ago by JYA

Milestone: unknown0.27.1

comment:9 Changed 10 years ago by Dave Badia <dbadia@…>

In d567ccb51761f0306b1930a2f56abb11c4b81112/mythtv:

Trigger system events when devices connect and disconnect to AirPlay? and AirTunes?

Fixes #11182
Signed-off-by: Jean-Yves Avenard <jyavenard@…>

(cherry picked from commit c5306f3ba063de7b25ce3cfc3757f9b8998b251b)

Note: See TracTickets for help on using tickets.