mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update configuration
This commit is contained in:
@@ -36,7 +36,8 @@ final readonly class ProcessingConfiguration
|
||||
public string $audioSavePath;
|
||||
public string $tmpUnrarPath;
|
||||
public bool $debugMode;
|
||||
public bool $elasticsearchEnabled;
|
||||
public bool $searchEnabled;
|
||||
public string $searchDriver;
|
||||
public bool $renameMusicMediaInfo;
|
||||
public bool $renamePar2;
|
||||
public string|false $ffmpegPath;
|
||||
@@ -89,7 +90,8 @@ final readonly class ProcessingConfiguration
|
||||
$this->audioSavePath = config('nntmux_settings.covers_path').'/audiosample/';
|
||||
$this->tmpUnrarPath = config('nntmux.tmp_unrar_path');
|
||||
$this->debugMode = (bool) config('app.debug');
|
||||
$this->elasticsearchEnabled = config('nntmux.elasticsearch_enabled') === true;
|
||||
$this->searchDriver = config('search.default', 'manticore');
|
||||
$this->searchEnabled = in_array($this->searchDriver, ['manticore', 'elasticsearch']);
|
||||
$this->renameMusicMediaInfo = (bool) config('nntmux.rename_music_mediainfo');
|
||||
$this->renamePar2 = (bool) config('nntmux.rename_par2');
|
||||
// Regex patterns
|
||||
|
||||
Reference in New Issue
Block a user