My batch file works great for whatever the current zone is:
@ECHO OFF
start MC20.exe /PlayReplace TREEPATH="Playlists\*Genre Lists\Classical"
I want to target an external zone (raspberry). I tried this but it does not work:
@ECHO OFF
start MC20.exe /PlayReplace TREEPATH="\\Playlists\*Genre Lists\Classical|zone=10450"
I found the zone id by going to /MCWS/v1/Playback/Zones:
<Response Status="OK">
<Item Name="NumberZones">4</Item>
<Item Name="CurrentZoneID">0</Item>
<Item Name="CurrentZoneIndex">0</Item>
<Item Name="ZoneName0">Player</Item>
<Item Name="ZoneID0">0</Item>
<Item Name="ZoneGUID0">{492AFDD5-7A9E-426A-91E9-5EFF67D80BE1}</Item>
<Item Name="ZoneName1">Studio</Item>
<Item Name="ZoneID1">10428</Item>
<Item Name="ZoneGUID1">{692D8B43-EF82-4AD8-95D2-0D2F5149373B}</Item>
<Item Name="ZoneName2">Raspberry</Item>
<Item Name="ZoneID2">10450</Item>
<Item Name="ZoneGUID2">{143b7f4a023e95f2b4fd6bc9679501c8}</Item>
</Response>
thanks for your help.