SM-N910P NK2 Gallery Issue w/ Dropbox Image/Video Sync. - Sprint Galaxy Note 4 Q&A, Help & Troubleshooting

Good mornoonevenight.
I've turned on Dropbox image and video sync within gallery (while not sync'g the entire structure).
I have a tremendous amount of data out on DB. I use it to have a pseudo roaming profile across several boxes (laptop, workstation, and a VM) with a lot of win32 files therein, including toolbars, appdata, etc.
The issue I have is that on the Note 4 I am experiencing substantial latency when opening gallery. I believe that it is directly related to gallery syncing all of the Images from all of the folders on DB (i.e. If I turn off the DB img/vid sync, the latency goes away).
Some 33k items are being synced: https://db.tt/h1Bh5KrZ
I expected it to sync only certain folders (i.e. Camera Uploads, Pictures, etc.} not every folder on my DB...
I tried to resolve with putting .nomedia files on DB, not really expecting it to work. It didn't.
Next, I found where the cache is locally stored on the device (stg-em-0-cloudagent-cache-dropbox) and tried to sprinkle .nomedia files throughout, even to eventually include the root cache-db folder (thinking that it would ultimately break DB image/video sync). It had no effect, I am still seeing where DB is syncing some >33K images, which clearly explains the latency whenever gallery is opened or I navigate up to the root gallery folder.
Two questions:
1) Is there a way in which I can prevent the DB client on the device from cache'g all folders, restricting it to a specific subset of folders from the cloud? OR,
2) Is there some way in which I can keep Gallery from loading everything within the DB cache folders (residing inside of the cloud agent folders)?
I was really hoping that the attempt of .nomedia files in the cloudagent folders would have done it, but alas, no...
Please & Thanks.
-t
Sent from my SM-N910P using XDA Premium 4 mobile app

If you're rooted on KitKat running Xposed, you could try "Xposed Media Scanner Optimizer". There's a .scanMedia 0 bit file that can be utilized to optimize the media scan. I tried this but since I don't have much media to be scanned, the media scans were already optimized @ 2 seconds and running infrequently so I disabled it.
It could also be drop box issue trying to sync all data and media alike. Read it thoroughly and try it. Hope it helps but I wouldn't know, myself.

Thanks for the reply.
Yeah, I have had xposed and media scan optimizer installed for some time. It is a nice tool.
Given I have moved most of my media off to the cloud, I hadn't considered trying to use it to circumvent the inclusion of all of the DB folder content. hmm. Will have to give that a go.
Thanks for the idea!
-t

Related

Excluding Folders from Gallery

I've tried the .nomedia method but that doesn't seem to work in ICS. Does anyone know how to prevent a folder from being shown in the Gallery app?
Thanks.
I'd be interested in a solution to this too, don't really want all my album art and images from games etc cluttering the gallery.
Either a method to exclude certain folders or one to only include certain ones would do.
Tried .nomedia as well for my icons folder... doesn't seem to work.
This is driving me nuts. I tried the .nomedia thing too before I found this post. This is such an oversight for the gallery app.. it's pulling all of the downloaded icons/images from my mail app..
i was having issues with gallery not displaying thumbs & even wouldn't open some files. i ended up looking for an alternative and found this:
QuickPic
it is working well and you can specify folders to include/exclude.
Thanks - just downloaded this as well. Should work until someone can find a fix to the .nomedia thing..
Does anyone know what the Scrapbook Photos folder is? I think it may have come from picasa or G+.. but mine is empty and cannot be deleted in the regular gallery.
after putting the .nomedia, try rebooting, or downloading "sdrescan" from the market (free). the android media scanner indexes your files, but its often slow and doesn't update unless the camera puts something there. chances are it just hadn't known there was a .nomedia sucks, they'll probably have a fix eventually
cancerouspete said:
after putting the .nomedia, try rebooting, or downloading "sdrescan" from the market (free). the android media scanner indexes your files, but its often slow and doesn't update unless the camera puts something there. chances are it just hadn't known there was a .nomedia sucks, they'll probably have a fix eventually
Click to expand...
Click to collapse
Unfortunately it seems that there are certain folders where .nomedia will never work. So far I've found this with the downloads folder. No amount of rescanning or rebooting will stop images in the downloads folder appearing in the gallery.
I found that creating a subfolder with a dot in front of it (ie, .stuff) inside the download folder, moving the images into this folder, then rescanning will work.
you guys are honestly just unlucky. .nomedia works perfect for me. i even have a .nomedia file in my music folder and it works.
neok44 said:
you guys are honestly just unlucky. .nomedia works perfect for me. i even have a .nomedia file in my music folder and it works.
Click to expand...
Click to collapse
Which application did you use ?
Cheers~
The .nomedia method works for me too in the Gallery app.
no media does not work for me and its extremely frustrating...bump.
sluflyer06 said:
no media does not work for me and its extremely frustrating...bump.
Click to expand...
Click to collapse
After trying many solutions , finally this one is working for me : https://market.android.com/details?id=com.theronrogers.vaultyfree&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS50aGVyb25yb2dlcnMudmF1bHR5ZnJlZSJd
Good luck !
Cheers~
tossero said:
After trying many solutions , finally this one is working for me : https://market.android.com/details?id=com.theronrogers.vaultyfree&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS50aGVyb25yb2dlcnMudmF1bHR5ZnJlZSJd
Good luck !
Cheers~
Click to expand...
Click to collapse
It looked to me like Vaulty physically moves the selected files to a folder and renames them so they're 'protected' because when i tried it out (it did work) but the location where the files were was not empty in root explorer.
voxigenboy said:
i was having issues with gallery not displaying thumbs & even wouldn't open some files. i ended up looking for an alternative and found this:
QuickPic
it is working well and you can specify folders to include/exclude.
Click to expand...
Click to collapse
Been using this for a bit now. Seems to work really well.
Sent from my Galaxy Nexus using XDA App
I second QuickPic. I used to use it on my HTC Magic because it was too slow for the 3D galley and I've used it ever since. Very efficient, fast, and allows you to zoom in to 100%.
Why don't you guys just put a dot in front of whatever filer its in? So like if the folder was "Pix" then make it ".Pix"....
nomedia is working for me too
It seems that Gallery mostly respects hidden (.foldername) folders and the .nomedia flag, but some process is alerting the Gallery to new folders and files as they are created, and that process does NOT respect hidden folders or .nomedia.
If you believe your problem is solved with the nomedia app, I suggest you move a photo into your hidden and/or .nomedia-ed folder and see if Gallery does not show it afterwards.
The only workaround that I have found is to Force Stop the system app called "Media Storage", clear it's cache and reboot. When media storage runs again at startup you'll find .nomedia and hidden folders are treated correctly (i.e. ignored) again. Beware though, my ringtone and notification tones were reset and I suspect it was a side-effect of doing this.

Gallery not detecting new images?

I have kind of a weird bug with Gallery lately. Images saved to Downloads and Screenshots and Camera appear just fine, but I also have several folders for pictures, like a Wallpapers folder. But for some reason, when I move photos into those folders, Gallery never shows them. It refuses to change since the folders were created, basically.
I've cleared Gallery's cache and data and even deleted the cache in the /sdcard/Android folder, which has solved issues in the past with it. Not having any luck, any ideas?
Usually all that's needed to find any new media is to initiate a media rescan. A reboot will do that and there are free apps (e.g. https://market.android.com/details?id=com.addz.mediascanner&feature=search_result&hl=en) which can force a rescan, too.
Also make sure there is no ".nomedia" file in these directories.
Valynor said:
Usually all that's needed to find any new media is to initiate a media rescan. A reboot will do that and there are free apps (e.g. https://market.android.com/details?id=com.addz.mediascanner&feature=search_result&hl=en) which can force a rescan, too.
Also make sure there is no ".nomedia" file in these directories.
Click to expand...
Click to collapse
Wow, I can't believe I overlooked something so obvious. I just installed that app and it worked perfectly. Thanks!
I think Quickpic also does this rescan, it always shows the media folders up to date...I find it generally faster and more reliable than stock galley, best of all its free and has no ads
Sent from my Galaxy Nexus using Tapatalk

Can Anyone Confirm?

I've been working with hiding images with .nomedia files for years, but at this point, I feel I have tried everything and I can't find a solution to my problem.
I have a bunch of epubs that are displaying coverart showing up in the Samsung default gallery app. I've tried adding the .nomedia files to the offending folders and wiping data for both gallery and media storage, but they continue to return. I've found on some tablet forums that they had had significant trouble, and the only way it would work would to be to make a new folder, put the .nomedia file in first, and then put the items into that folder. This also had no result.
I know some apps will selectively choose to ignore the .nomedia files. Is this default gallery app one of them? This is my first time using a Samsung phone with Touchwiz. I'm not sure what to do at this point, but I installed Quickpic, and they aren't showing up there. Rather not have to pass on the default app.
Thoughts?

[Q] Gallery Folder

Hi,
Quick question: I had sorted all my Pictures on my ext_sdcard into folders, but sadly in the official Gallery app it just shows all of them under camera pictures. Only like 5 Folders which have no logical connection to me are shown, from the internal aswell as from the external storage. Now, I am able to create new Albums and sort them through the menu, but as far as I can see the only thing that changes are the databases and not the file system. I would hate to sort all my photos again
is there a way to use the folder structure or at least something to speed up the process??
I had hoped it would suffice to just change the mediacollection.db -> albums to include the folders but that didn't work
*EDIT*
to create groups one would need to compute the bucket_id hash for the corresponding file/folder. Any infos on which algorithm it uses, or how I can compute it myself?
**EDIT**
The Albums get sorted by Folder, so if you have Subfolders then those will just be in one album. splitting them up kind of resolves the problem. it's just not very nice to have all image folders scattered over the sdcard and completely defeats the purpose of one single image folder
***EDIT***
Moved the pictures from the DCIM Folder to the Pictures Folder and it worked perfectly. please mark as solved for reverence or delete.

Amazon fire storage full

I have moved all apps over to sd card that I can. I only have 650 megs left on local storage. I have used esfile explorer to scan and clean files and recycling bin. I do not have pictures , music etc as those directories are empty? Any ideas where to look to cleanup more files.
Thanks
maybe this nice howto from aftvnews is something for you
Thanks but there are no files in /sdcard/Android/data/org.xbmc.kodi/files
enable view of hidden files !
inside /sdcard/Android/data/org.xbmc.kodi/files is the folder .kodi
folders which have a dot at the beginning are hidden
And then what..?
First, cybero2912 is right - that all of Kodis data in those folders is stored in subfolders that are hidden (using the .dotname folder naming convention).
But. Kodi, over time amounts quite a large number of images/thumbnails and stores them in cache. Especially if you use streaming Addons in Kodi. There are tutorial out there on how to do that. If your Kodi databases aren't stored on the device locally anymore, you will experience more latency in Kodi overall.
If you don't - and the Kodi image cache gets huge, f.e. because you have a very large amount of Movies that you manage via Kodis collection feature - the solution is to move this data to a NAS (or if you were using the AFTV, a connected USB stick f.e.).
If your image cache has grown largely because of your use of streaming addons, you cant delete those images via a filebrowser either, because Kodi references them in internal databases and as soon as you delete them they point at blank - causing Kodi to not show thumbnails anymore --
so the way you actually tackle this is - is with the use of some tools.
The first one that is widely used to clear the image cache and then reset the database entries is called "Raw Maintanance". You can find it on google.
The one I mainly use for this purpose is texturecache - which is a command line tool - that deletes images and entries - if you use it with the (P)rune command option. You can find it by typing texturecache.py into google. Be adviced, that if you have Intagrated a NAS into Kodis sources, unplug it (power it down), before running texturecache - otherwise it has the tendency to time out.
If you are not sure that Kodi's image cache is responsible for you problem - use apps like "Storage Analyser" and "SD Maid" (root) first, to check what is taking up your discspace.
Another popular issue many people have brought upon themselves is to increase Kodis Videostream buffer via advancedsettings.xml "tweaks" they had no understanding on, what that would do. Some "use this setting" tweaks that were shared on reddit and these forums even forced Kodi to cache entire movies - before starting to play them -- so if you are one of the people that fell for those - well, undo it. Default settings are fine. If you have a decent network/internet connection. If you don't well - fixing those "in Kodi" isn't the best idea either.
So the overall lesson here is - "if your storage is getting full" find out why first - then use the appropriate ways to deal with it.

Categories

Resources