adelyte / crescendo-for-crestron

Crescendo Framework for Crestron control systems.
https://www.adelyte.com/crestron/crescendo
Other
77 stars 26 forks source link

Sharing parent/child sources to rooms #68

Closed adelyte-austin closed 6 years ago

adelyte-austin commented 7 years ago

In Crescendo, if video source @ ID 01 distributes its audio to audio-only zones, an optional child source @ ID 41 can be created. This is sometimes referred to as a Piggyback Audio Source. The audio source @ ID parent + 40 serves two purposes:

The following use case issue has been reported: If a video zone is watching Source 01, the sharing menu contains only the other video zones that can also watch cable. Audio zones that can listen to the child source 41 do not appear in the sharing menu., unless.. Those rooms are given Source 01 in the Sources parameter. Then they will appear in the sharing menu as desired. Since the Watch menu is disabled for non-video zones, there is no UI context for watching this source in a room without video.

In the reverse use case, an audio zone on Source 41 (Cable Audio or Music) can share this source with any other room, including video zones, provided the Room is configured for Source 41. Typically selecting a piggyback audio source for a video zone will leave the display off, or leave the current video unaffected. Any video zone that wants sharing capabilities from piggyback sources must display those sources in the Listen menu.

The only problem I can perceive with adding the Video Source 01 to audio rooms is for a room like the Master Bedroom in "The Loft" demo, which:

In this case the Watch menu is enabled, and would list Cable 01 as a valid option, but the room cannot actually view this source. With the current codebase, the programmer must decide to omit the Master Bed as a shareable zone, or keep the invalid source if they wish for this room to appear in the sharing menu, from a video zone that has Source 01 selected.

adelyte-austin commented 7 years ago

@adelyte-chris Is it feasible to add logic to Rooms Sources Controller.usp similar to source-in-use tracking between parent/child sources, that can enable sharing a video source to audio rooms that are configured only with the piggyback ID? This would eliminate the need to add Source 01 to audio rooms.