With this command you can unassign media from a tray. It is possible to unassign multiple trays in one command.
XPath:/JMF/Command[@Type="oce:UnAssignMediaToTray"]
This command must contain only the location of the tray you want to unassign.
XPath: /JMF/Command[@Type=”oce:UnAssignMediaToTray”]/Media
XPath: /JMF/Command[@Type="oce:UnAssignMediaToTray"]Location/@LocationName
The LocationName can be retrieved by the JMF message KnownDevices with @DeviceDetails="Full".
Description
With this attribute you can specify the input tray location you want to unassign.
<JMF ……> <Command ID="unassign_command" Type="oce:UnAssignMediaToTray" xsi:type="CommandUnAssignMediaToTray"> <Location LocationName="Tray-4" /> </Command> </JMF>
<JMF .....> <Command ID="unassign_command" Type="oce:UnAssignMediaToTray" xsi:type="CommandUnAssignMediaToTray"> <Location LocationName="Tray-11" /> <Location LocationName="Tray-12" /> <Location LocationName="Tray-13" /> <Location LocationName="Tray-21" /> </Command> </JMF>
If you want to use this snippet, download the whole collection of examples in this TRM from this link: