Simple-Music-Player icon indicating copy to clipboard operation
Simple-Music-Player copied to clipboard

App no longer start on `WAV` files

Open basc opened this issue 2 years ago • 2 comments

I really like Simple-Music-Player. It is easy, small and works great. And Simple-Music-Player also plays WAV files.

Since 5.18 Simple-Music-Player doesn't start if you click on an WAV file in the app 'files'. Simple-Music-Player still plays WAV files if you choose an WAV file inside the app but not from outside the app.

Steps to reproduce the issue: Click on an WAV file in the app 'files'. Simple-Music-Player starts and quits again and an error message is shown: "Ein unbekannter Fehler ist aufgetreten" (An unknown error has occurred).

Expected behavior: Simple-Music-Player stays open and plays the WAV file.

In 5.17.1 it was working.

Device: GrapheneOS Android 13 Simple-Music-Player 5.18.1

Logcat logcat.txt

basc avatar Oct 02 '23 12:10 basc

I tested this with a couple of wav files and it works fine. If the file was just added, maybe the app hasn't indexed it yet.

If the app just closes itself, that means it can't find that file in the media store or the provided intent data is not valid. Can you please try another file manager and see if it works?

naveensingh avatar Oct 17 '23 04:10 naveensingh

Thanks for your reply. I get wav files as mail attachments from my answering machine. So my use case is to open the wav file directly from the attachment to hear the voice message in SMP. This is no longer working in 5.18 and was working before in 5.17.1 I have downgraded to 5.17.1 and i can open the same wav file again. so the wav file is ok.

I found out something interesting. Maybe it is related to that problem. If i save the wav file from the mail attachment to folder "Download". I use the native app "Files" from aosp (com.android.documentsui) In "Files" if i click on "Downloads" open the wav file than SMP closes itself. But if i first click on "Audio" and then open the wav file from there than SMP starts playing the wav file. So maybe it is related to the media store?

basc avatar Oct 17 '23 21:10 basc