Skip to content
Snippets Groups Projects
Commit 6e658807 authored by Bob Mottram's avatar Bob Mottram
Browse files

Read username

parent 0615969c
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,8 @@ function reconfigure_koel {
}
function koel_import_from_directory {
read_config_param MY_USERNAME
data=$(mktemp 2>/dev/null)
dialog --title "Choose a directory containing music" --dselect "/home/$MY_USERNAME/" 30 60 2> "$data"
selected_dir=$(cat "$data")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment