59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|