Back to Top

Virtual feed broken after Marshmallow update (files on ext_sd, but DC can't see them anymore)

7 posts / 0 new
Last post
tooon
Offline
Last seen: 4 years 2 months ago
Joined: 02/25/2014 - 19:51
Virtual feed broken after Marshmallow update (files on ext_sd, but DC can't see them anymore)

DETAILS:
DoggCatcher Version: 1.2.5249
Device: HTC One M8
Android Build: CL708002
Carrier: Verizon

SUMMARY: Virtual feed broken after Marshmallow update (files on ext_sd)

ISSUE:
I'm not sure which piece of the upgrade may have broken things, or even if it's broken or expected behavior.
I had been running on Lollipop for a while without issue. I have an sd card in my phone that I've got a bunch of podcasts on in their own folder. I'd created a virtual feed pointing to that folder and have been using it ever since. I updated my phone to Marshmallow the other day and ever since then that virtual feed shows no files and I haven't been able to get it reconfigured. I see a couple of things that stand out to me.
1. The virtual feed used to point at /storage/ext_sd/media/podcasts. After the upgrade, it looks like the ext_sd card has been renamed to 05F3-3426. I tried to rename it back to ext_sd with ES File Explorer, but it won't let me.
2. When I bring up the feed options and EDIT the Feed storage directory, the browser won't let me browse back through the tree to get to /storage/05F3-3426. It starts at /storage/emulated/0/DoggCatcher/EpisodeEnclosures, I'm able to .. up two directories to /storage/emulated/0, but if I try to go up one more level, it says "Cannot list directory: /storage/emulated". Therefore I'm unable to browse all the way to /storage and into /storage/05F3-3426.
3. I even tried to point my main storage directory at /storage/05F3-3426/Android/data, thinking that maybe the app needed to be aware of that file path before it let me browse it. Even after making that change it wanted to stay on the internal storage and wouldn't let me get past /storage/emulated/0.

Is this expected behavior because of some kind of permissions change in Marshmallow?
Why is the app able to see and use /storage/05F3-3426/Android/data for the main storage, but unable to browse around for a virtual feed?
Might there be some other workaround?
I don't need write/change access to that virtual feed, I just need to be able to read/listen to the episodes in there. I really don't want to copy these files into my local storage, they'd eat up a lot of space.

Any help would be appreciated.

WayneC
Offline
Last seen: 3 days 6 hours ago
Joined: 02/23/2011 - 22:28
Marshmallow Update

See the FAQ article for devices running Marshmallow http://www.doggcatcher.com/node/6493 - after a Marshmallow update Android requires apps (DC) have read/write permission to access external storage.

Once you've given DC permission to access external storage (Device Settings>Apps>DoggCatcher>Permissions)

Repoint DC to each virtual feed external storage directory (Feed Options - Press the context menu of each feed) and point to example /storage/05F3-3426/audiobooks

tooon
Offline
Last seen: 4 years 2 months ago
Joined: 02/25/2014 - 19:51
That's been tried, I've

That's been tried, I've disabled storage access and re-enabled storage access twice.
When you edit the storage location for a virtual feed, it doesn't give you the same storage selection as the main storage selection in the DC settings. The main DC storage settings starts off by giving you an option of a number of specific directories. It does allow you to browse, and interestingly enough the browse function function starts you off at "/". This actually allows you to to browse to the directory that I'm talking about, /storage/05F3-3426.

The issue that I'm running into is that when I edit the storage location of the virtual feed it starts the filesystem browser in /storage/emulated/0/DoggCatcher/EpisodeEnclosures. I'm not able to browse back through the filesystem past /storage/emulated/0, it gives me an error of "Cannot list directory: /storage/emulated". When I use the main filesystem browser and browse from / into /storage and I try to get into /storage/emulated, it tells me "Cannot view directory". I'm guessing that DC isn't able to see into /storage/emulated, at least not on my device, so it can't get past that directory. When I use ES File Explorer and try to look into /storage/emulated, it shows up as empty, so I wonder if access is blocked for that app also.

I'm still able to download new episodes from my subscriptions into the default storage location, so that's still working fine. I just can't seem to browse around the filesystem because of where the filesystem browser starts when I try to edit my virtual feed.

tooon
Offline
Last seen: 4 years 2 months ago
Joined: 02/25/2014 - 19:51
Screenshot of FS browse & error

Here's the screenshot that I'm looking at when I try to browse back through /storage/emulated/0: http://imgur.com/tZ4jPFM. That's the error that I run into which prevents me from getting to /storage.

WayneC
Offline
Last seen: 3 days 6 hours ago
Joined: 02/23/2011 - 22:28
Marshmallow SD card Issue

Thanks for the screenshot, it's possible there is an issue with the SD card...try unmount/remount the SD card (Device Settings>Storage>Press “Unmount SD Card” or Unmount icon>Reboot the device) Then restart app and verify or point DC to the external storage location (DC Menu>Settings>Miscellaneous>Storage Directory) and try pointing the virtual feed to the directory again.

If that fails, try a new card - if the problem persists, then on your device or HTC devices running Marshmallow DC only has read/write access to the Android Data directory - to confirm try creating a new virtual feed using an existing directory and if that fails, a workaround would be to create new virtual feed and let DC create the directory and then copy/move the media files to the new Android Data directory using a file manager.

Example /storage/05F3-3426/audiobooks
to /storage/05F3-3426/Android/Data/com.snoggdoggler.android.applications.doggcatcher.v1_0/files/DoggCatcher/EpisodeEnclosures/159

tooon
Offline
Last seen: 4 years 2 months ago
Joined: 02/25/2014 - 19:51
Got it fixed. I'd gone

Got it fixed. I'd gone through these steps before, but I guess I didn't give it enough time.
First I changed the main DC storage location to /storage/05F3-3426/Android/data.
After GC restarted I edited the virtual feed storage location and it started in /storage/05F3-3426/Android/data/com.snoggdoggler.android.applications.doggcatcher.v1_0/files/DoggCatcher/EpisodeEnclosures/. I attempted to .. back a dir, but it wouldn't let me. I let it sit a minute and tried again, and that time it worked. I was able to go back through the filesystem to /storage/05F3-3426 and into /storage/05F3-3426/media/podcasts. I was able to select that directory and it worked. All of the episodes showed up again and I was able to mark them appropriately and add them to my playlist and play them. I switched the default directory back to the local storage default and things are back to normal.

Thanks for the help!

WayneC
Offline
Last seen: 3 days 6 hours ago
Joined: 02/23/2011 - 22:28
You're welcome

You're welcome