TristanLateingne wrote: > Unearthing this old thread, hopping Peter still hangs around... I am > trying to use this plugin to add a command to an opml playlist. I have a > question : > > What syntax should I use with squeezeexec ? > I tried the followings but it did not work : > <outline text="eject" type="squeezeexec" URL="squeezeexec://eject"/> > <outline text="eject" type="squeezeexec" URL="squeezeexec:/eject"/> > <outline text="eject" type="squeezeexec" URL="/eject"/>
You're trying to execute the LMS server's *eject* command on Linux or MacOS? I think you probably need a URL like squeezeexec:secret=123456789012&p0=/usr/bin/eject or maybe just squeezeexec:secret=123456789012&p0=eject -- including the required "secret" argument as mentioned in 'this post' (https://forums.slimdevices.com/showthread.php?78259-Playlist-quot-Macro-quot-URL-Commands-Maybe-Kidsplay&p=543452&viewfull=1#post543452) and ideally setting "p0" to the full path of the eject command. I haven't used squeezexec: in a very long time, but I would expect you could use the LMS web "Tune in URL" to test the squeezeexec: URL. As OPML is XML, you'd encode a URL like "squeezeexec:secret=123456789012&p0=/usr/bin/eject" as "squeezeexec:secret=123456789012*&*p0=/usr/bin/eject". Another thing: historically Linux distributions have used a group like "cdrom" to limit who can use the CD/DVD drive. You might need to permanently add the Unix user that LMS runs as to that group so that it can eject the optical disk -- just running the eject command won't be enough if the LMS user lacks sufficient privileges. And the scanner bug I mentioned in 'this post' (https://forums.slimdevices.com/showthread.php?78259-Playlist-quot-Macro-quot-URL-Commands-Maybe-Kidsplay&p=544174&viewfull=1#post544174) might still cause problems. I hope that helps! owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock ------------------------------------------------------------------------ peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=78259 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
