Fix music directory autodetection, add a few checks

Show error message if:
1) The script is not able to autodetect the location of music folder
2) When autodetected or manually specified music folder path is not a directory