Handle "quality" setting in the config file
authorSteve McIntyre <steve@einval.com>
Sun, 26 May 2013 22:55:01 +0000 (23:55 +0100)
committerSteve McIntyre <steve@einval.com>
Sun, 26 May 2013 22:55:01 +0000 (23:55 +0100)
Thinko previously ignored whatever was set in the config file and
always used the default value. Now fixed.

C/fuse-music.c

index afa9581..777c89b 100644 (file)
@@ -1300,7 +1300,9 @@ int main(int argc, char *argv[])
         }
     }
     
-    if (!quality)
+    if (mo.quality)
+        quality = mo.quality;
+    else
         quality = strdup(formats[format_index].default_quality);
 
     db_state = db_open(mo.db_file);