From 75627242fe79dce1ac4fde5e22a6428f5e14d08e Mon Sep 17 00:00:00 2001 From: luciano Date: Tue, 30 Jun 2026 10:35:38 +0200 Subject: [PATCH] Upload: fix mp3 greyed-out in mobile file picker + error feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Android/iOS Chrome grey out audio files when the document provider reports a generic MIME (e.g. application/octet-stream for mp3 in Downloads), so accept="audio/*,video/*" alone hid them. Add explicit extension tokens (.mp3, .m4a, …) which mobile pickers honour by filename, un-greying them. Also surface upload success/failure on the button instead of silently resetting. Co-Authored-By: Claude Opus 4.8 --- public/index.html | 4 +++- public/js/control.js | 13 ++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 1d50dc9..13f08a0 100644 --- a/public/index.html +++ b/public/index.html @@ -35,7 +35,9 @@
- + +