INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: FR: Please add "GetType" action to "Files/Current" (MCWS)  (Read 1609 times)

masterjoe

  • World Citizen
  • ***
  • Posts: 235
FR: Please add "GetType" action to "Files/Current" (MCWS)
« on: June 22, 2016, 10:57:09 am »

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.
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: Please add "GetType" action to "Files/Current" (MCWS)
« Reply #1 on: June 24, 2016, 01:38:09 am »

Any feedback for this one? :)

THX
Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: FR: Please add "GetType" action to "Files/Current" (MCWS)
« Reply #2 on: June 29, 2016, 06:38:31 am »

Matt, please? It would be so cool to have this "type query" feature available in MC...

Thank you!
Logged
Pages: [1]   Go Up