itsToggle/rclone_RD

Synology - Docker - Extremely long starting video display time

lolo45 opened this issue ยท 1 comments

How to use GitHub

  • Please use the ๐Ÿ‘ reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Hello.
I have followed the installation and setup instructions as per the wiki and also searched on Discord. Assuming all software and mounts have been configured correctly, I am encountering an issue where the content on the mounted rclone_RD drive is listed after 3 to 10 minutes.

Steps to Reproduce
Followed the installation guide on the project's wiki for docker.
Set up the mount as described in the wiki, using rclone with the recommended settings found from various users on Discord.

sudo mkdir -p /volume1/docker/rclone/config
sudo mkdir -p /volume1/docker/rclone/cache
sudo docker plugin install itstoggle/docker-volume-rclone_rd:amd64 args="-v" --alias rclone --grant-all-permissions config=/volume1/docker/rclone/config cache=/volume1/docker/rclone/cache
sudo docker volume create realdebrid -d rclone -o type=realdebrid -o realdebrid-api_key=MYAPIKEY -o allow-other=true -o dir-cache-time=10s -o vfs-cache-mode=full -o vfs-cache -max-size=900G
sudo docker run --rm -i -v realdebrid:/realdebrid busybox find /realdebrid
Attempted to play or list various media files from the mounted drive.

Expected Behavior
Media files should play smoothly without waiting so long..

Actual Behavior
It works, BUT...
when I use the 'busybox' command, the first time, I wait at least 3 to 10 minutes for all the torrents to appear correctly. (18 torrents in my case)
Finally, they are all appear.
when I run the 'busibox' command several times, just after the first launch, the torrents are displayed immediately
I run this command multiple times (5 or 10, it depends), and the torrents are listed immediately.
then after a while (around the 6 or 15 time), again, wait 3 to 10 minutes.
When attempting to play any media file from the mounted rclone drive, playback is waiting so long (3 to 10 minutes)

I mounted the realdebrid volume on JellyFin, the behavior is identical, waiting 3 to 10 minutes at startup, before the video starts without lag.
then if I stop and change the video, again a wait of 3 to 10 minutes.

I tried adding -o vfs-cache-mode=full -o vfs-cache-max-size=900G but that didn't change anything
Where could the problem come from, and how to solve it ?
or what information (log? in this case where is it located?) would be useful ?

Environment
OS: Synology (DS920+) DOCKER
Lastest rclone_rd
Media player being used: Jellyfin

Troubleshooting Steps Taken
Verified that all software is up to date.
Changed the mount name from realdebrid to rdmount (identical behavior)
Searched for similar issues on Discord and followed the suggested solutions.