Plex Media Client
https://github.com/Aanok/pmcli
DISCLAIMER: the client sort of works but it is a side project and a learning experience for me. No guarantee whatsoever is offered about it. The target OS is Linux only.
$ sudo pacman -S lua luarocks mpv
$ sudo luarocks install http
$ sudo luarocks install dkjson
$ sudo luarocks install html-entities
$ sudo luarocks install --server=http://luarocks.org/dev pmcli
$ pmcli
- Plex Token : google borwser -> "F12"
~/.config/pmcli_config
base_addr = https://192.168.xxx.xxx:32400
require_hostname_validation = false
plex_token = LDx~~~~~~~~~~~~~~~cH
unique_identifier = pmcli-0.1-43922218~~~~~~~~~~415368369~~~~~
* NAS-PMS(Plex Media Server) + X11-pmcli(Plex Media Client) + mpv(+ Vapoursynth + python3 + lua)
~/.config/mpv/config
keepaspect
geometry=
no-terminal
profile=pms,opengl-hq
### Profile ####################################################################
[pms]
profile-desc="profile for Plex Media Server Direct Play. hardware decoding & vapoursynth"
input-ipc-server=/tmp/mpvsocket
#hwdec=no
hwdec=vaapi-copy
hwdec-codecs=all
#no-resume-playback
# normal top-level option
fullscreen=no
cache=123400
demuxer-readahead-secs=20
#vo=opengl # deprecated
vo=gpu
vf-clr
interpolation=no
video-sync=audio
tscale=linear # The filter used for interpolating the temporal axis (frames). --tscale=help
tscale-clamp=0
scale=bilinear
cscale=bilinear
* example: https://imgur.com/qEJDmoi.gifv