document.getElementById("playlist-upload-input").onchange = e => { document.getElementById("playlist-upload-form").submit(); };