Hi!
I am currently on my quest for the best audio setup on Linux.
I landed with Mopidy because of its great integrations, and now got it setup after the usual hickups when diving into a new topic.
My main usecase would be the playback of lossless music from my FreeNAS NAS, and also MPD. Also planned but not mainly in my focus now are Subsonic and Spotify integrations.
The FreeNAS Music is shared both by SMB and WebDAV. At first i used the SMB share which i mounted as non root into a dir of my home dir, so there would be no permissions problem, as opposed to mounting “normally” as root, where non root apps and users dont have access.
Sadly that didnt work out, and mopidy gave errors, even though all other non root software dont have those problems.
This is the command i used:
sudo mount -t cifs -o username=FOO,password=FOO,uid=1000,gid=1000 //192.168.178.32/Music “/home/stele77/FOO/”
Now i mounted the music by WebDAV with davfs, and the permissions problem is gone. But it seems that this is slower than SMB, and the scan will take several days to complete.
Is there a way, with which i could enter the SMB adress into the config file directly, so i dont need to mount it into the file system first? And if yes, how do i add username and password (I dont mind to save it in config in clear text and know about the consequences).
Like this:
[file]
enabled = true
media_dirs =
//MYSERVERNAME/SHARE
show_dotfiles = false
excluded_file_extensions =
.jpg
.jpeg
follow_symlinks = false
metadata_timeout = 1000
[local]
enabled = true
library = json
//MYSERVERNAME/SHARE
and so on…
MY SYSTEM:
Desktop - Antergos (Arch based)
Server - FreeNAS 11.2
EDIT: I only moved to Linux End of last year, so please forgive me if i missed something obvious…