Giter Club home page Giter Club logo

rclone_rd's People

Contributors

ajankovic avatar albertony avatar alrs avatar b4dm4n avatar breunigs avatar buengese avatar calebcase avatar calisro avatar cnly avatar darthshadow avatar dbramwell avatar dwalters avatar edwardxml avatar gary-kim avatar hensur avatar idavydov avatar ishuah avatar itstoggle avatar ivandeex avatar jsoref avatar klauspost avatar mmatczuk avatar ncw avatar negative0 avatar olihey avatar remusb avatar sandeepkru avatar tbm avatar tgallant avatar yparitcher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rclone_rd's Issues

need help

can you help me with how to setup this rclone fork on ubuntu
i'm new at this and i really need to learn step by step how to do that. thank you

Rclone Mount Windows

Trying to get rclone to mount but cant seem to get it to mount.

Did did a new connection and added my real d api key in and it seemed to have worked, But trying to get it to mount as a drive on windows using rclone cmount dex: v

I have added a picture, the right hand side box on the picture is rclone
plex1

--daemon failing

Any ideas?

./rclone-linux -vv mount stream: /mnt/hdd/shared/plex_debrid/ --dir-cache-time 10s --vfs-cache-mo
de full --daemon
2022/09/22 13:22:06 DEBUG : rclone: Version "v1.59.0-DEV" starting with parameters ["./rclone-linux" "-vv" "mount" "stream:" "/mnt/hdd/shared/plex_debrid/" "--dir-cache-time" "10s" "--vfs-cache-mode" "full" "--daemon"]
2022/09/22 13:22:06 DEBUG : Creating backend with remote "stream:"
2022/09/22 13:22:06 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/09/22 13:23:06 DEBUG : Daemon timed out. Terminating daemon pid 10891
2022/09/22 13:23:06 Fatal error: mount not ready

Rclone_rD mount wont play any media

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 no content on the mounted rclone_RD drive will play.

Steps to Reproduce
Followed the installation guide on the project's wiki.
Set up the mount as described in the wiki, using rclone with the recommended settings found from various users on Discord.
Attempted to play various media files from the mounted drive.

Expected Behavior
Media files should play smoothly without interruption. PD finds them and adds them to configured rclone mount.

Actual Behavior
When attempting to play any media file from the mounted rclone drive, playback does not start, and Emby logs state the file does not exist or folder cannot be found.

Environment
OS: Debian Bullseye
Lastest rclone_rd
Media player being used: Emby

Troubleshooting Steps Taken
Verified that all software is up to date.
Checked the rclone configuration file for errors.
Searched for similar issues on Discord and followed the suggested solutions.
Rebooted the system after setup to ensure all mounts are loaded correctly.
Checked permissions on the mounted drive to ensure the media player has read access.

Rclone_RD mounted systemd:
cat /etc/systemd/system/rclone-debrid.servicece

[Unit]
Description=Rclone Debrid Service
Wants=network-online.target
After=network-online.target


[Service]
User=pduser
#Group=pduser
Type=notify
ExecStartPre=/bin/mkdir -p /home/pduser/tmp/debrid/cache /home/pduser/debrid
ExecStart=/usr/local/bin/rclone_rd mount realdebrid: /home/pduser/debrid \
    --config /home/pduser/.config/rclone_rd/rclone_rd.conf \
    --allow-other \
    --dir-cache-time=1m \
    --max-read-ahead=200M \
    --umask=002 \
    --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36' \
    --vfs-cache-max-age=120h \
    --vfs-cache-max-size=200G \
    --vfs-cache-mode=full \
#    --vfs-cache-poll-interval=1m0s \
    --vfs-fast-fingerprint \
    --cache-dir=/home/pduser/tmp/debrid/cache \
    --log-file /home/pduser/.config/rclone_rd/mount.log \
    --log-level DEBUG

#ExecStart=/opt/pduser/rclone_rd/rclone_rd mount realdebrid: /home/pduser/debrid --dir-cache-time 10s --allow-other --vfs-cache-mode full --config /home/user/.config/rclone_rd/rclone_rd.conf
Restart=on-failure
RestartSec=10
ExecStop=/bin/fusermount3 -uz /home/pduser/debrid


[Install]
WantedBy=multi-user.target

The original service file was much simpler. Discord search yielded these commands and switches as "working".
As you can see, some are commented out to test various methods and find a working solution.

I have tried playing different types of media files (e.g., .mkv, .mp4) to rule out format-specific issues. Other local and network drives do not exhibit this problem, and their content plays normally.

I would greatly appreciate any guidance or suggestions on what might be causing this issue and how to resolve it. If additional information or logs are required, please let me know, and I will provide them promptly.

Thank you for your assistance.

Dead "restricted" links cant be regenerated

When a torrent finishes downloading, RealDebrid generates restricted links that first need to be unrestricted to get access to the files.

Working restricted links that havent been unrestricted yet, or their unrestricted link has been removed after one week, will automatically be unrestricted by rclone.

Sometimes though, a restricted link might become broken on RealDebrids servers. When opening a file with a broken link this rather large error is produced:

> failed to open source: 404 Not Found (404): <!DOCTYPE html>
> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
> 
> [Large HTML page here]
> 
> <!-- a padding to disable MSIE and Chrome friendly error page -->
> <!-- a padding to disable MSIE and Chrome friendly error page -->
> <!-- a padding to disable MSIE and Chrome friendly error page -->

Rclone cant determine when a restricted link breaks, and cant regenerate this broken restricted link since that would entail the following: re-downloading the torrent, determining all cached files, selecting all cached files and regenerating the unrestricted links - all within the Open() function that is called multiple times in parrallel.

Im not sure how to solve this.

ReadMe Typo

Under step 8 in the installation instructions, the word daemon is misspelled.

You can run rclone as a background service by adding the mounting tag '--no-console' (Windows) or '--deamon' (Linux, Mac, etc).

Error when RD returns an empty string link

Sometimes, when querying the torrents endpoint, real-debrid returns an empty string in the links field

(some fields omitted)

{
  "bytes": 58618853263,
  "host": "real-debrid.com",
  "split": 2000,
  "progress": 100,
  "status": "downloaded",
  "links": [
    "https://real-debrid.com/d/XXXXXXXXX",
    "https://real-debrid.com/d/XXXXXXXXX",
    ""
  ]
}

This causes rclone to throw an error:
ERROR : shows/<name>: Entry doesn't belong in directory "shows/<name>" (too short) - ignoring

Nothing serious, and it doesn't affect the funtionality (at least I haven't noticed).
But it would be nice if this could be caught, or if the links array could be filtered to not include empty strings.

automatically re-download dead torrents

As described in issue #6, sometimes torrents are marked "dead" by realdebrid. This is caused by broken restricted links, which I previously stated cant be regenerated.

I aim to fix this issue, as it appears to occur more often of late, at least for me.

Sorting Movie releases with FS97 (Ex.) sorts into tvshows

image

is sorted into tvshows, im thinking likely because of the FS96 or any other numbers after FS, for example joy has other torrents with FS87, etc etc. not sure if there could be a rule to get around this issue, but given that these are fairly common I think it was a useful bug to officially track here. Thanks for all your work :)

Unable to create sort folders in Premiumize.me

I am having difficulty while mounting Premiumize.me. The service will mount but the three folders from this fork are not created. All files download into the main Premiumize.me mount folder. Does anyone know if this is a limitation of Premiumize.me? I have successfully used RealDebrid in the past, but switched to Premiumize.me due to their support of Usenet. I am running this fork of rclone on a Windows 11 PC. I remounted RealDebrid to check if that creates the sort folders correctly and it does. Hoping someone is able to assist in finding a fix.

Windows 32 bit version

Hello, can you please build a 32 bit version of your RClone? So we can run it on old Windows Mini PCs. Thank you for your work.

[Feature] EasyNews support?

Just like Real-Debrid, AllDebrid & Premiumize, you can use EasyNews to access/search files (and even stream its contents live with Kodi+Fen or Stremio).
However, unlike other providers AFAIK, this service has support for Usenet content.

I'd love to hear what you guys think about adding support for this! ๐Ÿ™‚

Have multiple folders depending upon regex

Just wondering if its possible to introduce this capability. Currently we only have 3 folders when mounting (shows, movies, default). Is it possible to introduce a functionality that would enable us to further separate these into multiple folders say one for anime, one for Hollywood movies and one for other stuff depending upon a certain regex.
I currently use this with Plex and that would make my life much more easier in terms of finding the shows in my library.

Incomplete listing and undesirable deletion of torrent with missing files

When listing the contents of a torrent with many files of which one is missing, listing is incomplete, and rclone_RD makes a whole lot of delete and re-download requests that do not seem to help retrieving the missing file.

As an example, consider a torrent with files A, B and C.
If I unrestrict links on real-debrid.com I get links for A and C, but for B I get the message

https://real-debrid.com/d/...: hoster_unavailable

For such a torrent, rclone_RD version v1.58.1-rd.2.1 displays only A. This happens both when mounting the debrid + listing the folder or serving it as HTTP + accessing the folder from the browser. Additionally, rclone_RD prints "Redownloading dead torrent X" to the logs. It then makes a whole bunch of delete requests and re-adds the torrent to real-debrid.

Seemingly, behavior is as follows (possibly not fully correct):

  • rclone_RD tries unrestricting all the files in the torrent; this works fine until it encounters B
  • as soon as rclone_RD encounters B, the torrent is marked as bad
  • rclone_RD then issues DELETE requests for every file following B (B, C and so on)
  • rclone_RD then issues a DELETE request to the torrent itself
  • rclone_RD then issues a new download request for the torrent

The torrent I am accessing has the same fault for file B after re-adding it, so this results in a lot of superfluous requests and weird behavior, at even the files preceding B (A) seem to become unavailable after the DELETE request is made.

Desired behavior for me would be one of the following:

  1. I see all files in the torrent except for the missing one.
  2. Alternatively, I see all the files and can access all of them, except the missing file.

rclone_RD is a lot faster for me than rclone+WebDAV, so thanks a lot for creating this software!

Fuse Device Not Found?

So did a fresh setup following the direction here on the wiki, but when I run ./rclone-linux mount realdebrid: torrents --dir-cache-time=10s --allowothers

I get the following error

2023/06/09 17:56:36 mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first
2023/06/09 17:56:36 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

Wondering if this is because my Plex server (with the plexdebrid script) is hosted in an Ubuntu container on Proxmox instead of a full VM? It is privileged, so I can mount all of my SMB shares no problem, but maybe I need to do something additional?

Any thoughts?

Sort files given a list of {original path -> target path}

I'd like to ask for the ability to sort files in folders and subfolders following an editable list of
original paths -> target paths,
/movies/plain-defaut-path/filename.mp4 -> library/strutured/path/to/file.mp4
example:
/shows/tvshow.s02/episodeS02e01.mp4 -> /Library/shows/tvshow/s02/episodeS02e01.mp4

Would it be possible ?

I think it would be in a 4th folder called "SortedLibrary" or something like that, while keeping the 3 others (movies/shows/default)

The purpose is to be able to sort these files following the plex library sorting

Its basically a way to leverage plex sorting to make the folder sorting cleaner for direct file-system browsing (NFS/SMB/ etc...) It could be up to plex (with a plexapi python script for example) or anything else to do the sorting.

Moreover it would allow jellyfin/emby to finally be able to properly sort tv shows

Why ? : Given that realdebrid cloud is read only, it's impossible to move files an organized way in custom folders/subfolders. This improvement would fill the usability gap between a read-only cloud (such as real-debrid) and a writable cloud.

I would be happy to help.

...And thank you for this project ! Amazing stuff!

Cache Directory Change after Low Storage on Main Disk (macOS)

hello!

I was running rclone and it is doing great! It works perfectly but once I try to play a file that was scraped, it fails to cache the file. I understand that it can't find any storage and I have cleared up around 8 GBs or so. However, is there any way for me to transfer the cache folder to my external drive? Most of the files that are being played will run out of space in that case if the cache isn't deleted!

2022/08/03 22:34:06 ERROR : Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: write /Users/hassaanali/Library/Caches/rclone/vfs/HashaRockRD/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: no space left on device
2022/08/03 22:34:06 ERROR : Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: vfs cache: cache is out of space 1/10: last error: vfs reader: failed to write to cache file: write /Users/hassaanali/Library/Caches/rclone/vfs/HashaRockRD/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: no space left on device
2022/08/03 22:34:06 ERROR : Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: vfs cache: failed to kick waiters: vfs reader: failed to write to cache file: write /Users/hassaanali/Library/Caches/rclone/vfs/HashaRockRD/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: no space left on device
2022/08/03 22:34:06 ERROR : Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: write /Users/hassaanali/Library/Caches/rclone/vfs/HashaRockRD/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv/Little.Women.2019.2160p.BCORE.WEB-DL.x265.10bit.HDR.DTS-HD.MA.5.1-SWTYBLZ.mkv: no space left on device
2022/08/03 22:34:06 NOTICE: vfs cache: in KickCleaner, ready to kick cleaner
^[[A^[[A^[[B^[[B^C2022/08/04 09:00:16 ERROR : /Users/hassaanali/HashaRock_RD: Unmounted rclone mount

M4V Proper file sorting

rclone_RD was unable to detect a .m4v (iTunes video) file as a movie/TV show, so it put it in default. It should be added as a compatible video format; unless, you don't have control over that aspect of the program, then it's fine.

Could use some help tracking down slowdowns

Since I've started using rclone_RD it seems to have been slowing down on a whole, with the most noticeable aspect being the mount times. It now takes more than a couple minutes to mount an rd drive.

Any help with where to start looking into this would be greatly appreciated!

Idea - Do something similar for android

Greetings :) so happy to see people creating stuff for RD. Since the service devs seem kinda focused on maintaining lately, still no feature such as WebDAV/SFTP or any kind of integration besides their api.

I was wondering whether one could do something similar for Android by forking this rclone client https://github.com/x0b/rcx

Sure, you need root to natively mount remote filesystems systemwide (afaik) but you can still make them accessible for other apps via the SAF (storage access framework). The dev of this android client is kinda inactive for the last year but there's a pull request regarding SAF. Maybe there is also an active fork someplace, or there's a better open-source alternative that can be forked to use for such a purpose.

Either way that would be a very nifty feature to have. :) Recently switched debrid providers mainly for the reason that RD offers no filesystem integration and also because there is no tool for windows to associate torrents and magnets and offer basic cloud management outside of the browser on Windows. Been actually using Windows 11's WSA (android subsystem) to use an Android app (Unchained) for that task.

fuse: panic in handler for Read

What is the problem you are having with rclone?

I consistently get the following error messages:

Feb 26 21:10:16 [hostname] rclone-linux[3741]: fuse: panic in handler for Read [ID=0xc Node=0x1 Uid=1000 Gid=1000 Pid=3757] 0x1 4096 @0x0 dir=true fl=0 owner=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock: runtime error: invalid memory address or nil pointer dereference
Feb 26 21:10:16 [hostname] rclone-linux[3741]: goroutine 38 [running]:
Feb 26 21:10:16 [hostname] rclone-linux[3741]: bazil.org/fuse/fs.(*Server).serve.func2()
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:994 +0x14e
Feb 26 21:10:16 [hostname] rclone-linux[3741]: panic({0x18b6ca0, 0x2d49920})
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Program Files/Go/src/runtime/panic.go:838 +0x207
Feb 26 21:10:16 [hostname] rclone-linux[3741]: github.com/rclone/rclone/backend/realdebrid.(*Fs).listAll(0xc00089df40, {0x2020c68?, 0xc000050098}, {0x1bc2e1f, 0x1}, 0x0, 0x0, 0xc0006376d0)
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD-master/backend/realdebrid/realdebrid.go:530 +0x3d43
Feb 26 21:10:16 [hostname] rclone-linux[3741]: github.com/rclone/rclone/backend/realdebrid.(*Fs).List(0xc00089df40, {0x2020c68, 0xc000050098}, {0x0, 0x0})
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD-master/backend/realdebrid/realdebrid.go:828 +0x125
Feb 26 21:10:16 [hostname] rclone-linux[3741]: github.com/rclone/rclone/fs/list.DirSorted({0x2020c68, 0xc000050098}, {0x2030ea8?, 0xc00089df40?}, 0x0, {0x0, 0x0})
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD-master/fs/list/list.go:24 +0x83
Feb 26 21:10:16 [hostname] rclone-linux[3741]: github.com/rclone/rclone/vfs.(*Dir)._readDir(0xc00004f080)
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD-master/vfs/dir.go:453 +0x11b
Feb 26 21:10:16 [hostname] rclone-linux[3741]: github.com/rclone/rclone/vfs.(*Dir).ReadDirAll(0xc00004f080)
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD-master/vfs/dir.go:814 +0x54
Feb 26 21:10:16 [hostname] rclone-linux[3741]: github.com/rclone/rclone/cmd/mount.(*Dir).ReadDirAll(0xc0001ac090, {0x1bb40e0?, 0xc0001ac090?})
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD-master/cmd/mount/dir.go:108 +0x14a
Feb 26 21:10:16 [hostname] rclone-linux[3741]: bazil.org/fuse/fs.(*Server).handleRequest(0xc0003707e0, {0x2020c30, 0xc00005c440}, {0x200fc60?, 0xc0001ac090}, 0xc00005c040, {0x201b3d0?, 0xc00033e070?}, 0xc000637f08)
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:1378 +0xb57
Feb 26 21:10:16 [hostname] rclone-linux[3741]: bazil.org/fuse/fs.(*Server).serve(0xc0003707e0, {0x201b3d0, 0xc00033e070})
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:1015 +0x634
Feb 26 21:10:16 [hostname] rclone-linux[3741]: bazil.org/fuse/fs.(*Server).Serve.func1()
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:512 +0x69
Feb 26 21:10:16 [hostname] rclone-linux[3741]: created by bazil.org/fuse/fs.(*Server).Serve
Feb 26 21:10:16 [hostname] rclone-linux[3741]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:510 +0x3be

ls in the mounted directory results in ls: reading directory '.': Input/output error and files cannot be accessed

What is your rclone version (output from rclone version)

https://github.com/itsToggle/rclone_RD/releases/tag/v1.58.1-rd.2.1

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Ubuntu 20.01 64 bit

Currently not really usable for me.

Support for alldebrid

Is it possible in the near future to have something like this for alldebrid?

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.

TV Shows Sort EMby and Jellyfin

So this mount works well on Plex but not so well with Emby and Jellyfin tv shows. Emby and Jellyfin is strict on folder structure. PThere is no way around it if there is no tv show sorting going on. Maybe if there is a command that I can use to sort tv shows. that will be great. I know you can create a folder in the mout and sort things but when you disconnects its gone.

I see discussion on sorting but I have no ideal how to do it.

Issue with the recoded and optimised versions of Plex

Hi there,

Please tell me how to avoid this thing. I have attached the screenshot here. There is an issue with the optimised versions I made and I am not able to get the rclone to run on my server since then. I have deleted all my media from RealDebrid and changed the Plex Media library to an empty folder now.

Screenshot 2023-04-18 at 18 09 20

Ability to move files from movies to shows ? Some animes are downloaded to movies folder is there anyway to sort it back to shows ?

The associated forum post URL from https://forum.rclone.org

What is your current rclone version (output from rclone version)?

What problem are you are trying to solve?

How do you think rclone should be changed to solve that?

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.

Rclone Errors while running

Hi, got Rclone up and running but it seems like something goes wrong every time it tries to get a torrent or something

It works and mounts the file, just not sure if these errors are affecting anything

Redownloading dead torrent: Air Crash Investigation (Mayday)
Error opening file: 'https://jnb1.download.real-debrid.com/d/XOPYNFGC4DUNI21/1%20Deadly%20Silence.mp4'.
This link seems to be broken. Torrent will be re-downloaded on next refresh.
2023/08/31 11:40:45 ERROR : default/Air Crash Investigation (Mayday)/1 Deadly Silence.mp4: vfs cache: failed to download: vfs reader: failed to write to cache file: 503 Service Unavailable (503): <!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->

 <!-- BEGIN HEAD -->
<head>
      <meta charset="UTF-8" />
    <title>An error occured while processing your request</title>
     <meta content="width=device-width, initial-scale=1.0" name="viewport" />
        <meta content="" name="description" />
        <meta content="" name="author" />
  <!-- GLOBAL STYLES -->
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" />
    <!--END GLOBAL STYLES -->

     <!-- PAGE LEVEL STYLES -->
<style type="text/css">
body {
  background-color: #333;
  background-size:100% auto;
  padding-top: 100px;

}

.logo h1 {
  color: #FFF;
  font-size: 80px;
  padding-bottom:40px;
}

.text-muted {
    font-size:25px;
}

/*media queries*/

@media (max-width: 767px){
  .logo h1 {
    font-size: 65px;
    color: #FFF;
  }
}
</style>
      <!--END PAGE LEVEL STYLES -->
</head>
     <!-- END HEAD -->
     <!-- BEGIN BODY -->
<body>
      <!-- PAGE CONTENT -->
  <div class="container">
    <div class="col-lg-8 col-lg-offset-2 text-center">
      <div class="logo">
            <h1>Oops ๐Ÿ˜ž</h1>
          </div>
        <div class="col-lg-8 col-lg-offset-2 text-center">
          <div class="alert alert-danger">The download code has been modified (and it is not allowed) or the original server is down<br/>Server: 904</div>
          <div class="clearfix"></div>
             <br /><br />

                </div>

        </div>


        </div>
      <!-- END PAGE CONTENT -->


</body>
     <!-- END BODY -->
</html>

<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

Plex cant find mounted fs

Hey mate, first of all thanks for the awesome system youve built!

Real debrid mount works as I can see the files via cmd after plex_debrid works its magic. However --daemon doesnt work.

Command I mounted with ./rclone-linux -vv mount stream: /mnt/hdd/shared/plex_debrid/ --dir-cache-time 10s --vfs-cac
he-mode full --allow-other --debug-fuse

Using latest release from this fork.

However im having problems using your rclone fork as plex cant access the files mounted. Ive tried fixing file permissions without success. Any ideas?

Strm folder -- a quasi-clone of real-debrid

Looking forward to add a feature which will clone the whole real-debrid torrents folder into another user-specified cloud drive.

Since real-debrid provides direct links for all the files (and given that your application keeps renewing those links), my purpose is to utilize those links and make .strm files and curate an identical folder structure in a separate cloud drive.

This would mean the quasi-cloned cloud drive can be added as a source to programs like Kodi being run on android TV boxes and alike.

Which backend function do you think is the best to inject with such a functionality to? List-all?

ERROR : IO error: couldn't list files: invalid character '<' looking for beginning of value

The associated forum post URL from https://forum.rclone.org

What is the problem you are having with rclone?

RD mount stopped working. It says
IO error: couldn't list files: invalid character '<' looking for beginning of value
ERROR : /: Dir.Stat error: couldn't list files: invalid character '<' looking for beginning of value

What is your rclone version (output from rclone version)

1.59.0-DEV

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Window 10 64bit

Which cloud storage system are you using? (e.g. Google Drive)

Real Debrid

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone mount RD: R: --dir-cache-time 10s

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

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.

"Your code is no longer valid" errors with real-debrid

I have been consistently running into error messages from RealDebrid via rclone_rd with the error message Your code is no longer valid from the realdebrid API

I am hosting plex_debrid/rclone_rd/plex on a cloud VPS which is blacklisted by realdebrid. I use cloudflare WARP as a VPN which I then use to connect rclone_rd using a cloudflare whitelisted IP address.

This looks like an authorization issue with the RealDebrid API - simply restarting rclone_rd resolves the issue for a few days before I run into the same issue.

Current I have a hacky solution where I just use a cron job to scan the latest rclone_rd logs to look for that error message and then restart rclone if that error was seen. This has been working well for me but seems like something that can be handled in code.

fuse: panic in handler for Lookup

What is the problem you are having with rclone?

When mounting occasionally rclone will spit out the error shown below, aside from this everything seems to be working okay. Happy to provide any more information or debug assistance ๐Ÿ‘๐Ÿป Also, thank you for this project - amazing stuff!

What is your rclone version?

maxexcloo@server:~$ rclone_rd version
rclone v1.59.0-DEV
- os/version: debian 10.13 (64 bit)
- os/kernel: 5.10.0-0.deb10.19-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.18.1
- go/linking: static
- go/tags: none

Which OS you are using and how many bits?

maxexcloo@server:~$ uname -a
Linux bedok 5.10.0-0.deb10.19-amd64 #1 SMP Debian 5.10.149-2~deb10u1 (2022-10-28) x86_64 GNU/Linux

Which cloud storage system are you using?

realdebrid

The command you were trying to run?

~/bin/rclone_rd mount realdebrid: ~/realdebrid --config ~/.config/rclone_rd/rclone_rd.conf --dir-cache-time 10s --use-mmap --vfs-cache-mode full

What's the error?

Jan 10 03:03:33 bedok rclone_rd[2500600]: fuse: panic in handler for Lookup [ID=0x28d6 Node=0x1 Uid=1004 Gid=1004 Pid=939655] "shows": runtime error: invalid memory address or nil pointer dereference
Jan 10 03:03:33 bedok rclone_rd[2500600]: goroutine 6380 [running]:
Jan 10 03:03:33 bedok rclone_rd[2500600]: bazil.org/fuse/fs.(*Server).serve.func2()
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:994 +0x14e
Jan 10 03:03:33 bedok rclone_rd[2500600]: panic({0x18b6ca0, 0x2d489a0})
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Program Files/Go/src/runtime/panic.go:838 +0x207
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/backend/realdebrid.(*Fs).listAll(0xc000459a40, {0x2020be8?, 0xc000116008}, {0x1bc2e1f, 0x1}, 0x0, 0x0, 0xc00053d6b0)
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/backend/realdebrid/realdebrid.go:530 +0x3d43
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/backend/realdebrid.(*Fs).List(0xc000459a40, {0x2020be8, 0xc000116008}, {0x0, 0x0})
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/backend/realdebrid/realdebrid.go:828 +0x125
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/fs/list.DirSorted({0x2020be8, 0xc000116008}, {0x2030e28?, 0xc000459a40?}, 0x0, {0x0, 0x0})
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/fs/list/list.go:24 +0x83
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/vfs.(*Dir)._readDir(0xc00027c0c0)
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/vfs/dir.go:453 +0x11b
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/vfs.(*Dir).stat(0xc00027c0c0, {0xc0006c6010, 0x5})
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/vfs/dir.go:702 +0xbb
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/vfs.(*Dir).Stat(0x1bb40e0?, {0xc0006c6010?, 0x1bcac20?})
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/vfs/dir.go:799 +0x27
Jan 10 03:03:33 bedok rclone_rd[2500600]: github.com/rclone/rclone/cmd/mount.(*Dir).Lookup(0xc00018a9b0, {0x200fbe0?, 0xc00018a9b0?}, 0xc00012a380, 0xc00027c180)
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/Desktop/ttrd/rclone_RD/rclone_RD/cmd/mount/dir.go:77 +0x188
Jan 10 03:03:33 bedok rclone_rd[2500600]: bazil.org/fuse/fs.(*Server).handleRequest(0xc00093a000, {0x2020bb0, 0xc000a54180}, {0x200fbe0?, 0xc00018a9b0}, 0xc00038a7c0, {0x201b200?, 0xc00012a380?}, 0xc00053df08)
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:1187 +0x27fe
Jan 10 03:03:33 bedok rclone_rd[2500600]: bazil.org/fuse/fs.(*Server).serve(0xc00093a000, {0x201b200, 0xc00012a380})
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:1015 +0x634
Jan 10 03:03:33 bedok rclone_rd[2500600]: bazil.org/fuse/fs.(*Server).Serve.func1()
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:512 +0x69
Jan 10 03:03:33 bedok rclone_rd[2500600]: created by bazil.org/fuse/fs.(*Server).Serve
Jan 10 03:03:33 bedok rclone_rd[2500600]:         C:/Users/Ronald/go/pkg/mod/bazil.org/[email protected]/fs/serve.go:510 +0x3be

Folder sorting disable

Hi,

Currently using your fork but RD seems to be incorrectly sorting downloaded items into the wrong folders, e.g. movie and shows.
Is there a way to disable these folders altogether so this doesn't occur?

Add '4K movies' subfolder

Hi,

So currently there are three subfolders when mounted: movies, shows, default. It would be great if a fourth subfolder for 4K movies could be also added which stores movie filenames with 2160p. This is useful for those who have separate 4K libraries in Plex.

Thank you

Rclone not recognizing torrents named a certain way

Basically, any torrent that has spaces in the name, but ends with a . will not be recognized and mounted in the rclone drive. For example:

Bo Burnham Make Happy 2016 (1080p x265 10bit FS68 Joy).mkv is not recognized, and does not show up in my rclone mount, even though it shows up on real debrid.

Bo.Burnham.Make.Happy.2016.1080p.WEBRip.X264-RARBG is recognized and shows up in the rclone mount.

This only matters if the name of the torrent has spaces AND ends with ..

So, this torrent name works and will show up since it doesn't end in .:

Fast X (2023) (1080p MA WEB-DL x265 HEVC 10bit EAC3 5.1 SAMPA)

So, in the Bo Burnham case, plex_debrid will add the first release with the spaces and mark the request as available in overseerr, but the rclone fork will not actually add that torrent to the virtual drive for some reason.

OS is Ubuntu 22.04

Rclone-RD 32 bit ARM support?

I am trying to make use of an old Raspberry Pi 2 I have as a Plex media server, with plex debrid running alongside it. However, this fork of rclone for ARM only supports 64bit, so is there any planned support for 32 bit systems?

rclone_RD will completely lock up while it refreshing dead/missing torrents

I am using the latest version of rclone_RD from the artificial sorting branch - it's an amazing project and thank you for all your effort on this!

I am running the latest version of the artificial-sorting branch

I have quite the extensive plex library at this point due to plex_debrid - there are around 52 pages total on my real debrid account.

I notice that on occasion (daily it seems?) that my entire rclone instance will completely lock up (it is mounted as a docker volume) - looking at the logs I can see that it is refreshing each torrent one by one in my entire library during this time that it is locked up.

During this time I am completely unable to access any of the rclone mounted files, even including the ones that should be available and are available to download from the real-debrid site.

Even trying to run an ls command on the rclone_rd mount directory, it will just hang for minutes if not hours on end, and finally starts working after I restart my docker compose environment.

Could the redownload / refresh torrent task be moved into it's own separate thread to avoid locking up the entire filesystem while resurrecting missing links?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.