peterw wrote: 
> 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!


Hi, thanks a lot for your answer.

I am indeed trying to run the eject command under linux. My goal is to
integrate a slot-in CD player to my home made connected amplifier
running piCorePlayer on a raspberry Pi.
For this, I need to have a software eject button in Jivelite.
The easiest way would be to have an "eject >" line into the CDPlayer
addon playlists.
I already got the CDPlayer addon working after correcting a long
standing bug, no I am trying to add this eject line.

I have tried installing your plugin. The eject line does show up, and
clicking it leads to the player trying to play the URL as an audio file.
The logs shows the following error :

Code:
--------------------
    [21-04-30 14:08:11.4722] 
Slim::Player::TranscodingHelper::getConvertCommand2 (485) Error: Didn't find 
any command matches for type: PLUGIN_SQUEEZECLIHANDLER_squeezecmd
  
--------------------

Could this be related to the bug you mentioned in your above post ?


------------------------------------------------------------------------
TristanLateingne's Profile: 
http://forums.slimdevices.com/member.php?userid=71709
View this thread: http://forums.slimdevices.com/showthread.php?t=78259

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to