1
mirror of https://github.com/rclone/rclone synced 2024-12-25 17:03:45 +01:00
rclone/cmd/serve/dlna
Nick Craig-Wood 1fed2d910c config: make config file system pluggable
If you are using rclone a library you can decide to use the rclone
config file system or not by calling

    configfile.LoadConfig(ctx)

If you don't you will need to set `config.Data` to an implementation
of `config.Storage`.

Other changes
- change interface of config.FileGet to remove unused default
- remove MustValue from config.Storage interface
- change GetValue to return string or bool like elsewhere in rclone
- implement a default config file system which panics with helpful error
- implement getWithDefault to replace the removed MustValue
- don't embed goconfig.ConfigFile so we can change the methods
2021-03-11 17:29:26 +00:00
..
data dlna: move root descriptor xml template to the static assets 2019-09-17 12:52:32 +01:00
dlnaflags docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
testdata/files dlna: associate subtitles with all possible media nodes 2019-10-09 11:57:42 +01:00
upnpav dlna: cds: don't specify childCount at all when unknown 2020-02-25 08:41:00 +01:00
cds.go docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
cms.go dlna: icons and compatibility improvements 2019-05-27 14:42:33 +01:00
dlna_test.go config: make config file system pluggable 2021-03-11 17:29:26 +00:00
dlna_util.go Fix error counter - fixes #3650 2019-11-18 14:13:02 +00:00
dlna.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
mrrs.go dlna: fake out implementation of X_MS_MediaReceiverRegistrar 2019-09-17 12:52:02 +01:00