feat: replace mpv config UI with raw text editor

This commit is contained in:
edde746
2026-03-02 23:06:05 +01:00
parent b5904bc477
commit a00e2b78d6
22 changed files with 289 additions and 682 deletions
+4 -14
View File
@@ -64,7 +64,7 @@
"licenses": "Licenses",
"switchProfile": "Switch Profile",
"subtitleStyling": "Subtitle Styling",
"mpvConfig": "MPV Configuration",
"mpvConfig": "mpv.conf",
"logs": "Logs"
},
"update": {
@@ -128,7 +128,7 @@
"playerBackend": "Player Backend",
"exoPlayer": "ExoPlayer (Recommended)",
"exoPlayerDescription": "Android native player with better hardware support",
"mpv": "MPV",
"mpv": "mpv",
"mpvDescription": "Advanced player with more features and ASS subtitle support",
"hardwareDecoding": "Hardware Decoding",
"hardwareDecodingDescription": "Use hardware acceleration when available",
@@ -420,19 +420,10 @@
"position": "Position"
},
"mpvConfig": {
"title": "MPV Configuration",
"title": "mpv.conf",
"description": "Advanced video player settings",
"properties": "Properties",
"presets": "Presets",
"noProperties": "No properties configured",
"noPresets": "No saved presets",
"addProperty": "Add Property",
"editProperty": "Edit Property",
"deleteProperty": "Delete Property",
"propertyKey": "Property Key",
"propertyKeyHint": "e.g., hwdec, demuxer-max-bytes",
"propertyValue": "Property Value",
"propertyValueHint": "e.g., auto, 256000000",
"saveAsPreset": "Save as Preset...",
"presetName": "Preset Name",
"presetNameHint": "Enter a name for this preset",
@@ -442,8 +433,7 @@
"presetLoaded": "Preset loaded",
"presetDeleted": "Preset deleted",
"confirmDeletePreset": "Are you sure you want to delete this preset?",
"confirmDeleteProperty": "Are you sure you want to delete this property?",
"entriesCount": "${count} entries"
"configPlaceholder": "gpu-api=vulkan\nhwdec=auto\n# comment"
},
"dialog": {
"confirmAction": "Confirm Action"