Jellyfin + Drive Playback issue:

What is the problem you are having with rclone?

When I play a movie through Jellyfin, it takes between 10 and 30 seconds to start. Once it starts, if I fast forward or rewind the movie, it works perfectly.

Run the command 'rclone version' and share the full output of the command.

rclone v1.64.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-86-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.1
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Unit]
Description=rclonemount
After=multi-user.target
[Service]
ExecStart=/usr/bin/rclone mount drive: /mnt/rclone
--dir-cache-time=5m
--buffer-size=64M
--attr-timeout=1s
--vfs-read-chunk-size=64M
--vfs-read-chunk-size-limit=2G
--gid 100
--uid 1024
--umask 000
--vfs-cache-max-age=24h
--vfs-cache-mode=full
--cache-dir /home/rclonecache/
--config=/root/.config/rclone/rclone.conf
--checkers=64
--cache-info-age=1m
--log-level INFO
--log-file=/home/rclonecache/cachelog.log
--allow-other
--allow-non-empty
--tpslimit 10
--tpslimit-burst 10

ExecStop=/usr/bin/fusermount -uz /mnt/rclone
Restart=on-abort

[Install]
WantedBy=default.target

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

'''drive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive.readonly
token = XXX
team_drive =
'''

welcome to the forum,

this is a well tested systemd for gdrive and media streaming.
https://github.com/animosity22/homescripts/blob/master/systemd/rclone-drive.service

1 Like

Thank you for your welcome, and I apologize for not introducing myself. Thank you very much for your help!

I'll give a try.

Hello! Seems to works perfect, thanks you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.