CompaToon
Trace: • Settings

Settings

User manual

Settings

Configuration file

The file named prodConfig.json must be at the root of the production folder tree.

  // This is a comment 
  {
      "ProdName": "roger", // Production name
      "DirectoryListToScan":["/01_PREPROD","/REP2/SubRep"],     // optional - only scan these subfolders 
      "AllowedExt":["jpg","mov","swf","tga"],      // optional - extensions of the assets to consider
      "TagFileExt":"dsc4",                         // optional - extension of the file containing the comma-separated tags, with the same name as the asset file
      "DescFileExt":"txt",                         // optional - extension of the description file, with the same name as the asset file
      "Directories":[ // List of folder descriptions   (processed in order)
       {
           "path":"/01_PREPROD/03_ASSETS", // path to consider
           "Scan":true, // the files of this folder are scanned  
           "Cross":true, // subfolders are browsed 
           "Tag": "Type:Assets" // the tag Type=Assets is added to all the files of this sub-tree
           },
     	 {
           "path":"*_RENDERS",
           "Scan":true,
           "Cross":false,
           "Tag": "Step:Render",
           "TagFileCrop":"Scene:9,_V" //  extracts the file name from the 9th character up to the "_V" part
         },
    	 {"path":"*_COMPOSITING","Scan":true,"Cross":false,"Tag": "Step:Compo"},
	 // --- Stop Scan ---
         {"path":"_clone_","Scan":false,"Cross":false }, // skip all folders of type *_clone
	 // --- Assets ---
         {"path":"02_bg","Scan":true,"Tag": "Asset:bg" } // creates the tag Asset=bg for all folders named 02_bg
      ]	  
  }

Keywords explained

“path” :“My/Path”: path to consider.

  If it starts with '/', it is a full path - otherwise a folder name 
  Ex :   "path":"/01_PREPROD/03_ASSETS", // full path
  Ex :   "path":"03_ASSETS",                             // current folder
  

“Tag”:“TypeName:name” : adds a TypeName tag with value name

“TagCrop”:“TypeName:_,-” : adds a TypeName tag taking a sub-part of the folder name

“TagFileCrop”:“TypeName:_,-” : adds a TypeName tag taking a sub-part of the asset file name

Crop syntax

Syntax

Location Keyword Values Default Comments
Root ProdName Production name Not used
DirectoryListToScan [“/rep1”,“/rep2”,…], [] optional - only scans these subfolders (otherwise the whole production is scanned)
AllowedExt [“jpg”,“mov”,…] [] Extensions of the assets to consider
ScanAll true/false false Default scan mode
CrossAll true/false false Default cross mode
DataBaseFile Database file name prodDB.sqlite Local or global path (the file entered in the interface takes priority)
Directories [{},{},{}] List of Directory objects
TagFileExt txt, tag,… txt Extension of the file containing the comma-separated tags, with the same name as the asset file (Kohya WD14 Captioning)
DescFileExt dsc,… - Extension of the description file, with the same name as the asset file (Kohya BLIP Captioning)
Directories: Path Path to process If / is the first character ⇒ global path
Scan true/false Analyses the files of this folder
Cross true/false Browses its subfolders
Tag TypeName:AssetName Assigns a tag to all the files of this tree
TagCrop TypeName:cropParam1,cropParam2 Same, by extracting from the folder name
TagFileCrop TypeName:cropParam1,cropParam2 Same, by extracting from the asset file name
Previous Next

Site Tools

  • Media Manager
  • Sitemap

Page Tools

  • Export to PDF
  • Fold/unfold all
  • Back to top

User Tools

  • Log In
en/compatoon/manuals/toonbrowser/parametrage.txt · Last modified: 2026/12/02 13:01 by twinstef
CompaToon

Table of Contents

Table of Contents

  • Settings
    • Settings
      • Configuration file

Translations of this page:
  • fr
  • en

Documentation

  • ToonBox documentation
  • ToonBox Plugin documentation
  • ToonBrowser documentation
  • ToonExpo documentation