diff options
author | waker <wakeroid@gmail.com> | 2011-03-23 19:45:35 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-23 19:45:35 +0100 |
commit | 33228a539608bb256f7701908cee255e46107112 (patch) | |
tree | b1338d878f3e0990778c25cd942fe8d4111192ad /main.c | |
parent | 78621ec984f1d1fae0f3ba0ad70d0937bfe7ff82 (diff) |
save ddb version to config file
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -762,6 +762,9 @@ main (int argc, char *argv[]) { pl_init (); conf_load (); // required by some plugins at startup + + conf_set_str ("deadbeef_version", VERSION); + volume_set_db (conf_get_float ("playback.volume", 0)); // volume need to be initialized before plugins start messagepump_init (); // required to push messages while handling commandline if (plug_load_all ()) { // required to add files to playlist from commandline |