Does anyone know a way to use rclone with music files comfortably?
I have a linux server which serves a mount over caddy and a windows client. Works fine for anything but music since it's not possible to use foobar or to drag folders to vlc this way.
Here's what I've tried:
Direct mount on widows: Mount is slow and choppy
SMB: Choppy playback, interrupts every 5 seconds, same as for video btw.
NFS: Worse than SMB
Webdav: Equally slow
Caddy over http works, but I have to drag single files to the player (vlc)
you can use rclone as a dlna server.
then vlc will see it, works great https://rclone.org/commands/rclone_serve/
here is my command rclone serve dlna --addr=:8123 --name=MediaServer01 wasabimediacrypt:
i also have 1Gbps, from verizon fios fiber and i use wasabi, a s3 rclone.
i am no expert for rclone serve, and only in the last week have i started to use it.
i use it for videos, not music, and video is much more resource intensive.
so far, zero problems.
my command very simple: rclone serve dlna remote:
are you sure you need those extra flags?
you should use a log file with debug info.
i know that gdrive has lots of limits in terms for downloads and transactions per second.
have you tried? https://rclone.org/drive/#fast-list
I've just copied the service file command from another dlna serve I use. The result without additional flags is the same. I use my own client id. My other serve shares 1600 media files without a problem.
-v doesn't output anything after starting serve, -vv only posts unknow file errors from logs and stuff in the folder.
2020/04/10 17:35:49 DEBUG : rclone: Version "v1.50.1" starting with parameters ["/usr/bin/rclone" "serve" "dlna" "cgdrive:music2" "--addr" "192.168.1.11:8001" "--fast-list" "-vv" "--log-file=debug.txt"]
2020/04/10 17:35:49 DEBUG : Using config file from "/home/crm/.config/rclone/rclone.conf"
2020/04/10 17:35:51 DEBUG : Adding path "vfs/forget" to remote control registry
2020/04/10 17:35:51 DEBUG : Adding path "vfs/refresh" to remote control registry
2020/04/10 17:35:51 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2020/04/10 17:35:51 NOTICE: Encrypted drive 'cgdrive:music2': Serving HTTP on 192.168.1.11:8001
2020/04/10 17:35:51 INFO : DLNA server on 192.168.1.11:8001: Started SSDP on eth0
2020/04/10 17:35:51 INFO : DLNA server on 192.168.1.11:8001: Started SSDP on eth3
2020/04/10 17:35:51 INFO : DLNA server on 192.168.1.11:8001: Started SSDP on eth1
2020/04/10 17:35:51 INFO : DLNA server on 192.168.1.11:8001: Started SSDP on eth2
2020/04/10 17:36:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:37:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:38:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:39:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:40:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:41:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:42:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:59216 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58581 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:57966 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:58581: write: broken pipe
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:57966: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:57669 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:57669: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:57747 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:57747: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58081 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:58081: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58344 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:58344: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58225 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:59100 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:58225: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:57860 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:57860: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58843 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58732 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58453 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:42:56 INFO : DLNA server on 192.168.1.11:8001: Error writing response: write tcp 192.168.1.11:8001->192.168.1.242:58453: write: broken pipe
2020/04/10 17:42:56 INFO : /ctl: 192.168.1.242:58947 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2020/04/10 17:43:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:44:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:45:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:46:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:47:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:48:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:49:51 DEBUG : Google drive root 'gdrive/t4nlghvcds3h4cd3obb3bfgec': Checking for changes on remote
2020/04/10 17:49:58 INFO : /ctl: 192.168.1.242:60884 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#GetSearchCapabilities"
2020/04/10 17:49:58 INFO : /ctl: 192.168.1.242:60884 POST 200 "urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"
the problem is that rclone dlna server does not have a persistent database.
i installed UMS on my server.
tho there are a lot of free open source dlna server, UMS, does not require a desktop version of windows.
as i am running the free microsoft hyper-v server, which is command line only, no gui, no desktop.
in a few minutes, it scanned my remote.
so far, video playing is smooth.