summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 31176cb1..ae962c71 100644
--- a/main.c
+++ b/main.c
@@ -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