Modified old jellyfin wrapper for feishin
This commit is contained in:
parent
9388a66727
commit
dd25a91ce8
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
# Wrapper for Jellyfin Media Player to auto start/stop jellyfin-rpc
|
||||
# Wrapper for Feishin to auto start/stop jellyfin-rpc
|
||||
|
||||
if [ ! -f "$HOME/.local/bin/jellyfin-rpc" ]; then
|
||||
echo "Please ensure jellyfin-rpc is installed to ~/.local/bin/ and executable"
|
||||
fi
|
||||
|
||||
$HOME/.local/bin/jellyfin-rpc &
|
||||
/usr/bin/jellyfinmediaplayer
|
||||
/opt/feishin/feishin
|
||||
kill -9 $(pgrep -f jellyfin-rpc)
|
||||
exit
|
Loading…
Reference in New Issue