Re: Spider Monkey Panel (foo_spider_monkey_panel)
Reply #723 – 2021-02-24 12:25:59
Does someone know if there is a foobar controller (via Web or app) which does interact in some way with custom buttons, menus, etc? The idea is to run smp scripts while using the controller, for example to create smart playlists. I know I could create a dummy playlist, and sending things to that playlist I could check with callbacks and run scripts but... is there any other way? (somewhat built in, obviously I know I could run menu entries using cmd commands on a local network) Have tried these but they are limited to library management, playback or streaminghttps://play.google.com/store/apps/details?id=com.cav.foobar2000controller&hl=es_GT https://play.google.com/store/apps/details?id=com.foobar2000.foobar2000 https://hyperblast.org/beefweb/api/#/ There is no such app that I am aware of with such ready made interaction. My only suggestion is using foo_httpcontrol and an app such as HTTP Request Shortcuts to send the request. With foo_httpcontrol you can send a command line parameter to execute SMP main menu entries https://bitbucket.org/oblikoamorale/foo_httpcontrol/wiki/Commands#markdown-header-cmdline e.g "File / Spider Monkey Panel / 1"http://localhost:8888/default?cmd=CmdLine¶m1=/command:%221%22 In a SMP script create the code to be executed:function on_main_menu(index) { switch (index) { case 1: // triggered when File>Spider Monkey Panel>1 is run fb.ShowPopupMessage("success"); console.log("success"); break; } }