[HX-engine] add PlexMediaPlayer to run IN hx-engine

Post Reply
User avatar
father.mande
Posts: 1817
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[HX-engine] add PlexMediaPlayer to run IN hx-engine

Post by father.mande »

Hi,

Following a question from Micke :

1) create a shell to start the PMP
cd /usr/local/AppCentral/hx-engine/bin/serv (the server in ASUSTOR side)
create a shell then add execute rigth NAME = pmp.sh (important ... reused in hx-engine side)

Code: Select all

#!/bin/sh
/usr/local/AppCentral/pmp/run_pmp.sh
modify the run_pmp.sh (to use full path)
change :

Code: Select all

./bin/plexmediaplayer
by

Code: Select all

/usr/local/AppCentral/pmp/bin/plexmediaplayer
2) add a script in hx-engine side
cd /usr/local/AppCentral/hx-engine/my_asustor/etc/ASUSTOR/bin
create script named : start_pmp.sh use in Desktop launcher next

Code: Select all

#!/bin/bash
echo "astr:pmp.sh" > /tmp/MY_SERVER
3) on hx-engine XFCE Desktop create a Launcher
Name : PlexMediaPlayer
Comment : Asustor side program
Command : /etc/ASUSTOR/bin/start_pmp.sh
NO working directory
icons : choice or add your own (Xfce)
check "run in terminal"
save

4) double click on new icons
... select "add it to executable" and run
PlexMediaPlayer will be displayed (Windows mode)
... after as usual.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Desktop_Engine”