Read username
This commit is contained in:
parent
0615969c87
commit
6e65880756
|
@ -176,6 +176,8 @@ function reconfigure_koel {
|
||||||
}
|
}
|
||||||
|
|
||||||
function koel_import_from_directory {
|
function koel_import_from_directory {
|
||||||
|
read_config_param MY_USERNAME
|
||||||
|
|
||||||
data=$(mktemp 2>/dev/null)
|
data=$(mktemp 2>/dev/null)
|
||||||
dialog --title "Choose a directory containing music" --dselect "/home/$MY_USERNAME/" 30 60 2> "$data"
|
dialog --title "Choose a directory containing music" --dselect "/home/$MY_USERNAME/" 30 60 2> "$data"
|
||||||
selected_dir=$(cat "$data")
|
selected_dir=$(cat "$data")
|
||||||
|
|
Loading…
Reference in New Issue