Hi there,
regarding the latest change in build 21.0.90 where "Files/Current" (MCWS) is now responding in Theater View I'd like to request another feature that would help using Theater View as some sort of selection UI for navigating, playing files and building playlists - all done programmatically with MCWS functions.
This would be my tiny feature request:
Please add a new action to "Files/Current" called "GetType" which purely returns the type of the currently selected item (ActiveFileOnly=1). The type could be returned as a string or as an enumeration value (0..n). The query shall only be made for the currently selected item and *not* for any items below this item (e.g. in case of a view). It's just a "quick shot" to find out what is currently selected / highlighted and then to decide what to do next with this item.
Examples for the returned type could be:
- Video
- Audio
- Image
- View
- ...
Eventually a "sub type" should be returned as well (second field in response) in cases where the "main type" is not detailed enough.
The new action allows to find out what is currently below the "selection box" in Theater View. Depending on the outcome of the "Type" query context-dependent functions can be executed to proceed.