Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude entire folder (and subfolders) #113

Closed
ToNIX- opened this issue Apr 21, 2016 · 15 comments
Closed

Exclude entire folder (and subfolders) #113

ToNIX- opened this issue Apr 21, 2016 · 15 comments
Assignees

Comments

@ToNIX-
Copy link

ToNIX- commented Apr 21, 2016

Just got this on f-droid, this app could easily replace other well known gallery apps!

I'd like to exclude a folder (ext sd/Music) and all it's subfolders. I have to manually select each album folder that shows up to exclude them, which is not possible due to the amount shown.

Thanks!

@framethrower
Copy link

+1

@walrus543
Copy link

Would you like to add paths to exclude specific directories?
Add a .nomedia file into your root folder (Music). Done.

@ToNIX-
Copy link
Author

ToNIX- commented Apr 21, 2016

I'm pretty sure that if a .nomedia file is added to the Music folder, the music player won't list the songs (Vanilla Music).

I think that there has to be a way to select a path to exclude from LeafPic.

@dnldsht
Copy link
Member

dnldsht commented Apr 21, 2016

If you add a .nomedia file in the music directory the music player won't list your your songs if it fetch them from the media store

@dnldsht dnldsht self-assigned this Apr 29, 2016
@artfulrobot
Copy link

+1

@craftyguy
Copy link

I use a music client that places album artwork into /sdcard/subsonic, and I believe this is causing leafpic to crash on startup since there are literally hundreds of separate directories here with images in them. If I remove this directory from my phone, leafpic starts up fine... There definitely needs to be a way to exclude this directory (and inherently its subdirectories) in leafpic without manually tapping 'exclude' on all of the subfolders and any new ones that crop up. The ".nomedia" suggestion does not work here since it breaks my music client's ability to index the music in this folder.

@dnldsht
Copy link
Member

dnldsht commented May 31, 2016

Are you able to provide me the log?

On Tue, May 31, 2016, 9:21 PM clayton craft notifications@github.com
wrote:

I use a music client that places album artwork into /sdcard/subsonic, and
I believe this is causing leafpic to crash on startup since there are
literally hundreds of separate directories here with images in them. If I
remove this directory from my phone, leafpic starts up fine... There
definitely needs to be a way to exclude this directory (and inherently its
subdirectories) in leafpic without manually tapping 'exclude' on all of the
subfolders and any new ones that crop up. The ".nomedia" suggestion does
not work here since it breaks my music client's ability to index the music
in this folder.


You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub
#113 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFBzAOEH-zk2UwewF3Eie3022-3AFviiks5qHIo2gaJpZM4IMVIH
.

@craftyguy
Copy link

I can grab it later, and will file a new issue. In any case, when leafpic does load, my actual 'camera' folder is buried somewhere in hundreds of 'galleries' that leafpic displays for every single image/subdirectory combo. Don't think a log will tell you much there.

Where does leafpic keep a list of excluded directories? At the very least, I would like to manually insert the top-level directory (/sdcard/subsonic) so that leafpic stops trying to index all of these directories/images...

@dnldsht
Copy link
Member

dnldsht commented May 31, 2016

Excluded folders are stored with sqlite.
I'm going to add an option to add an option to exclude a specific path (if
you exclude a folder it exclude also sub folders).

BTW the option to exclude the parents of a folder like QuickPic will be
implemented as soon I fix SD card issues.
Stay tuned!

On Tue, May 31, 2016, 9:27 PM clayton craft notifications@github.com
wrote:

I can grab it later, and will file a new issue. In any case, when leafpic
does load, my actual 'camera' folder is buried somewhere in hundreds of
'galleries' that leafpic displays for every single image/subdirectory
combo. Don't think a log will tell you much there.

Where does leafpic keep a list of excluded directories? At the very least,
I would like to manually insert the top-level directory (/sdcard/subsonic)
so that leafpic stops trying to index all of these directories/images...


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#113 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFBzAN161uPP-GIDOmiGHXAj0uQ4CVNKks5qHIucgaJpZM4IMVIH
.

@craftyguy
Copy link

Thanks for the tip on where to look. I (successfully) manually edited the sqlite db to include the top level directory until you've had a chance to implement this feature :)

On May 31, 2016 12:37:17 PM PDT, Donald Shtjefni notifications@github.com wrote:

@dnldsht
Copy link
Member

dnldsht commented Jun 16, 2016

done in the last release.

@dnldsht dnldsht closed this as completed Jun 16, 2016
@ToNIX-
Copy link
Author

ToNIX- commented Jun 20, 2016

@dnldsht Thanks, I have switched to LeafPic, it's that good now!

@tobycheese
Copy link

Where do I find this? How do I to exclude a path? All I can find is the ability to exclude one specific folder that has an image in it, but same as the op, I need to exclude the top of my music folder.

@alekksander
Copy link

alekksander commented Jun 6, 2017

@tobycheese heh, that's exactly why at some point i choose leafpic over other gallery aps — too many album covers mixed with my personal catalogs

long press album folder from main view, when it's selected click three dots on top, then exclude and there You can choose exact localization to be excluded. the list contains selectable list like:
/storage/emulated/0/documents/long_pressed_folder_name
/storage/emulated/0/documents
/storage/emulated/0
/storage/emulated

@tobycheese
Copy link

@alekksander thanks, that worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants