mirror of
http://gitea.phreedom.club/localhost_frssoft/peertube-cli
synced 2024-11-16 13:33:17 +00:00
enable cache-on-disk, because large media can make cache overflow in RAM and can't load more than 30-60 mins
This commit is contained in:
parent
a705f79547
commit
028b3c8387
|
@ -7,7 +7,8 @@ torrent_enabled=$(jj -i $workdir/config.json torrent_enabled)
|
|||
rpcport=9095
|
||||
instance_hist="$workdir/instance.hist"
|
||||
ordering='title'
|
||||
default_player_command='mpv --hwdec --network-timeout=30 --profile=low-latency'
|
||||
tempvideostor=$(mktemp -d)
|
||||
default_player_command="mpv --hwdec --network-timeout=30 --profile=low-latency --cache=yes --cache-on-disk=yes --cache-dir=$tempvideostor --cache-unlink-files=immediate"
|
||||
|
||||
mkdir -p $workdir
|
||||
if [ ! -f "$workdir/config.json" ]; then
|
||||
|
|
Loading…
Reference in a new issue