MyNixOS website logo
option

services.porn-vault.settings

Configuration for Porn-Vault. The attributes are serialized to JSON in config.json.

See https://gitlab.com/porn-vault/porn-vault/-/blob/dev/config.example.json.

Declarations
Type
JSON value
Default
{
  binaries = {
    ffmpeg = "ffmpeg";
    ffprobe = "ffprobe";
    imagemagick = {
      convert = "convert";
      identify = "identify";
      montage = "montage";
    };
  };
  diagnostics = {
    deadAudioChannelDetection = {
      volumeThreshold = -50;
    };
  };
  import = {
    images = [
      {
        enable = true;
        exclude = [ ];
        extensions = [
          ".jpg"
          ".jpeg"
          ".png"
          ".gif"
        ];
        include = [ ];
        path = "/media/porn-vault/images";
      }
    ];
    videos = [
      {
        enable = true;
        exclude = [ ];
        extensions = [
          ".mp4"
          ".mov"
          ".webm"
        ];
        include = [ ];
        path = "/media/porn-vault/videos";
      }
    ];
  };
  matching = {
    applyActorLabels = true;
    applyStudioLabels = true;
    ignoreSingleNames = true;
    regexAliasesCaseSensitive = false;
  };
  persistence = {
    libraryPath = "/media/porn-vault/lib/library";
    tempFolder = "tmp";
  };
  plugins = {
    events = {
      "scene:created" = [ ];
    };
    register = { };
  };
  processing = {
    bookmarkNewScenes = false;
    generatePreviewStrip = true;
  };
}