[Enhancement]: avoid scanning / monitoring temporary files #2605

Closed
opened 2026-04-25 00:08:57 +02:00 by adam · 1 comment
Owner

Originally created by @aureq on GitHub (Feb 22, 2025).

Type of Enhancement

Server Backend

Describe the Feature/Enhancement

Hi,

I just recently installed audiobookshelf and it works like a charm 🌿.

I'm now using podcast-dl to download my podcasts and have them available in audiobookshelf.

I noticed though, audiobookshelf tracks/monitors files but also temporary files (including *.tmp) that are temporarily created by podcast-dl. This leads to plenty of errors in the logs such as the ones provided below.

Failed to get ino for path /podcasts/australia/Better Off Dead/1-20151105-Welcome.jpg.tmp [Error: ENOENT: no such file or directory, stat '/podcasts/australia/Better Off Dead/1-20151105-Welcome.jpg.tmp'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: '/podcasts/australia/Better Off Dead/1-20151105-Welcome.jpg.tmp'
}
ERROR: [Utils] Failed to get ino for path /podcasts/australia/Better Off Dead/3-20160215-#2 How dare you want to end your life_ Liz's story.mp3.tmp [Error: ENOENT: no such file or directory, stat '/podcasts/australia/Better Off Dead/3-20160215-#2 How dare you want to end your life_ Liz's story.mp3.tmp'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: "/podcasts/australia/Better Off Dead/3-20160215-#2 How dare you want to end your life_ Liz's story.mp3.tmp"
}

Why would this be helpful?

This would remove spurious log entries shown from the console and allow other errors to be visible.

Future Implementation (Screenshot)

n/a

Audiobookshelf Server Version

v2.19.4

Current Implementation (Screenshot)

This is a backend related feature request

Originally created by @aureq on GitHub (Feb 22, 2025). ### Type of Enhancement Server Backend ### Describe the Feature/Enhancement Hi, I just recently installed audiobookshelf and it works like a charm 🌿. I'm now using [`podcast-dl`](https://github.com/lightpohl/podcast-dl) to download my podcasts and have them available in audiobookshelf. I noticed though, audiobookshelf tracks/monitors files ✅ but also temporary files (including `*.tmp`) that are temporarily created by `podcast-dl`. This leads to plenty of errors in the logs such as the ones provided below. ``` Failed to get ino for path /podcasts/australia/Better Off Dead/1-20151105-Welcome.jpg.tmp [Error: ENOENT: no such file or directory, stat '/podcasts/australia/Better Off Dead/1-20151105-Welcome.jpg.tmp'] { errno: -2, code: 'ENOENT', syscall: 'stat', path: '/podcasts/australia/Better Off Dead/1-20151105-Welcome.jpg.tmp' } ERROR: [Utils] Failed to get ino for path /podcasts/australia/Better Off Dead/3-20160215-#2 How dare you want to end your life_ Liz's story.mp3.tmp [Error: ENOENT: no such file or directory, stat '/podcasts/australia/Better Off Dead/3-20160215-#2 How dare you want to end your life_ Liz's story.mp3.tmp'] { errno: -2, code: 'ENOENT', syscall: 'stat', path: "/podcasts/australia/Better Off Dead/3-20160215-#2 How dare you want to end your life_ Liz's story.mp3.tmp" } ``` ### Why would this be helpful? This would remove spurious log entries shown from the console and allow other errors to be visible. ### Future Implementation (Screenshot) n/a ### Audiobookshelf Server Version v2.19.4 ### Current Implementation (Screenshot) This is a backend related feature request
adam added the enhancement label 2026-04-25 00:08:57 +02:00
adam closed this issue 2026-04-25 00:08:58 +02:00
Author
Owner

@nichwall commented on GitHub (Feb 22, 2025):

Duplicate of https://github.com/advplyr/audiobookshelf/issues/1641

@nichwall commented on GitHub (Feb 22, 2025): Duplicate of https://github.com/advplyr/audiobookshelf/issues/1641
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2605