Unmanic

Unmanic is a library optimizer

Not yet tested media Based on TrueNAS app v1.1.9 (Unmanic 0.4.1)
  1. 1
    Copy the script below
  2. 2
    In HexOS, open Apps, find Unmanic and choose Custom Install
  3. 3
    Paste, then press Install — full guide with screenshots
unmanic.json
Download
1{
12  "version": 5,
23  "script": {
4    "version": "0.1.0",
5    "changeLog": "Auto-generated draft from TrueNAS unmanic 1.1.9"
6  },
7  "requirements": {
38    "locations": [
9      "ApplicationsPerformance",
10      "ApplicationsCapacity",
11      "Media"
12    ],
413    "specifications": ["2CORE"],
514    "permissions": ["READ_WRITE_LOCATIONS"],
615    "ports": [30123]
16  },
717  "ensure_directories_exists": [
18    {"path": "$LOCATION(ApplicationsPerformance)"},
19    {"path": "$LOCATION(ApplicationsPerformance)/unmanic"},
20    {"path": "$LOCATION(ApplicationsCapacity)"},
21    {"path": "$LOCATION(ApplicationsCapacity)/unmanic"},
22    {"path": "$LOCATION(Media)", "network_share": true},
23    {
24      "path": "$LOCATION(ApplicationsPerformance)/unmanic/config",
25      "snapshot": {"id": "config"}
26    },
27    {
28      "path": "$LOCATION(ApplicationsPerformance)/unmanic/library",
29      "snapshot": {"id": "library"}
30    },
31    {"path": "$LOCATION(ApplicationsCapacity)/unmanic/encode_cache"}
32  ],
33  "app_values": {
34    "storage": {
835      "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/unmanic/config)",
936      "library": "$HOST_PATH($LOCATION(ApplicationsPerformance)/unmanic/library)",
1037      "encode_cache": "$HOST_PATH($LOCATION(ApplicationsCapacity)/unmanic/encode_cache)",
1138      "additional_storage": [
39        "$MOUNTED_HOST_PATH($LOCATION(Media), /media)"
40      ]
41    },
42    "network": {
1243      "web_port": {"bind_mode": "published", "port_number": 30123}
44    },
45    "resources": {
1346      "limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"},
1447      "gpus": "$GPU_CONFIG()"
48    }
49  }
50}

What this script does

Hover or tap a box to see the lines it explains.

  1. Script format

    Tells HexOS this is a version 5 install script, so it knows how to read the rest.

    Line 2

  2. Script revision

    This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS unmanic 1.1.9”.

    Lines 3–6

  3. Storage locations it needs

    The app uses these HexOS storage locations: App storage (fast), App storage (large) and Media. If one isn't set up yet, HexOS will ask you to pick a place for it.

    Lines 8–12

  4. Minimum hardware

    Recommended minimum: 2 CPU cores.

    Line 13

  5. Permission to use your folders

    Allows the app to read and write files inside the storage locations listed above — and nowhere else.

    Line 14

  6. Network ports

    The app needs port 30123 to be free on your server. A port is like an apartment number for your server's address.

    Line 15

  7. Folders created on install

    Creates the folders the app needs before it starts: App storage (fast) › unmanic, App storage (large) › unmanic, App storage (fast) › unmanic › config, App storage (fast) › unmanic › library and App storage (large) › unmanic › encode_cache. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.

    Lines 17–32

  8. Where the app's settings is saved

    Where the app's settings is saved on your server: App storage (fast) › unmanic › config.

    Line 35

  9. Where your library is saved

    Where your library is saved on your server: App storage (fast) › unmanic › library.

    Line 36

  10. Where the app's “encode cache” files is saved

    Where the app's “encode cache” files is saved on your server: App storage (large) › unmanic › encode_cache.

    Line 37

  11. Your shared folders

    Gives the app access to your existing files: Media appears inside the app as /media.

    Lines 38–40

  12. Web port: 30123

    The app's web page is published on port 30123. You don't need to remember it — clicking the app's card in HexOS takes you there.

    Line 43

  13. Resource limits

    Caps how much of your server the app can use: 2 CPU cores and 10% of your server's memory, but never more than 4 GB. This keeps one busy app from slowing everything else down.

    Line 46

  14. Graphics card access

    If your server has a supported graphics card, HexOS shares it with the app (useful for video conversion or AI features).

    Line 47