Skip to content

Commit

Permalink
Restrict binary manager to Windows or development
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jan 2, 2024
1 parent aa63aa6 commit b489bf9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ class Server {
const libraries = await Database.libraryModel.getAllOldLibraries()
await this.cronManager.init(libraries)
this.apiCacheManager.init()
await this.binaryManager.init()

// Download ffmpeg & ffprobe if not found (Currently only in use for Windows installs)
if (global.isWin || Logger.isDev) {
await this.binaryManager.init()
}

if (Database.serverSettings.scannerDisableWatcher) {
Logger.info(`[Server] Watcher is disabled`)
Expand Down

0 comments on commit b489bf9

Please sign in to comment.