Looking for a good music media server, Subsonic and it's forks do not support Rclone mounted drive

What is the problem you are having with rclone?

I am looking for a good music media server. Currently I'm using Jellyfin, however on Android it does not work very well. The android app stutters when the device is locked. And when I use the web browser, it works, but the songs take a long time to load (usually 5-10 seconds) and if the phone is locked, they usually just infinite load. It's kinda annoying to keep unlocking my device every time a song finshes. That and I don't really like the web UI.

So I would like to use something like Subsonic or one of it's forks. However all of them say "Folder not found" like so:


I have no idea why.

What is your rclone version (output from rclone version)

rclone v1.51.0

  • os/arch: windows/386
  • go version: go1.13.7

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

Windows 7, 32bit

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

Google Drive Encrypted

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

rclone.exe mount gdrivecrypt: Z: --vfs-cache-mode writes --fast-list --no-traverse --no-modtime --dir-cache-time 30s --write-back-cache

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = ****
client_secret = ****
scope = drive
token = {"access_token":"****","token_type":"Bearer","refresh_token":"1//03_****","expiry":"2020-06-22T20:27:54.29971+01:00"}
team_drive = ****

[gdrivecrypt]
type = crypt
remote = gdrive:crypt
filename_encryption = standard
directory_name_encryption = true
password = ****
password2 = ****

A log from the command with the -vv flag

2020/06/22 20:19:31 DEBUG : rclone: Version "v1.51.0" starting with parameters [
"rclone.exe" "mount" "gdrivecrypt:" "Z:" "--vfs-cache-mode" "writes" "--fast-lis
t" "--no-traverse" "--no-modtime" "--dir-cache-time" "30s" "--write-back-cache"
"-vv"]
2020/06/22 20:19:31 DEBUG : Using config file from "C:\\Users\\Pentium4\\.config
\\rclone\\rclone.conf"
2020/06/22 20:19:32 DEBUG : Encrypted drive 'gdrivecrypt:': Mounting on "Z:"
2020/06/22 20:19:32 DEBUG : vfs cache root is "C:\\Users\\Pentium4\\AppData\\Loc
al\\rclone\\vfs\\gdrivecrypt"
2020/06/22 20:19:32 DEBUG : Adding path "vfs/forget" to remote control registry
2020/06/22 20:19:32 DEBUG : Adding path "vfs/refresh" to remote control registry

2020/06/22 20:19:32 DEBUG : Adding path "vfs/poll-interval" to remote control re
gistry
2020/06/22 20:19:32 DEBUG : Encrypted drive 'gdrivecrypt:': Mounting with option
s: ["-o" "fsname=gdrivecrypt:" "-o" "subtype=rclone" "-o" "max_readahead=131072"
 "-o" "attr_timeout=1" "-o" "atomic_o_trunc" "-o" "uid=-1" "-o" "gid=-1" "--File
SystemName=rclone" "-o" "volname=gdrivecrypt"]
2020/06/22 20:19:32 DEBUG : Encrypted drive 'gdrivecrypt:': Init:
2020/06/22 20:19:32 DEBUG : Encrypted drive 'gdrivecrypt:': >Init:
2020/06/22 20:19:32 DEBUG : /: Statfs:
2020/06/22 20:19:33 DEBUG : Google drive root 'crypt': read info from team drive
 "redacted@email.com"
2020/06/22 20:19:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294
967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Fava
il:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:33 DEBUG : /: Readlink:
2020/06/22 20:19:33 DEBUG : /: >Readlink: linkPath="", errc=-40
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
The service rclone has been started.
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:33 DEBUG : /: Opendir:
2020/06/22 20:19:33 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/06/22 20:19:33 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2020/06/22 20:19:33 DEBUG : /: >Opendir: errc=0, fh=0x0
2020/06/22 20:19:33 DEBUG : /: Statfs:
2020/06/22 20:19:33 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294
967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Fava
il:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2020/06/22 20:19:33 DEBUG : /: Releasedir: fh=0x0
2020/06/22 20:19:33 DEBUG : /: >Releasedir: errc=0
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:33 DEBUG : /: Opendir:
2020/06/22 20:19:33 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/06/22 20:19:33 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2020/06/22 20:19:33 DEBUG : /: >Opendir: errc=0, fh=0x0
2020/06/22 20:19:33 DEBUG : /: Releasedir: fh=0x0
2020/06/22 20:19:33 DEBUG : /: >Releasedir: errc=0
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:33 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:33 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:33 DEBUG : /: Opendir:
2020/06/22 20:19:33 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/06/22 20:19:33 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2020/06/22 20:19:33 DEBUG : /: >Opendir: errc=0, fh=0x0
2020/06/22 20:19:33 DEBUG : /: Releasedir: fh=0x0
2020/06/22 20:19:33 DEBUG : /: >Releasedir: errc=0
2020/06/22 20:19:36 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:36 DEBUG : /autorun.inf: >Getattr: errc=-2
2020/06/22 20:19:36 DEBUG : /AutoRun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:36 DEBUG : /AutoRun.inf: >Getattr: errc=-2
2020/06/22 20:19:36 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:36 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:36 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/06/22 20:19:36 DEBUG : /: >Getattr: errc=0
2020/06/22 20:19:36 DEBUG : /: Opendir:
2020/06/22 20:19:36 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2020/06/22 20:19:36 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2020/06/22 20:19:36 DEBUG : /: >Opendir: errc=0, fh=0x0
2020/06/22 20:19:36 DEBUG : /: Statfs:
2020/06/22 20:19:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294
967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Fava
il:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2020/06/22 20:19:36 DEBUG : /: Releasedir: fh=0x0
2020/06/22 20:19:36 DEBUG : /: >Releasedir: errc=0

i run emby on windows, as a dlna server and use vlc on android, ios and windows to play media.

in addition, i run rclone dlna server on my android cellphone and view media using vlc.

Isn't DLNA a local network thing though? I need to play my music when I'm outside the house. So it needs to work over the internet.

well, you mentioned that you are trying to view media on android., correct?
if so, you can run rclone, on android, as dlna server and view media on your cellphone with vlc.


run rclone as system user, then all processes will be able to see the rclone mount.


--fast-list - does nothing on a mount

Ah right, what app would you recommend to run the DLNA server? And how would I make it work with Rclone?

EDIT: I just noticed you posted a link, didn't notice it, I will try it out!

rclone can be a basic dlna server.
https://rclone.org/commands/rclone_serve_dlna/

this is what i would run on my cellphone.
rclone serve dlna gdrivecrypt:
and play media on cellphone using vlc

Have you tried Jriver Media Center?

OK, I've tried this, my config is on my phone but I'm not sure how to move it to the correct location using termux.

step 2. from my wiki document.
i use a sftp client on my computer

on windows, i use emby.
but plex would be a good choice.

i did a test, subsonic, works with rclone mount.

I tried it on 2 different pcs and it does the same thing?
Windows 7 32bit and Windows 10 64bit.
Is it something to do with my rclone command?

i gave you the answer earlier in the post.

What's a good way to do this? PsExec won't let me pass arguments to rclone. Rclone appears for a few seconds and then closes.

no need to pass arguments.
create a batch file and have psexec run the batch file.
you can also use task scheduler, easy to use gui.

about rclone closing after a few seconds.
you will need to use a log file with debug info.

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