PDA

View Full Version : "Playback Error: Unsuported or Corrupted File" with encrypted SD



PabloJavier
May 28th, 2017, 10:56 AM
Phone: Samsung SM-A500M (A5 2015)
Android V: 6.0.1
Kernel: 3.10.49-8923866
Foobar2000 V: 1.0.71 lite

Hi team,

Basically I'm not being able to play any file from the SD which is encrypted. When the same files are copied into the internal memory (which is also encrypted) they are correctly played.

Samsung default player does not suffer from the same issue, so I suspect it is something related to foobar2000.

Let me know of any further detail needed.

Peter
May 29th, 2017, 07:23 AM
Problem noted, thanks for reporting.

Perhaps there's some setting to give foobar2000 permissions to read encrypted storage?

I tried to recreate this issue on my antiquated Samsung S3 Mini, and while it did encrypt the SD card (files can no longer be read on a computer), foobar2000 running on it has no trouble reading the encrypted content.

Peter
May 29th, 2017, 07:48 AM
Can you please try if non Samsung apps - such as Kodi (https://play.google.com/store/apps/details?id=org.xbmc.kodi) or VLC (https://play.google.com/store/apps/details?id=org.videolan.vlc) are able to play the problematic files?

PabloJavier
May 29th, 2017, 04:45 PM
Can you please try if non Samsung apps - such as Kodi (https://play.google.com/store/apps/details?id=org.xbmc.kodi) or VLC (https://play.google.com/store/apps/details?id=org.videolan.vlc) are able to play the problematic files?

Of course. I just download VLC and it works fine.

Some extra details:
Files are not even correctly added to the Library. I can only select them browsing by folder. Disc art is also not being displayed

Peter
May 30th, 2017, 09:28 AM
Please go to advanced settings.
Flip the 'use old folder picker' switch.
Remove and re-add your external SD card folders in Media Library.

It should be working fine after that, according to our tests. Though you may be unable to write to the external SD card that way.

PabloJavier
May 30th, 2017, 11:16 AM
Please go to advanced settings.
Flip the 'use old folder picker' switch.
Remove and re-add your external SD card folders in Media Library.

It should be working fine after that, according to our tests. Though you may be unable to write to the external SD card that way.

Problem solved! Thanks a lot :D

Peter
May 30th, 2017, 01:59 PM
OK, glad to hear that it works that way. I've given you beta access - use http://foobar2000.org/test-android to opt-in to start receiving betas.

Because of internal changes, the latest version as of this moment - 1.0.78 - should already cope with Samsung encryption even when using the modern folder picker - because it does not call the offending methods unless asked to write to a file on external storage.

However, I recommend that you just stick with folders added using the old folder picker method for now - no write access is better than broken write access.