diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-11 11:43:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-11 11:43:19 +0200 |
commit | c48212fda03866172022c7666ae2353168a295d8 (patch) | |
tree | 59a0d8acdd7204cdafe4ccc84f3c2e60bdcf39b6 /package/mpd | |
parent | 633388aa0d49b87d723ed7475e434a514bd391bd (diff) | |
parent | bd66c8f78a365b7e2027c52eb8ec8f7babf707ff (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mpd')
-rw-r--r-- | package/mpd/files/mpd.conf | 1 | ||||
-rw-r--r-- | package/mpd/patches/patch-src_db_simple_db_plugin_c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/package/mpd/files/mpd.conf b/package/mpd/files/mpd.conf index d05c29e44..c4f9a5290 100644 --- a/package/mpd/files/mpd.conf +++ b/package/mpd/files/mpd.conf @@ -2,6 +2,7 @@ user "mpd" music_directory "/music" playlist_directory "/etc/mpd/playlists" +state_file "/etc/mpd/state" db_file "/etc/mpd/database" pid_file "/var/run/mpd/mpd.pid" log_file "syslog" diff --git a/package/mpd/patches/patch-src_db_simple_db_plugin_c b/package/mpd/patches/patch-src_db_simple_db_plugin_c new file mode 100644 index 000000000..4158c5b8e --- /dev/null +++ b/package/mpd/patches/patch-src_db_simple_db_plugin_c @@ -0,0 +1,11 @@ +--- mpd-0.17.5.orig/src/db/simple_db_plugin.c 2013-08-01 09:15:41.000000000 +0200 ++++ mpd-0.17.5/src/db/simple_db_plugin.c 2013-10-08 15:28:10.000000000 +0200 +@@ -338,6 +338,8 @@ simple_db_save(struct db *_db, GError ** + + fclose(fp); + ++ g_message("Successfully written database to file: %s", db->path); ++ + struct stat st; + if (stat(db->path, &st) == 0) + db->mtime = st.st_mtime; |