1 2general { 3 # Username 4 uid = "admin" 5 logfile = "/tmp/forked-daapd.log" 6 # Database location 7 # db_path = "/var/songs3.db" 8 # Available levels: fatal, log, warning, info, debug, spam 9 loglevel = log 10 # Admin password for the non-existent web interface 11 admin_password = "unused" 12 # Enable/disable IPv6 13 ipv6 = no 14} 15 16# Library configuration 17library { 18 # Name of the library as displayed by the clients 19 # %h: hostname, %v: version 20 name = "My Music on %h" 21 # TCP port to listen on. Default port is 3689 (daap) 22 port = 3689 23 # Password for the library. Optional. 24# password = "" 25 26 # Directories to index 27 directories = { "/tmp/shares" } 28 # Directories containing compilations 29 # Matches anywhere in the path (not a regexp, though) 30# compilations = { "/compilations/" } 31 32 # Should iTunes metadata override ours? 33# itunes_overrides = true 34 35 # Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav 36 # Formats that should never be transcoded 37# no_transcode = { "alac", "mp4a" } 38 # Formats that should always be transcoded 39# force_transcode = { "ogg", "flac" } 40} 41 42 43# Airport Express device 44#apex "ApEx" { 45 # AirTunes password 46# password = "s1kr3t" 47#} 48 49# Spotify settings (only have effect if Spotify enabled - see README/INSTALL) 50spotify { 51 # Directory where user settings should be stored (credentials) 52# settings_dir = "/var/cache/forked-daapd/libspotify" 53 54 # Cache directory 55# cache_dir = "/tmp" 56 57 # Set preferred bitrate for music streaming 58 # 0: No preference (default), 1: 96kbps, 2: 160kbps, 3: 320kbps 59# bitrate = 0 60} 61 62# SQLite configuration (allows to modify the operation of the SQLite databases) 63# Make sure to read the SQLite documentation for the corresponding PRAGMA statements as 64# changing them from the defaults may increase the possibility of database corruptions! 65# By default the SQLite default values are used. 66sqlite { 67 # Cache size in number of db pages for the library database 68 # (SQLite default page size is 1024 bytes and cache size is 2000 pages) 69# pragma_cache_size_library = 2000 70 71 # Cache size in number of db pages for the daap cache database 72 # (SQLite default page size is 1024 bytes and cache size is 2000 pages) 73# pragma_cache_size_cache = 2000 74 75 # Sets the journal mode for the database 76 # DELETE (default), TRUNCATE, PERSIST, MEMORY, WAL, OFF 77# pragma_journal_mode = DELETE 78 79 # Change the setting of the "synchronous" flag 80 # 0: OFF, 1: NORMAL, 2: FULL (default) 81# pragma_synchronous = 2 82 83 # Should the database be vacuumed on startup? (increases startup time, 84 # but may reduce database size). Default is yes. 85# vacuum = yes 86} 87