更新文件: system.xml, runwebdavsim.sh, rclonemount.sh, runembysim.sh, embysim.tar.xz

This commit is contained in:
ZJP Monitor
2025-07-12 19:15:13 +08:00
parent 585b0fbc95
commit 1b642ff8d6
5 changed files with 7 additions and 5 deletions

Binary file not shown.

View File

@ -64,9 +64,9 @@ if [ "$webdavsimok" != "1" ]; then
exit exit
fi fi
echo "ready to rclone mount, please wait...(abount 60s)" echo "ready to rclone mount, please wait...(abount 10s)"
#rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 60s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode writes --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1G --buffer-size 64M --vfs-cache-max-age 1h --vfs-cache-max-size 10G --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 10s --low-level-retries 2 --cache-dir rclone.cache --log-file rclone.log rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 10s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode writes --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 1G --buffer-size 64M --vfs-cache-max-age 1h --vfs-cache-max-size 10G --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 1800s --low-level-retries 2 --cache-dir rclone.cache --log-file rclone.log
rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 60s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode off --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 10s --low-level-retries 2 --log-file rclone.log #rclone --config rclone.conf mount webdavsim-nas:/dav external/rclone.media --daemon --daemon-wait 10s --no-check-certificate --allow-other --umask 000 --default-permissions --dir-cache-time 1h --webdav-vendor rclone --vfs-cache-mode off --timeout 1800s --contimeout 10s --daemon-timeout 300s --poll-interval 1800s --low-level-retries 2 --log-file rclone.log
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "mount ok" echo "mount ok"
else else

View File

@ -114,6 +114,6 @@ docker run -d \
#pandagroove/embysim:1.0.0 #pandagroove/embysim:1.0.0
sleep 1
docker cp "externalPlayer.js" "embysim":"/system/dashboard-ui/externalPlayer.js" docker cp "externalPlayer.js" "embysim":"/system/dashboard-ui/externalPlayer.js"
docker exec "embysim" sh -c "sed -i -e 's|<script src=\"externalPlayer.js\" defer></script></body>|</body>|g' \"/system/dashboard-ui/index.html\";sed -i 's|</body>|<script src=\"externalPlayer.js\" defer></script></body>|g' \"/system/dashboard-ui/index.html\"" docker exec "embysim" sh -c "chmod 777 /system/dashboard-ui/externalPlayer.js;sed -i -e 's|<script src=\"externalPlayer.js\" defer></script></body>|</body>|g' \"/system/dashboard-ui/index.html\";sed -i 's|</body>|<script src=\"externalPlayer.js\" defer></script></body>|g' \"/system/dashboard-ui/index.html\""

View File

@ -49,6 +49,7 @@ while true
do do
curl -v -L "http://127.0.0.1:${WEBDAV_PORT}/dav" curl -v -L "http://127.0.0.1:${WEBDAV_PORT}/dav"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
# ./webdav_simulator.$arch --selfip $SELFIP --port ${WEBDAV_PORT} --noindex --alist_config alistservers.txt --username guest --password guest_Api789 --proxymode 1 --blackwords '抖音,短剧,音乐22,mp3,wav,flac,BACKUP,BDMV,txt' --fake_media_file fake.mkv --strmmode 'xy115-all.txt.xz#xy-dy.txt.xz#xy-dsj.txt.xz#xy115-music.txt.xz'
./webdav_simulator.$arch --selfip $SELFIP --port ${WEBDAV_PORT} --noindex --alist_config alistservers.txt --username guest --password guest_Api789 --proxymode 1 --blackwords '抖音,短剧,音乐22,mp3,wav,flac,BACKUP,BDMV,txt' --fake_media_file fake.mkv --strmmode 'xy115-all.txt.xz#xy-dy.txt.xz#xy-dsj.txt.xz#xy115-music.txt.xz' ./webdav_simulator.$arch --selfip $SELFIP --port ${WEBDAV_PORT} --noindex --alist_config alistservers.txt --username guest --password guest_Api789 --proxymode 1 --blackwords '抖音,短剧,音乐22,mp3,wav,flac,BACKUP,BDMV,txt' --fake_media_file fake.mkv --strmmode 'xy115-all.txt.xz#xy-dy.txt.xz#xy-dsj.txt.xz#xy115-music.txt.xz'
echo "webdavsim exit, sleep 5s and restart" echo "webdavsim exit, sleep 5s and restart"
else else

View File

@ -32,6 +32,7 @@
<EnableDashboardResponseCaching>true</EnableDashboardResponseCaching> <EnableDashboardResponseCaching>true</EnableDashboardResponseCaching>
<ImageSavingConvention>Compatible</ImageSavingConvention> <ImageSavingConvention>Compatible</ImageSavingConvention>
<EnableAutomaticRestart>true</EnableAutomaticRestart> <EnableAutomaticRestart>true</EnableAutomaticRestart>
<ServerName>webdavsim</ServerName>
<PreferredDetectedRemoteAddressFamily>InterNetwork</PreferredDetectedRemoteAddressFamily> <PreferredDetectedRemoteAddressFamily>InterNetwork</PreferredDetectedRemoteAddressFamily>
<WanDdns /> <WanDdns />
<UICulture>zh-CN</UICulture> <UICulture>zh-CN</UICulture>