{
  "id": "ocp",
  "name": "Open Cubic Player",
  "homepage": "https://github.com/mywave82/opencubicplayer",
  "description": "Unix port of Open Cubic Player, which is a text-based player with some few graphical views.",
  "executables": [
    "ocp",
    "ocp-curses"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/ocp/ocp.ini",
      "~/.ocp/ocp.ini"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Open Cubic Player",
    "description": "Start ocp with a playlist or module. Option values (-f, -v, -s sub-settings) are not covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://dokk.org/manpages/debian/12/opencubicplayer/ocp.1.en",
        "revision": "Debian 12 man page",
        "evidence": "ocp [ options ] [ playlist ] [ modulename ]\n-c Use specific configuration.\n-p Quit when playlist is empty.\n"
      }
    ],
    "field": [
      {
        "id": "config",
        "label": "Configuration",
        "description": "Use a specific configuration.",
        "type": "string",
        "option": [
          "-c"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "quit_when_empty",
        "label": "Quit when playlist is empty",
        "type": "boolean",
        "option": [
          "-p"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "file",
        "label": "Playlist or module",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "position": 0,
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "play",
        "label": "Play a module or playlist",
        "fields": [
          "file",
          "quit_when_empty"
        ],
        "required": [
          "file"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "file",
          "quit_when_empty",
          "config"
        ]
      }
    ]
  }
}
