[Enhancement]: include a .nomedia file in the author folder when downloading audiobooks #1112

Closed
opened 2026-04-24 23:48:48 +02:00 by adam · 4 comments
Owner

Originally created by @sir-wilhelm on GitHub (Jan 3, 2025).

Describe the Feature/Enhancement

When downloading an audiobook, include an empty .nomedia file in the author's folder.

Why would this be helpful?

It would prevent me from having to do it manually to ensure audio book image covers don't show up in my image gallery.

Notes:

  • I'm running the app on a Samsung Galaxy S20
  • putting the audio books on an SD card

sadly I can't have the gallery app ignore folders on the SD card, so best way to hide them (w/o just deleting them) is to add the .nomedia file.

Future Implementation (Screenshot)

This change would not impact the UI of the app.

Audiobookshelf App Version

Android App - 0.9.77

Current Implementation (Screenshot)

No response

Originally created by @sir-wilhelm on GitHub (Jan 3, 2025). ### Describe the Feature/Enhancement When downloading an audiobook, include an empty `.nomedia` file in the author's folder. ### Why would this be helpful? It would prevent me from having to do it manually to ensure audio book image covers don't show up in my image gallery. Notes: * I'm running the app on a Samsung Galaxy S20 * putting the audio books on an SD card sadly I can't have the gallery app ignore folders on the SD card, so best way to hide them (w/o just deleting them) is to add the `.nomedia` file. ### Future Implementation (Screenshot) This change would not impact the UI of the app. ### Audiobookshelf App Version Android App - 0.9.77 ### Current Implementation (Screenshot) _No response_
adam added the enhancement label 2026-04-24 23:48:48 +02:00
adam closed this issue 2026-04-24 23:48:49 +02:00
Author
Owner

@nichwall commented on GitHub (Jan 3, 2025):

Is there a reason you can't just put the .nomedia at the root level of the shared folder?

I don't know if the filename is the same for different manufacturers or media apps.

@nichwall commented on GitHub (Jan 3, 2025): Is there a reason you can't just put the `.nomedia` at the root level of the shared folder? I don't know if the filename is the same for different manufacturers or media apps.
Author
Owner

@sir-wilhelm commented on GitHub (Jan 3, 2025):

I'll uninstall Smart Audiobook Player and try that. Something is preventing me from making the file at the top level, and I think it's my old audiobook player. I forgot that was an issue and have just been putting it in the author folders.

I'll report back once I get that removed and tested.

@sir-wilhelm commented on GitHub (Jan 3, 2025): I'll uninstall Smart Audiobook Player and try that. Something is preventing me from making the file at the top level, and I think it's my old audiobook player. I forgot that was an issue and have just been putting it in the author folders. I'll report back once I get that removed and tested.
Author
Owner

@sir-wilhelm commented on GitHub (Jan 3, 2025):

No luck, for whatever reason I can't create the .nomedia file in the parent folder.

Whenever I try to create the file in:
/sdcard/Audiobooks/
the phone stops it's file sharing and I have to un-plug and re-plug it to be able to view files on the system.

I removed the SD card, put it in a reader and created the file, but when I put it back in my phone it auto deletes the file.

@sir-wilhelm commented on GitHub (Jan 3, 2025): No luck, for whatever reason I can't create the `.nomedia` file in the parent folder. Whenever I try to create the file in: `/sdcard/Audiobooks/` the phone stops it's file sharing and I have to un-plug and re-plug it to be able to view files on the system. I removed the SD card, put it in a reader and created the file, but when I put it back in my phone it auto deletes the file.
Author
Owner

@sir-wilhelm commented on GitHub (Jan 5, 2025):

I'm not sure why I did not try this when I was using Smart AudioBook Player, but after making a new folder:

/sdcard/audiobookshelf/Audiobooks/

I was able to add a .nomedia file to the Audiobook folder.

@sir-wilhelm commented on GitHub (Jan 5, 2025): I'm not sure why I did not try this when I was using Smart AudioBook Player, but after making a new folder: `/sdcard/audiobookshelf/Audiobooks/` I was able to add a `.nomedia` file to the Audiobook folder.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1112