← Back to team overview

ubuntu-phone team mailing list archive

galery app && files on SD card

 

Hello,


The app galery did not started anymore in my BQ E4.5, it was just
sitting there and loading .... for hours without coming to an end. I investigated
it with strace and lsof and saw the app was searching through all the
100.000 files (OSM tiles) on my SD card. While the SD card managment app
supports placing a file there with the name '.nomedia' so the SD Card
app ignores all files and dirs below:

$ ls -la /media/phablet/4BDC-71D9/Maps
total 840900
drwxr-xr-x  3 phablet phablet      4096 Apr  7 09:25 .
drwxr-xr-x  8 phablet phablet      4096 Jan  1  1970 ..
-rw-r--r--  1 phablet phablet         0 Apr  4 14:58 .nomedia
drwxr-xr-x 19 phablet phablet      4096 Apr  4 14:08 osm

$ find /media/phablet/4BDC-71D9/Maps/osm | wc -l
129236

it seems that the galery-app does not honor this file '.nomedia'.

Any idea for a workaround in the app galery? If not I will file a bug
issue in LP.

	matthias

-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045


Follow ups