Jump to content
C4 Forums | Control4

Multi-Room Music Driver Issue


king_ms

Recommended Posts

Hi,

    I am try to develop a Multi-Room Music Audio Driver,used 2 proxies:amplifier and media service proxy! And now I have a problem。

Proxy:media service ,binding 5001

function UpdateMediaInfo(idBinding, line1, line2, line3, line4, url, roomId, mediatype, merge)

    local params = {}
      params["ROOMID"] = roomId
      params["IMAGEURL"] = ""

      params["LINE1"] ="line1"
      params["LINE2"] = "line2"
      params["LINE3"] = "line3"
      params["LINE4"] ="line4"
      params["MEDIATYPE"] ="secondary"
      params["MERGE"] ="true"
      --C4:SendToProxy(idBinding, "UPDATE_MEDIA_INFO", params, "COMMAND", true)

end

When I use function UpdateMediaInfo,No matter how the “ROOMID” is set,All rooms media Info  update.But I just want to specify a room change

How should I implement a separate room change?

 

Link to comment
Share on other sites

  • 4 months later...

We also develop a Multi-Room Music Audio Driver,used 2 proxies:amplifier and media service proxy!we separate it by  zone id

 function GetMapInput()
    gMapInput = {
       [0] = gZone1Id,
       [1] = gZone2Id,
       [2] = gZone3Id,
       [3] = gZone4Id,
       }
end

we are do the same  kind diver we can learn from each other,the media diver is complex!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.