[Mt-daapd-cvs] SF.net SVN: mt-daapd: [1706] trunk
Status: Beta
Brought to you by:
andrew40
From: <rp...@us...> - 2007-12-28 08:48:53
|
Revision: 1706 http://mt-daapd.svn.sourceforge.net/mt-daapd/?rev=1706&view=rev Author: rpedde Date: 2007-12-28 00:48:51 -0800 (Fri, 28 Dec 2007) Log Message: ----------- add db info to the status page, and update the config template to include cache_dir Modified Paths: -------------- trunk/admin-root/index.html trunk/configure.in trunk/contrib/mt-daapd.conf.templ Modified: trunk/admin-root/index.html =================================================================== --- trunk/admin-root/index.html 2007-12-28 07:12:20 UTC (rev 1705) +++ trunk/admin-root/index.html 2007-12-28 08:48:51 UTC (rev 1706) @@ -62,8 +62,8 @@ <td id="songs_served"> </td> </tr> <tr> - <th>DB Fetches</th> - <td id="db_fetches"> </td> + <th>DB Info</th> + <td id="db_info"> </td> </tr> <tr> <th>DB Version</th> Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2007-12-28 07:12:20 UTC (rev 1705) +++ trunk/configure.in 2007-12-28 08:48:51 UTC (rev 1706) @@ -39,7 +39,6 @@ fi fi - AC_DEFINE_UNQUOTED(CONFFILE,"${CONFFILE}",Where the config file is) rend_posix=true @@ -54,6 +53,7 @@ STATIC_LIBS=no CPPFLAGS="${CPPFLAGS} -g -Wall" +CFLAGS="" dnl fix freebsd's broken (?) libpthread AC_CHECK_LIB(c_r,pthread_creat,LIBS="${LIBS} -lc_r", [ Modified: trunk/contrib/mt-daapd.conf.templ =================================================================== --- trunk/contrib/mt-daapd.conf.templ 2007-12-28 07:12:20 UTC (rev 1705) +++ trunk/contrib/mt-daapd.conf.templ 2007-12-28 08:48:51 UTC (rev 1706) @@ -63,15 +63,26 @@ # db_parms # # This is any extra information the db needs to connect. -# in the case of sqlite and sqlite3, this is the name -# of the directory to store the database in +# This is really only here for future compatibility. +# It will be necessary to specify a username,password, and db +# for db backends like mysql, postgres, etc. Currently, it +# it unused, and not required for sqlite2, sqlite3, or gdbm +# backends # + +# +# cache_dir +# # If you installed from RPM or .deb, this path likely already # exists. If not, then you must create it. The directory itself # must be writable by the "runas" user. # +# This is the directory that firefly saves the sqlite or gdbm +# database in, as well as other private files (persistent playlists, +# mmaped files for daap streams, etc) +# -db_parms = @dbdir@ +cache_dir = @db_dir@ # # mp3_dir (required) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |