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:
Set the storage to the sdcard
Download a file
Try to find it in the file browser or to share it from AntennaPod
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…