URL upload to onedrive & use it as source for stream

Yup. When I download from same url with IDM which is download manager. It is getting downloaded.
ssssss

I have used this. It took time more as compared to rclone copy. But it copies.

And don't know how ti get live transfer status.


rclone copyurl 'https://cdn1.jv-cdn.workers.dev/0:/Downloads/www.TamilBlasters.party%20-%20Vanam%20(2021)%20[Tamil%20-%201080p%20HD%20AVC%20-%20UNTOUCHED%20-%20x264%20-%20DD5.1%20(320%20Kbps)%20-%203.1GB].mkv' onedrive:Movies -a -p

use --progress

Till now what I have understood is RCLONE COPY does thing with directories.

I tried these with little knowledge & modifications. It given me like this. Now I am trying to use -a --progress only.



ubuntu@ubuntu:~$ rclone copyurl 'https://cdn1.jv-cdn.workers.dev/0:/Downloads/www.TamilBlasters.party%20-%20Vanam%20(2021)%20[Tamil%20-%201080p%20HD%20AVC%20-%20UNTOUCHED%20-%20x264%20-%20DD5.1%20(320%20Kbps)%20-%203.1GB].mkv' onedrive:Movies -a -p -v
2022/01/01 19:50:12 INFO  :
Transferred:          590 MiB / 3.124 GiB, 18%, 10.841 MiB/s, ETA 4m
Transferred:            0 / 1, 0%
Elapsed time:       1m1.5s
Transferring:
 * www.TamilBlasters.part…320 Kbps) - 3.1GB].mkv: 18% /3.124Gi, 10.841Mi/s, 4m0s

2022/01/01 19:51:12 INFO  :
Transferred:        1.240 GiB / 3.124 GiB, 40%, 12.143 MiB/s, ETA 2m38s
Transferred:            0 / 1, 0%
Elapsed time:       2m1.5s
Transferring:
 * www.TamilBlasters.part…320 Kbps) - 3.1GB].mkv: 39% /3.124Gi, 12.143Mi/s, 2m38s

2022/01/01 19:52:12 INFO  :
Transferred:        1.885 GiB / 3.124 GiB, 60%, 11.175 MiB/s, ETA 1m53s
Transferred:            0 / 1, 0%
Elapsed time:       3m1.5s
Transferring:
 * www.TamilBlasters.part…320 Kbps) - 3.1GB].mkv: 60% /3.124Gi, 11.175Mi/s, 1m53s

2022/01/01 19:53:12 INFO  :
Transferred:        2.539 GiB / 3.124 GiB, 81%, 10.834 MiB/s, ETA 55s
Transferred:            0 / 1, 0%
Elapsed time:       4m1.5s
Transferring:
 * www.TamilBlasters.part…320 Kbps) - 3.1GB].mkv: 81% /3.124Gi, 10.834Mi/s, 55s

www.TamilBlasters.party - Vanam (2021) [Tamil - 1080p HD AVC - UNTOUCHED - x264 - DD5.1 (320 Kbps) - 3.1GB].mkv
2022/01/01 19:54:05 INFO  :
Transferred:        3.124 GiB / 3.124 GiB, 100%, 10.652 MiB/s, ETA 0s
Transferred:            1 / 1, 100%
Elapsed time:      4m54.5s


This is nice. Exactly what I wanted to happen. Only thing to learn how to use multiple url in single command.


rclone copyurl 'https://cdn1.jv-cdn.workers.dev/0:/Downloads/www.TamilBlasters.party%20-%20Vanam%20(2021)%20[Tamil%20-%201080p%20HD%20AVC%20-%20UNTOUCHED%20-%20x264%20-%20DD5.1%20(320%20Kbps)%20-%203.1GB].mkv' onedrive:Movies -a --progress
Transferred:           60 MiB / 3.124 GiB, 2%, 9.999 MiB/s, ETA 5m13s
Transferred:            0 / 1, 0%
Elapsed time:         9.6s
Transferring:
 * www.TamilBlasters.part…320 Kbps) - 3.1GB].mkv:  1% /3.124Gi, 9.999Mi/s, 5m13s


very hard to read that screenshot, can you just copy/paste

this does work
rclone ls :http: --http-url='https://downloads.rclone.org/v1.57.0'
but this does NOT work
rclone ls :http: --http-url='https://cdn1.jv-cdn.workers.dev'

i am going to guess, that by design, such websites do not want everybody on the internet to use tools like rclone to easily list and download all file in bulk.
and that is the reason for There was nothing to transfer

Yes that may be major factor that it is not let use the rclone copy on that website. But I am happy that rclone copyurl is working for me. As per my needs.

Only thing to learn now is how to use rclone copyurl for multiple url in single command.

do not think that is possible, just script it, i shared a simple script

Just a doubt jellyfin doesn't show media addition / deletion. But rclone ls remote: shows all details.

Any help.

that is kinda of hard to understand, really need to better explain what you need help with?

I have deployed jellyfin docker below & using rclone mount service. And my media gets scanned & shows well in 1st setup of jellyffin server.

But when I add / delete media from my rclone remote which is my cloud storage (in my case - onedrive).

It doesn't get refreshed on jellyfin. I have deleted media from onedrive, but thumbnail are still appearing on jellyfin.

Jellyfin docker compose yml :-


---
version: "2.1"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /mnt/emby:/config
      - /mnt/cloud:/media
    ports:
      - 8096:8096
      - 8920:8920 #optional
      - 7359:7359/udp #optional
      - 1900:1900/udp #optional
    restart: unless-stopped

Rclone Mount Service:-


[Unit]
Description= RClone Mount Service
After=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount \
--config=/home/ubuntu/.config/rclone/rclone.conf \
--user-agent=rajeshsahoo \
--allow-other \
--timeout=1h \
--poll-interval=15s \
--dir-cache-time=1000h \
--cache-dir=/mnt/rclone/cache/omedia \
--vfs-cache-mode=full \
--vfs-cache-max-size=20G \
--vfs-cache-max-age=12h \
onedrive: /mnt/cloud
ExecStop=/bin/fusermount -uz /mnt/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target
  1. a debug log would show One drive : poll-interval is not supported by this remote.
    so remove --poll-interval=15s
  2. to enable rclone to notice changes in onedrive
    a. add --rc --rc-no-auth to your rclone mount command
    b. restart the rclone mount
  3. run /usr/bin/rclone rc vfs/refresh recursive=true
  4. force jellyfin to scan the library.

each time you make changes to onedrive and want jellyfin to reflect that, repeat step 3+4

In rclone mount service where do I have to add point 2.a & 2.b...?

I have removed point 1.

add them as you would any set of rclone flags.

I have done like this below :-


[Unit]
Description= RClone Mount Service
After=network-online.target

[Service]
Type=notify
ExecStart=/usr/bin/rclone mount \
***Run=/usr/bin/rclone rc vfs/refresh recursive=true (Added 2.b)***
--config=/home/ubuntu/.config/rclone/rclone.conf \
--user-agent=rajeshsahoo \
--allow-other \
--timeout=1h \
***--poll-interval=15s \ (Removed this line)***
--dir-cache-time=1000h \
--cache-dir=/mnt/rclone/cache/omedia \
--vfs-cache-mode=full \
--vfs-cache-max-size=20G \
--vfs-cache-max-age=12h \
***--rc --rc-no-auth (Added 2.a)***
onedrive: /mnt/cloud
ExecStop=/bin/fusermount -uz /mnt/cloud
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target


i updated the instructions.

But trying.Got this :-


ubuntu@ubuntu:~$ sudo systemctl status odrive.service
● odrive.service - RClone Mount Service
     Loaded: loaded (/etc/systemd/system/odrive.service; disabled; vendor preset: enabled)
     Active: active (running) since Sat 2022-01-01 14:09:24 UTC; 7h ago
   Main PID: 11959 (rclone)
     Status: "[21:44] vfs cache: objects 13 (was 13) in use 0, to upload 0, uploading 0, total size 636.999Mi (was 636.999Mi)"
      Tasks: 11 (limit: 28700)
     Memory: 674.3M
     CGroup: /system.slice/odrive.service
             └─11959 /usr/bin/rclone mount --config=/home/ubuntu/.config/rclone/rclone.conf --user-agent=rajeshsahoo --allow-other --timeout=1h --poll-interval=15s --d>

Jan 01 21:43:57 ubuntu systemd[1]: /etc/systemd/system/odrive.service:18: Unknown key name '--config' in section 'Service', ignoring.
Jan 01 21:43:57 ubuntu systemd[1]: /etc/systemd/system/odrive.service:19: Missing '=', ignoring line.
Jan 01 21:43:57 ubuntu systemd[1]: odrive.service: Current command vanished from the unit file, execution of the command list won't be resumed.
lines 1-20/20 (END)


have you used systemd before?