mirrored 2 minutes ago
0
TimothyxxxModify VLC launch command and fullscreen detection - Add VLC_VERBOSE=-1 to suppress verbose logging in VLC launch commands across multiple example files - Update is_vlc_fullscreen function to handle cases where screen size or window size is None - Improve robustness of VLC-related metrics and example configurations d373817
{
  "id": "f3977615-2b45-4ac5-8bba-80c17dbe2a37",
  "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/",
  "config": [
    {
      "type": "launch",
      "parameters": {
        "command": "VLC_VERBOSE=-1 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": [
            "pkill",
            "vlc"
          ]
        }
      },
      {
        "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"
    }
  }
}