FreeTube/static/external-player-map.json
9ekaitz f8eff0e422
External player choice 'None' translated in Settings (#2075)
* External player choice 'None' translated in Settings

* requested fix related to Vue i18n import

* suggested changes using translation key and fallback to player name
2022-08-10 17:52:31 -04:00

63 lines
2.0 KiB
JSON

[
{
"name": "None",
"nameTranslationKey": "Settings.External Player Settings.Players.None.Name",
"value": "",
"cmdArguments": null
},
{
"name": "mpv",
"nameTranslationKey": "Settings.External Player Settings.Players.mpv.Name",
"value": "mpv",
"cmdArguments": {
"defaultExecutable": "mpv",
"defaultCustomArguments": null,
"supportsYtdlProtocol": true,
"videoUrl": "",
"playlistUrl": "",
"startOffset": "--start=",
"playbackRate": "--speed=",
"playlistIndex": "--playlist-start=",
"playlistReverse": null,
"playlistShuffle": "--shuffle",
"playlistLoop": "--loop-playlist"
}
},
{
"name": "VLC",
"nameTranslationKey": "Settings.External Player Settings.Players.VLC.Name",
"value": "vlc",
"cmdArguments": {
"defaultExecutable": "vlc",
"defaultCustomArguments": null,
"supportsYtdlProtocol": false,
"videoUrl": "",
"playlistUrl": null,
"startOffset": "--start-time=",
"playbackRate": "--rate=",
"playlistIndex": null,
"playlistReverse": null,
"playlistShuffle": "--random",
"playlistLoop": "--loop"
}
},
{
"name": "iina",
"nameTranslationKey": "Settings.External Player Settings.Players.iina.Name",
"value": "iina",
"cmdArguments": {
"defaultExecutable": "iina",
"defaultCustomArguments": "--no-stdin",
"supportsYtdlProtocol": true,
"videoUrl": "",
"playlistUrl": "",
"startOffset": "--mpv-start=",
"playbackRate": "--mpv-speed=",
"playlistIndex": "--mpv-playlist-start=",
"playlistReverse": null,
"playlistShuffle": "--mpv-shuffle",
"playlistLoop": "--mpv-loop-playlist"
}
}
]