[Question] Passing environment variable to mpv
manfred3000 opened this issue Β· comments
manfred3000 commented
First off, thanks for this great app π
I'd like to pass this LD_PRELOAD
environment variable to mpv
.
I've got next to no experience when it comes to using perl
- what I tried (to no avail - it's working from the command line, though):
video_players => {
mpv => {
arg => "--really-quiet --force-media-title=*TITLE* --no-ytdl *VIDEO*",
audio => "--audio-file=*AUDIO*",
cmd => "LD_PRELOAD=`jemalloc-config --libdir`/libjemalloc.so.`jemalloc-config --revision` /usr/local/bin/mpv",
fs => "--fullscreen",
novideo => "--no-video",
srt => "--sub-file=*SUB*",
},
},
Any help is appreciated,
thanks!
manfred3000 commented
I no longer need this workaround since the underlying issue has been fixed upstream