I put the wiki page together (quickly I admit), feel free to update it/enhance it.
The problem is, everyones setup is different. I won't advise having your database on ANY flash device (either NAND or SD) as it does write very regularly to it, as it keeps things like play histories and dynamic playlists. It's really worth relocating the entire appdata directory to the same filesystem that shares your media (HDD) and setting the
contentbase parameter, as most peoples problems occur because the mediaserver scanner is trying to scan non media files...
for example: contentbase=/mnt/media
and then the web UI will show the top level directory as /mnt/media rather than / It also means it's impossible to add silly stuff outside the media directory to the database...
Also, there is a blacklist of directories than the server scanner will igore:
/proc
/dev
/sys
/lost+found
/var/preserve
/var/cache
/var/db
/var/local
/var/tmp
/var/opt
/var/run
/var/nis
/var/lib
/var/spool
/var/games
/var/lock
/var/log
/var/yp
/usr/etc
/usr/share
/usr/lib
/usr/libexec
/usr/local/share
/bin
/etc
/lib
/sbin
/srv
/tmp
/boot
/opt
/Program files
/Windows
/I386
/Drivers
AppleDouble
Also watch out for following symlinks (which it does not do by default), to enable this, set followlinks=1
The INI file is UTF16 format, which can be hard to edit, as things like nano and pico don't do UTF16. It's sometimes easier to set the configuration via the web interface. Any variable in the INIfile can be set by using the following web RPC call:
http:\\<your-server-ip>:9000\rpc\set_option?<parameter_name>=<parameter_value>
For example:
http:\\<your-server-ip>:9000\rpc\set_option?contentbase=/mnt/media
To view the current value:
http:\\<your-server-ip>:9000\rpc\get_option?<parameter_name>