icefields / Power-Ampache-2

second version of my popular ampache Android app
GNU General Public License v3.0
43 stars 2 forks source link

Issue playing some mp3 files from nextcloud. #112

Open matysek opened 1 month ago

matysek commented 1 month ago

Hello, I have one album with mp3, that I am not able to play from nextcloud with latest power-ampache 1.00-54. Other mp3 work fine. just one specific album I get

Issue playing this track. The issue could be ...

How could I better debug it to get more reasonable loggging info?

matysek commented 1 month ago

Alternatively I could share privately this mp3 file. My guess is that there might be any issue with localized paths / filenames. However, I'd like to better debug it.

icefields commented 1 month ago

Hello, thanks for reporting the issue. It's odd that only that one album doesn't play. We have a few options here: Enable remote logging in settings, this way I'll receive a stack trace of the error. If you do that you'll have to tell me the exact time when the error happened, because the error reports are anonymous. Not all errors are reported, so this might not work. Sharing the file with me could give me some insight. But the issue you're having might be caused by your server. Some time ago I got a report of a bug with downloads, happening only on one specific album, turned out it was caused by the server giving the client the wrong file size. The best way to debug the issue would be to check logs in Android's LogCat, in order for me to do that I'll need an account for your server (if it's open on the internet). If you're not comfortable with that, we can try the first option. Either way, contact me privately on Telegram (https://t.me/powerampache), Mastodon (https://floss.social/@powerampache), or E-Mail (through github).

matysek commented 1 month ago

@icefields so I enabled it and here is the time and error message from this morning:

2024-05-14 06:58:46
Issues playing this track. The issue could be related to your connection, the file might be corrupt, or overall trouble communicating with your server.
If this is an offline track please try delete and re-download
matysek commented 1 month ago

I also tried to send you an email with link to one mp3 file example.

icefields commented 1 month ago

@matysek thanks! I got all the messages. I will take a look today and I'll keep you posted