Rclone Debrid

1 view
Skip to first unread message

Basa Benejan

unread,
Aug 4, 2024, 6:10:22 PM8/4/24
to magbackcospcons
Iran 'rclone config redacted' and gott command not found. I did try the update to release v1.65 but there was no realdebrid option as there was in v1.58, please bear with me as I am new and not very technical.

Thanks ever so much for your reply, my bad I'm sorry I'm not too clear with what you are asking as when I set up I followed a guide by copy and pasting. Please can you give me an example of the command lines you have suggested?


I have succesfully setup a drive to google drive and it's uploading automatically using crontab. However Plex isn't reading those files correctly and I dont have access to all my folders in Google drive. It's basically just the name that I called it when I setup the drive in rclone, but no folders inside.


I did the rclone config part (this page only first code) so it's in the file explorer. The problem is that I can't see all the subfolders in it and plex can't see any of the content (those are in the subfolders).


The problem is as follows:



There are no subfolders I can choose from (I place all the content to those folders) and I don't get any media when I select this. So I thought something went wrong with Rclone?


Use "rclone [command] --help" for more information about a command.

Use "rclone help flags" for to see the global flags.

Use "rclone help backends" for a list of supported services.

Command mount needs 2 arguments minimum: you provided 1 non flag arguments: ["gdrive:/Plex"]


One more question:

I did use the command yesterday. Plex was seeing the subfolders in gdrive perfectly. However when I tried to watch a movie right now it's gone. I can't see any subfolders anymore and I'm back to the start.


I kinda made one and it's mounted. It checks every 2 minutes if it mounted.

I have no idea if it will be unmounted once in a while untill the 2 minutes are over. But if you guys tell me that a tmux or screen session would be better then the cronscript then I will look into that!


Hello, my newly set up emby media server adds my locally stored files to my library just fine without any kind of additional input by me. I have a few problems though when adding my rclone mount into the mix and I would appreciate it if anyone with a bit more know-how than me could help me sort them out.



Using the official rclone fork with my webdav cloud all of my files are put into a folder called "links". This is regardless of whether it is a tv show, movie or else. So adding this "links" folder to my library emby gets quite confused with correctly sorting all of my media, which is why I thought of using the "Auto Organize" Plugin. My idea was to tell it to move all of the files from the "links" folder to where all of my local files are (in their respective folders of course). At first it seemed to be working correctly, since it created a folder for the TV Series it was working on currently and put the episode into the folder. I later found out that while "moving" the file it seemed to be downloading it from my webdav cloud into the folder it was only supposed to be moving the file to. From what I understand rclone stores some sort of "dummy file" in the mounted folder that can be accessed and played by emby but moving/copying the file to another folder will result in my computer downloading the file from the cloud to my local storage which completely defeats the point of using rclone in the first place.

One more thing to add: Before emby I used plex and to be honest, it worked fine with rclone since I could just point my movies as well as my tvshows library to that "links" folder and plex would just know which file is an episode from a show and which file is a movie and it would add them to the respective libraries automatically without having to move the files on the disk into separate folders. From what I understand emby requires a bit more work than that and I am totally fine with that if it means that I can select an external video player in the android tv app (this is why I made the switch from plex to emby. It's just not an option in plex)


I've been tinkering with my media server for quite a while now and I feel like I am running in circles. All I really want to achieve is to combine my locally stored media with my media that is stored in my cloud so that I can watch it with emby in a kind of all-in-one solution but every time I seem to find a solution to my problems some get fixed but completely new problems arise and I feel like it's just all too complicated. What's most frustrating is that for most of them I wouldn't even know what to google to be completely honest with you, which is why I am now resorting to here in hopes that someone can help me out. I really hate asking on forums because I feel like these questions have been asked 1000 times before but somehow all of my search results on google that I get when searching for solutions to my problems really don't get me anywhere. I really appreciate any kind of help I can get.


They are both in said "links" folder. When adding this folder to my TV Shows library in emby it doesn't group them together into a single "The House of The Dragon" show but instead lists these singular episodes with their file names as episode names under "latest TV shows". Not even listing it under "TV Shows" in the library even after multiple restarts of the media server and rescans of my library. Under "latest TV shows" I can click play and watch them but when I finish watching them they completely disappear from my library nowhere to be found, even after rescanning and restarting again. I am guessing this is just all consequence of emby not being able to know where to list it because the files are just thrown together in a single folder. This is why I thought the "Auto Organizer" would help me but this is also where I came to find out what I described earlier. The files in the rclone mount folder obviously don't occupy nearly as much space on my disk as it says when inspecting it with "du -s --apparent-size" just because of the fact that my internet speed isn't fast enough to download 1.3 GB as fast as the files appear in the folder. Now trying to sort the files with the "Auto Organizer" plugin creates that exact problem I stated earlier where instead of moving/copying the "dummy file" (still for the lack of a better term) it downloads the file from my WebDAV cloud to the folder where it is supposed to copy the "dummy file" to. This is apparent by looking at my router admin panel and seeing the download speed of my media server go up exactly the moment I order the copy command.


I hope you can help me and be sure to let me know if you need any more information, I'll be glad to help you help me



My emby server is running version 4.7.8.0, rclone is running version 1.59.2 if that is any help to you.


First one is the root of my disk, second one is in the "realdebrid" folder which is the mount folder for rclone and third one is my two files inside the "files" folder. This last one would be the folder where all of the files that are on my WebDAV cloud would be thrown in without any sorting.


Okay, well, that's kind of what I thought would be the problem. As I am not getting any replies on the rclone forums where I also asked about this problem regarding rclone, do you happen to know what I can do? Having to use the "Auto Organizer" plugin because emby needs series folders isn't as much of a problem as the one I am having with rclone.


After some more testing it appears that even moving the file by mv command causes this behavior. I also tried moving the file via smb on windows, same problem. Maybe I am just looking for a solution to a bug that's not actually a bug but a feature and thus there wouldn't be a solution, maybe this is why it seems so difficult to solve.


Likewise plain WebDAV does not support hashes, however when used withFastmail Files, Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes.Depending on the exact version of Owncloud or Nextcloud hashes mayappear on all objects, or only on objects which had a hash uploadedwith them.


We recommend configuring your NextCloud instance to increase the max chunk size to 1 GB for better upload performances.See _manual/configuration_files/big_file_upload_configuration.html#adjust-chunk-size-on-nextcloud-side


Use or a subdirectory as the URL,and your Fastmail email user...@domain.tld as the username.Follow this documentationto create an app password with access to Files (WebDAV) and usethis as the password.


This is configured in an identical way to Owncloud. Note thatNextcloud initially did not support streaming of files (rcat) whereasOwncloud did, but this seems to be fixed as of 2020-11-27 (tested with rclone v1.53.1 and Nextcloud Server v19).


Rclone can be used with Sharepoint provided by OneDrive for Businessor Office365 Education Accounts.This feature is only needed for a few of these Accounts,mostly Office365 Education ones. These accounts are sometimes notverified by the domain owner github#1975


Add the remote to rclone like this:Configure the url as [YOUR-DOMAIN]-my.sharepoint.com/personal/[YOUR-EMAIL]/Documentsand use your normal account email and password for user and pass.If you have 2FA enabled, you have to generate an app password.Set the vendor to sharepoint.


As SharePoint does some special things with uploaded documents, you won't be able to use the documents size or the documents hash to compare if a file has been changed since the upload / which file is newer.


For Rclone calls copying files (especially Office files such as .docx, .xlsx, etc.) from/to SharePoint (like copy, sync, etc.), you should append these flags to ensure Rclone uses the "Last Modified" datetime property to compare your documents:


dCache is a storage system that supports many protocols andauthentication/authorisation schemes. For WebDAV clients, it allowsusers to authenticate with username and password (BASIC), X.509,Kerberos, and various bearer tokens, includingMacaroonsand OpenID-Connectaccess tokens.

3a8082e126
Reply all
Reply to author
Forward
0 new messages