Access downloaded podcasts on SD Card (they are not shown and AP crashes when sharing)?

App version: 3.0.2 (F-Droid)

Android version: 11 (lineage)

Device model: Fairphone 2

Expected behaviour: I have downloaded some episodes of a podcast which are no longer available online, and I want to access them. They are stored on a sdcard. Unfortunately, I cannot see the files in the file browser (I get to Android/data, but the folder de.danoeh.antennapod is a 0 byte bin file), and if I try to share the media file from AntennaPod, it crashes.

Current behaviour: I cannot access the media files.

First occurred: I just tried this.

Steps to reproduce:

  1. Set the storage to the sdcard
  2. Download a file
  3. Try to find it in the file browser or to share it from AntennaPod

Hi @brab,

If AntennaPod crashes when you try to share them, can you go to Settings » Report a bug, copy the crash report & share it with us here? It sounds like Share Media File crashes the app · Issue #6106 · AntennaPod/AntennaPod · GitHub

What happens if you try to play those episodes - does that work?

The bug is clearly the same (same stack trace), thank you for the link. I posted my information there. In a nutshell:

  • files in sd-card play fine, they cannot be reached by the file browser nor shared
  • files in internal storage also play fine, the can both be reached by the file browser and shared

Here is a copy of the backtrace.

Environment

Android version: 11
OS version: 3.4.113-perf-ge17cc85d633
AntennaPod version: 3.0.2
Model: FP2
Device: FP2
Product: FP2

Crash info

Time: 18-06-2023 18:18:04
AntennaPod version: 3.0.2

StackTrace

java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/19E2-12EB/Android/data/de.danoeh.antennapod/files/media/Le making of des Jours/Nous sommes des chipoteurs professionnels.10434.m4a
	at androidx.core.content.FileProvider$SimplePathStrategy.getUriForFile(SourceFile:800)
	at androidx.core.content.FileProvider.getUriForFile(SourceFile:442)
	at de.danoeh.antennapod.core.util.ShareUtils.shareFeedItemFile(SourceFile:78)
	at de.danoeh.antennapod.dialog.ShareDialog.lambda$onCreateView$1(SourceFile:66)
	at de.danoeh.antennapod.dialog.ShareDialog.lambda$onCreateView$1$ShareDialog(Unknown Source:0)
	at de.danoeh.antennapod.dialog.-$$Lambda$ShareDialog$69d-m2Jj3K1YW2MLxCtWKf4lYhI.onClick(Unknown Source:2)
	at android.view.View.performClick(View.java:7448)
	at com.google.android.material.button.MaterialButton.performClick(SourceFile:1194)
	at android.view.View.performClickInternal(View.java:7425)
	at android.view.View.access$3600(View.java:810)
	at android.view.View$PerformClick.run(View.java:28305)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

As a workaround, does changing the location of the stored files in the preferences move the existing ones? If so, I should be able to access them from internal storage…