Plexamp error "BASS: Opening stream 107452 failed. Sad."

Hello all, I’ve been having a problem for quite some time with Plexamp for iOS. I listen to my music on shuffle most of the time and sometimes Plexamp will simply skip a song. It comes up in queue but just immediately skips to the next song. It’s not one particular file extension and not even one particular song… sometimes the song will play and other times it will be skipped.

Today it skipped song “True American Hate” by Testament" which I know has played fine before.
I checked the logs and came across this error:

**Nov 23, 2021 16:51:36.381 [Javascript] INFO - Player: Sending state changed [A] Testament - True American Hate (0/326635) in state error with artwork true.**
Nov 23, 2021 16:51:36.381 [0x6b9a7000] DEBUG - Audio Session: Set state info for state error.
Nov 23, 2021 16:51:36.381 [0x6b9a7000] DEBUG - Audio Session: Processing metadata change (track changed: 1, poster changed: 1 has next: 1 playing: 1)
Nov 23, 2021 16:51:36.381 [0x6b9a7000] DEBUG - Audio Session: Updating button states for subtype:  playing: 1 and has next: 1
Nov 23, 2021 16:51:36.381 [0x6b9a7000] DEBUG - Audio Session: Changing poster.

(I’m not sure if the other lines have anything to do with the first, but thought it wouldn’t hurt to post them)

I have my Plex server set to automatically download album art, if that helps. And I do not have “Store Track Progress” enabled for music. Has anyone else experienced this? I’m happy to post more logs/specs/etc. if it would help. Thanks in advance!

Disregard, I see that line is also associated with tracks that play fine. I did come across another track that wouldn’t play, and the error in the logs is:

Nov 23, 2021 18:12:11.810 [Javascript] INFO - PLAYER: Precaching data for Craving Lucy / Far Away.
Nov 23, 2021 18:12:11.815 [0x6c40b000] ERROR - BASS: Error [ret = BASS_StreamCreateFile(FALSE, m_reader->path().c_str(), 0, 0, (DWORD)flags)] - 41
Nov 23, 2021 18:12:11.815 [0x6c40b000] INFO - Cache: Media was fully cached, just reading from disk.
Nov 23, 2021 18:12:11.815 [0x6c40b000] ERROR - BASS: Opening stream 107452 failed. Sad.

Does that mean there’s an issue with the file itself? I can’t see how because it plays fine in Plex Web. Just trying to narrow things down as this is really frustrating.

error 41 usually indicates a file format issue, but you haven’t included enough of the log for us to see if it’s a network issue (missing file).

Thanks @elan I didn’t know what was relevant in the logs vs. what is not. I’m listening to music right now and I’m making note of what songs it’s skipping. My plan is to get 2-3 examples and create a playlist of those songs, along with a few others that play without issue. Then I’ll clear the network cache, let the playlist play, and grab the log. Figured the log would be much cleaner and easier to read, rather than having to sift through noise.

@elan Sorry for not replying sooner. I haven’t had a chance to pull logs yet, but will do so. I’m going to make a playlist like described above. I did notice, however, that the issue is not prevalent on Android… I just tried playing a few songs on my Android device (Pixel 3 XL on Android 12) that do not play on my iOS device (iPhone 11 Pro Max on iOS 14) with Plexamp and they played no problem.

Not sure if that helps, but thought it was worth mentioning.

The decoders on iOS are slightly different, and likely make more use of the system’s build-in codecs. This may imply they’re more picky about file formats/minor corruption.

Hi again @elan, finally got a chance to grab some logs today. I was trying to play the song “Show Me What You Got” by Powerman 5000 and it skipped the song. The song plays fine on other music apps, so I’m sure the errors in the logs will mean more to you than me. Let me know if you want/need other examples, and I greatly appreciate you looking at this!
Plexamp.log (2.7 MB)

Mar 22, 2022 09:42:56.952 [0x6e0e7000] ERROR - BASS: Error [ret = BASS_StreamCreateFile(FALSE, m_reader->path().c_str(), 0, 0, (DWORD)flags)] - 41

41 means “bad file format” — the decoder doesn’t like it for some reason.

Thanks @elan . I checked the file and it’s an m4a file. What I don’t understand is that it played “Nobody’s Real” (same band, from the same source (purchased from iTunes), but a different album) just a few songs prior without issue, and that’s also an m4a file. Would it help if I posted the files here (or send you a PM, if they shouldn’t be posted publicly) to let you examine them? Or is that not necessary?

Sure, you can DM me a link to a broken file, I’ll see if I notice anything obvious.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.