View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0019417 | MMW 5 | Extensions framework | public | 2022-09-30 20:45 | 2022-10-03 11:32 | 
| Reporter | peke | Assigned To | |||
| Priority | urgent | Severity | feature | Reproducibility | N/A | 
| Status | resolved | Resolution | fixed | ||
| Target Version | 2024.0 | ||||
| Summary | 0019417: Play to available devices not available for Scripters | ||||
| Description | Play to devices not available for Script Developers. It could be very useful for some scripts like MonkeyMote to have remote playback control. | ||||
| Additional Information | https://www.mediamonkey.com/forum/viewtopic.php?p=501298#p501298 | ||||
| Tags | No tags attached. | ||||
| Fixed in build | |||||
|  | The API is already there. For the list of remote players: https://www.mediamonkey.com/docs/api/classes/Sharing.html#method_getAvailablePlayers For getting the active player: https://www.mediamonkey.com/docs/api/classes/Sharing.html#method_getActivePlayer For setting the active player: https://www.mediamonkey.com/docs/api/classes/Sharing.html#method_setActivePlayerUUID For the code example see e.g. generateChoosePlayerSubmenu in actions.js (or inspect it in DevTools) For calling JS code from external applications see the runJSCode example at https://www.mediamonkey.com/wiki/Controlling_MM5_from_External_Applications | 
