Hi!

Similar problem to another poster but I wasn't sure if it was the same so I thought I'd make a new thread; hope that's OK.

If I play an album, I can listen to a song all the way through but if the phone is locked, it won't go onto the next one. Works fine if the phone is unlocked.

Some details:

foobar2000 Mobile version 1.1.53
FFMpeg version 3.3.3
iPhone 11 (not the pro!)
Issue present in iOS 13.2.2 and 13.2.3


Pulling from the log yields interesting results:

Code:
Media library: scan ended, changed: no, time: 0:00.048
Opening track for playback: "~/Documents/Rammstein - Rammstein (2019) [320]/04 AUSLA&*776;NDER.mp3"
CoreAudio: opening 16bit 44100Hz 2ch
Opening track for playback: "~/Documents/Rammstein - Rammstein (2019) [320]/04 AUSLA&*776;NDER.mp3"
CoreAudio: opening 16bit 44100Hz 2ch
Opening track for playback: "~/Documents/Rammstein - Rammstein (2019) [320]/05 SEX.mp3"
Playback error: Access denied
On: "~/Documents/Rammstein - Rammstein (2019) [320]/05 SEX.mp3"
CoreAudio: opening 16bit 44100Hz 1ch
Opening track for playback: "~/Documents/Rammstein - Rammstein (2019) [320]/06 PUPPE.mp3"
Playback error: Access denied
On: "~/Documents/Rammstein - Rammstein (2019) [320]/06 PUPPE.mp3"
Opening track for playback: "~/Documents/Rammstein - Rammstein (2019) [320]/07 WAS ICH LIEBE.mp3"
Monitoring: foobar2000 Music Folder : file://~/Documents
Media library: scan beginning
It fails to open the file, and then tries successive songs on the album with the same result. The last entry (where it successfully opens the 7th track) is when I unlocked the phone. The duplicate log entries at the beginning for the same song are I suspect when I connected my headphones over bluetooth (though this bug can reliably be invoked without headphones), it paused and I hit play again.

I would say it's something to do with iOS limiting disk reads reads while the device is locked, but you'd know more than me!

Hope this is helpful, and if I can do anything else or provide any other data, do let me know.


Cheers!