Feature: Ignore .nomedia
Before You Begin
Before proceeding, please make sure to follow these steps:
- [ x ] I have checked for similar feature requests in the project's issue tracker to avoid duplicates.
- [ x ] I have searched existing issues to see if this feature has been discussed before.
Feature Details
If I have a 0 byte file named .nomedia in the stickers directory it shows an error message and the stickers don't get reloaded. I suggest ignoring this file.
Is your feature request related to a problem? Please describe
I can't reload stickers if I have .nomedia and I want .nomedia so my gallery doesn't get polluted with stickers
Describe the solution you'd like
Skip this file, or ignore files that aren't media related
Describe alternatives you've considered
Ignoring invalid/erroneous files and continuing to reload stickers also works
Additional Context
It's not related to this issue but the app is also working in LINE and a selected sticker will get treated as an attached photo. It will bring up the photo editor with a send button. This is how it works when you use gboard as well. (WebP or mp4 not tested)
Thanks for the issue. Should just warn and continue tbh. Would you mind seding logs or alternatively a screenshot of the error and I'll have a look
It seems like this isn't actually stopping the stickers from loading. Maybe I got confused. It shows the toast every time you reload but it still adds new stickers.
1752860924683|I|EweSticker|================================================================================
1752860924683|I|EweSticker|Loaded com.fredhappyface.ewesticker:MainActivity
1752860924689|I|EweSticker|Loading private shared preferences: {stickerDirPath=content://com.android.externalstorage.documents/tree/primary%3APictures%2FStickers, numStickersImported=553, recentCache=
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Mosin-Nagant-1.jpg
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Mosin-Nagant-2.jpg
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Mayling_sorry.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Qiongjiu_nice!.jpg
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Klukai_Confident 1.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/1/31a7954245e1420d968165aa4bc39ddd.gif
/data/user/0/com.fredhappyface.ewesticker/files/stickers/12/7803cb81684515fbf9869f21d1f19561.gif
/data/user/0/com.fredhappyface.ewesticker/files/stickers/16/08631b445c38ffd875ce98343c90a1c3.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/13/3028209bc065c00e40a6ea85c3e30faa.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/15/11d965838aed2cb34e9e97d0ed80e3fb.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/16/86905360720b7c774776c725bf71d686.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Peritya_my bad.jpg
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Groza_okay.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Klukai_Hello.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/13/3c95b4bdf23adc59d9305c78b58553d7.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/mechty_005.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/mechty_002.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Mayling_wow.png
/data/user/0/com.fredhappyface.ewesticker/files/stickers/Frontline2/Mayling_Ah....png, compatCache=, activePack=Frontline2, lastUpdateDate=Fri May 23 23:07:16 CDT 2025}
1752860924690|I|EweSticker|Loading backup shared preferences: {scroll=true, vertical=true}
1752860924691|I|EweSticker|Version: 20250217
1752860926270|I|EweSticker|Removing old stickers...
1752860926303|I|EweSticker|Walking content://com.android.externalstorage.documents/tree/primary%3APictures%2FStickers...
1752860929177|I|EweSticker|Perform concurrent file copy operations...
1752860929317|W|EweSticker|'Stickers/.nomedia' is not a supported mimetype (application/octet-stream), notify user
1752860929405|I|EweSticker|Adding message: 'E033: Unsupported format found (application/octet-stream, file: Stickers/.nomedia)' to toaster
1752860931017|I|EweSticker|Copied 554 / 555
1752860931018|I|EweSticker|Messages: [E033: Unsupported format found (application/octet-stream, file: Stickers/.nomedia)]
1752860957456|I|EweSticker|Removing old stickers...
1752860957524|I|EweSticker|Walking content://com.android.externalstorage.documents/tree/primary%3APictures%2FStickers...
1752860961360|I|EweSticker|Perform concurrent file copy operations...
1752860961544|W|EweSticker|'Stickers/.nomedia' is not a supported mimetype (application/octet-stream), notify user
1752860961621|I|EweSticker|Adding message: 'E033: Unsupported format found (application/octet-stream, file: Stickers/.nomedia)' to toaster
1752860963099|I|EweSticker|Copied 555 / 556
1752860963099|I|EweSticker|Messages: [E033: Unsupported format found (application/octet-stream, file: Stickers/.nomedia)]
1752861088484|I|EweSticker|Removing old stickers...
1752861088579|I|EweSticker|Walking content://com.android.externalstorage.documents/tree/primary%3APictures%2FStickers...
1752861091761|I|EweSticker|Perform concurrent file copy operations...
1752861091906|W|EweSticker|'Stickers/.nomedia' is not a supported mimetype (application/octet-stream), notify user
1752861091985|I|EweSticker|Adding message: 'E033: Unsupported format found (application/octet-stream, file: Stickers/.nomedia)' to toaster
1752861093494|I|EweSticker|Copied 554 / 555
1752861093494|I|EweSticker|Messages: [E033: Unsupported format found (application/octet-stream, file: Stickers/.nomedia)]