.m4a files are valid to be copied onto an Android device, but are only supported for video playback. Attempting to play these files through the MediaPlayer results in something like:
2023-02-27 15:08:25.782 19783-19783/com.diggerhub.digger E/DiggerAudioService: onError: Unknown, No further details
To avoid the app skipping or getting stuck, songs are being filtered out by extension type in svc.mgrs.loc.playableSongs. If the MediaPlayer starts supporting audio playback for these, then they can be let through.
app.deck.ws.filterSongs now calls back to app.svc.okToPlay (if defined) so it doesn't put anything bad into the working set. dbo.songs may be accessed directly, filtering ws seems more flexible and clearer.
.m4a files are valid to be copied onto an Android device, but are only supported for video playback. Attempting to play these files through the MediaPlayer results in something like:
2023-02-27 15:08:25.782 19783-19783/com.diggerhub.digger E/DiggerAudioService: onError: Unknown, No further details
To avoid the app skipping or getting stuck, songs are being filtered out by extension type in svc.mgrs.loc.playableSongs. If the MediaPlayer starts supporting audio playback for these, then they can be let through.