Page 1 of 1

[Suggestion] Fewer/no IllegalArgumentException toasts

Posted: 2016-12-08, 00:44 UTC
by HAL 9000
If I have a microSD card connected via USB OTG and pull it out while playing music, it will fail and follow with an "IllegalArgumentException Failed to determine if <sd-card-root>:<path to file> is child of <sd-card-root>:: java.io.FileNotFoundException: No root for <sd-card-root>" toast for every file in the queue.

I don't see these toasts providing much value (there's a toast before all this that states playing has stopped because device was disconnected) and it's quite annoying to wait for it to display all of them. It'd be nice to hide these.

Posted: 2016-12-08, 14:53 UTC
by ghisler(Author)
Thanks for your report. Is this from the TC media player? Or for some other player started from Total Commander?

Posted: 2016-12-08, 18:31 UTC
by HAL 9000
It is the TC media player.

Posted: 2016-12-08, 22:25 UTC
by ghisler(Author)
I see - I will check whether I can suppress some of these error messages. They should help the user see why playback fails.