Provide a way to hide images from a particular location
Bug #1445755 reported by
David Planella
This bug affects 25 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Committed
|
High
|
Bill Filler | ||
canonical-scopes-project |
New
|
Undecided
|
Unassigned | ||
gallery-app (Ubuntu) |
Fix Released
|
High
|
Arthur Mello | ||
mediascanner2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I've put about 30GB of music in my SD card. Some of the music files don't have embedded cover art and their folders contain those cover art images.
When I then opened the Gallery app, I noticed I now have thousands of "pictures" imported from the cover art images showing up in my Events and Pictures tabs, cluttering the real pictures I've taken with the camera.
Is there a way to tell either mediascanner or the Gallery app to ignore a path and not import/show the images there? E.g. similar to Android, where you can put a .nomedia file in a folder and its images won't show up in the picture viewer.
Related branches
lp://staging/~artmello/gallery-app/gallery-app-fix_1445755
- system-apps-ci-bot: Needs Fixing (continuous-integration)
- Ubuntu Phablet Team: Pending requested
-
Diff: 475 lines (+142/-35)12 files modifiedsrc/database/database.cpp (+5/-5)
src/database/database.h (+2/-1)
src/database/media-table.cpp (+54/-2)
src/database/media-table.h (+4/-1)
src/gallery-manager.cpp (+2/-3)
src/media/media-monitor.cpp (+25/-8)
src/media/media-monitor.h (+4/-3)
src/util/resource.cpp (+35/-4)
src/util/resource.h (+2/-0)
tests/unittests/mediamonitor/tst_mediamonitor.cpp (+1/-1)
tests/unittests/stubs/database_stub.cpp (+5/-5)
tests/unittests/stubs/media-table_stub.cpp (+3/-2)
summary: |
- Provide a way to hide images + Provide a way to hide images from a particular location |
no longer affects: | mediascanner2 |
Changed in gallery-app (Ubuntu): | |
assignee: | nobody → Arthur Mello (artmello) |
importance: | Undecided → High |
no longer affects: | gallery-app |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
milestone: | none → 13 |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in gallery-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in mediascanner2 (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in canonical-devices-system-image: | |
milestone: | 13 → backlog |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.