FreeTube/static/external-player-map.json
kuhaku 903e1a37e7
feat(external-player): add cmd argument mapping for VLC player (#1409)
Signed-off-by: Randshot <randshot@norealm.xyz>
2021-06-15 21:54:10 +02:00

40 lines
1.0 KiB
JSON

[
{
"name": "None",
"value": "",
"cmdArguments": null
},
{
"name": "mpv",
"value": "mpv",
"cmdArguments": {
"defaultExecutable": "mpv",
"supportsYtdlProtocol": true,
"videoUrl": "",
"playlistUrl": "",
"startOffset": "--start=",
"playbackRate": "--speed=",
"playlistIndex": "--playlist-start=",
"playlistReverse": null,
"playlistShuffle": "--shuffle",
"playlistLoop": "--loop-playlist"
}
},
{
"name": "VLC",
"value": "vlc",
"cmdArguments": {
"defaultExecutable": "vlc",
"supportsYtdlProtocol": false,
"videoUrl": "",
"playlistUrl": null,
"startOffset": "--start-time=",
"playbackRate": "--rate=",
"playlistIndex": null,
"playlistReverse": null,
"playlistShuffle": "--random",
"playlistLoop": "--loop"
}
}
]