Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.7 KB
Raw Blame
{
  "id": "f3977615-2b45-4ac5-8bba-80c17dbe2a37-WOS",
  "snapshot": "chrome",
  "instruction": "I want to watch two or more videos in same time on VLC. I tried to run multiple instances of VLC. It worked but can't play videos on those new instances. When I play video it plays on first instance instead of new instance.\nIs there any way to solve this problem?",
  "source": "https://www.reddit.com/r/Fedora/comments/rhljzd/how_to_run_multiple_instances_of_vlc_media_player/",
  "_comments": "In Tools > Preferences > all preferences > playlist, you should have an option for 'Use only one instance when started from file manager'. When unchecked, it should allow you to play multiple videos at the same time.",
  "config": [
    {
      "type": "launch",
      "parameters": {
        "command": "vlc"
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["vlc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "launch",
        "parameters": {
          "command": ["powershell", "-Command", "Stop-Process", "-Name", "vlc"]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 1
        }
      },
      {
        "type": "launch",
        "parameters": {
          "command": "vlc"
        }
      }
    ],
    "func": "check_one_instance_when_started_from_file",
    "expected": {
      "type": "rule",
      "rules": {
        "expected_one_instance_when_started_from_file": 0
      }
    },
    "result": {
      "type": "vlc_config",
      "dest": "vlcrc"
    }
  }
}