You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2023. It is now read-only.
Custom params is an addition I made to allow specification for a handful of rclone parameters on a per remote basis, without users having to modify main scripts or needing to write their own. Parameters are specified as PARAM=value inside a file. Each PRAM= is an arbitrary representation of a specific rclone argument/option with it's value following =.
All .*.param files should be placed in /sdcard/.rclone/ where * represents the name of a [remote] inside your rclone.conf
Here is an example rclone.conf with [remotes]:
Take note of [Ubuntu-VM], [Backup] & [Movies] in screenshot as the values inside [ ] will be used throughout Use Cases. The example above includes one real remote & two aliases to sub dirs accessible via the main remote [Ubuntu-VM]. Because of the way SFTP remotes work dirs outside your home are inaccessible & that's where aliases come in.
Example .*.param files in /sdcard/.rclone/:
List of cust params and the rclone ops they represent:
Example .*.param file content format:
Note: The above is just an example of specifiable params and their default values. There is no need to specify values you do not wish to change. Also take note of the empty line 7 after DISABLE=0, which is required for proper parsing of the file.
Use Cases
Workaround for VLC streaming issues:
VLC has an issue where it will attempt to fully cache media when playing from it's internal browser. The only recourse is to disable caching on the remote entirely or create a separate alias remote "[Movies]" and disable caching there.
Disable remote when only type = alias needed:
Because of the way SFTP remotes work you need to create aliases for directories outside of your starting directory. You may not want to mount the remote [Ubuntu-VM] that aliases exist for even though it is required inside rclone.conf
The text was updated successfully, but these errors were encountered:
About Custom Params
Custom params is an addition I made to allow specification for a handful of rclone parameters on a per remote basis, without users having to modify main scripts or needing to write their own. Parameters are specified as
PARAM=value
inside a file. EachPRAM=
is an arbitrary representation of a specific rclone argument/option with it'svalue
following=
.All
.*.param
files should be placed in/sdcard/.rclone/
where*
represents the name of a[remote]
inside yourrclone.conf
rclone.conf
with[remotes]
:Take note of
[Ubuntu-VM]
,[Backup]
&[Movies]
in screenshot as the values inside[ ]
will be used throughout Use Cases. The example above includes one real remote & two aliases to sub dirs accessible via the main remote[Ubuntu-VM]
. Because of the way SFTP remotes work dirs outside your home are inaccessible & that's where aliases come in..*.param
files in/sdcard/.rclone/
:.*.param
file content format:Note: The above is just an example of specifiable params and their default values. There is no need to specify values you do not wish to change. Also take note of the empty line
7
afterDISABLE=0
, which is required for proper parsing of the file.Use Cases
VLC has an issue where it will attempt to fully cache media when playing from it's internal browser. The only recourse is to disable caching on the remote entirely or create a separate alias remote
"[Movies]"
and disable caching there.type = alias
needed:Because of the way SFTP remotes work you need to create aliases for directories outside of your starting directory. You may not want to mount the remote
[Ubuntu-VM]
that aliases exist for even though it is required insiderclone.conf
The text was updated successfully, but these errors were encountered: