Browse Source

Read username

Bob Mottram 7 years ago
parent
commit
6e65880756
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-app-koel

+ 2
- 0
src/freedombone-app-koel View File

@@ -176,6 +176,8 @@ function reconfigure_koel {
176 176
 }
177 177
 
178 178
 function koel_import_from_directory {
179
+    read_config_param MY_USERNAME
180
+
179 181
     data=$(mktemp 2>/dev/null)
180 182
     dialog --title "Choose a directory containing music" --dselect "/home/$MY_USERNAME/" 30 60 2> "$data"
181 183
     selected_dir=$(cat "$data")