Jump to content
king_ms

Multi-Room Music Driver Issue

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?

 

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×