I’d like to share what I have done on my Vero2.
I 've a plugin that can download TV shows links in a specific addon’s settings directory and I cannot change it.
I undestood OSMC cannot change the media directories like “TV Shows”.
The only way to solve it, for me was to sync the two directories.
I connect my Vero through ssh and I did as follow.
a) sudo apt-get update
b) sudo apt-get install lrsyncd vim
after lrsyncd, vim and all dependencies were installed:
c) mkdir /etc/lsyncd
d) mkdir /var/log/lsyncd
e) touch /var/log/lsyncd/{lsyncd.log,lsyncd-status.log}
and then the configuration:
f) sudo vim /etc/lsyncd/lsyncd.conf.lua
and I did something like this:
settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusfile = "/var/log/lsyncd/lsyncd-status.log",
statusintervall = 20,
nodaemon = false,
maxProcesses = 5,
maxDelays = 0
}
sync{
default.direct,
delete=false,
source="_/your source dir_",
target="/home/osmc/TV\ Shows/",
rsync = {
archive = true,
verbose = true,
hard_links = true
}
}
I saved the file and quit.
I finally started lrsyncd:
g) lsyncd /etc/lsyncd/lsyncd.conf.lua
Everything seems working. Now, when I download something in the source directory, this is copied into the /home/osmc/TV\ Shows/.
I hope this could be useful.
Season’s greatings.