[{"data":1,"prerenderedAt":802},["ShallowReactive",2],{"\u002Ffeatures\u002Ftext-editor\u002Fandroid-tv":3},{"id":4,"title":5,"body":6,"description":768,"extension":769,"meta":770,"navigation":797,"path":798,"seo":799,"stem":800,"__hash__":801},"features\u002Ffeatures\u002Ftext-editor\u002Fandroid-tv.md","Text Editor for Android TV — Edit Config Files on Your TV",{"type":7,"value":8,"toc":744},"minimark",[9,14,18,37,40,44,49,52,74,77,104,114,118,121,141,144,197,200,204,207,221,224,228,231,242,246,249,263,267,270,281,285,288,292,369,375,379,382,452,456,459,537,540,544,548,551,581,584,588,591,608,612,615,629,633,636,653,660,664,667,705,709,740],[10,11,13],"h2",{"id":12},"why-a-text-editor-on-a-television","Why a Text Editor on a Television?",[15,16,17],"p",{},"It sounds counterintuitive — who edits text on a TV? The answer: anyone who runs sideloaded apps, emulators, or media servers on their Android TV. These apps rely on configuration files that sometimes need manual tweaks, and without a text editor on the TV itself, you'd need to:",[19,20,21,25,28,31,34],"ol",{},[22,23,24],"li",{},"Pull the file to a PC (via ADB or USB)",[22,26,27],{},"Edit on the PC",[22,29,30],{},"Push back to the TV",[22,32,33],{},"Test if the change worked",[22,35,36],{},"Repeat if not",[15,38,39],{},"With AnExplorer's text editor, the cycle becomes: open file → edit → save → test. All on the TV. Cuts a 10-minute round-trip down to 30 seconds.",[10,41,43],{"id":42},"key-use-cases","Key Use Cases",[45,46,48],"h3",{"id":47},"retroarch-configuration","RetroArch configuration",[15,50,51],{},"RetroArch (the popular retro gaming emulator) uses dozens of config files:",[53,54,55,62,68],"ul",{},[22,56,57,61],{},[58,59,60],"strong",{},"retroarch.cfg"," — master settings (video driver, audio device, controller mapping)",[22,63,64,67],{},[58,65,66],{},"retroarch-core-options.cfg"," — per-core settings (SNES filters, GBA color correction)",[22,69,70,73],{},[58,71,72],{},"remappings\u002F"," — controller button remapping per game",[15,75,76],{},"Common edits:",[53,78,79,87,94,97],{},[22,80,81,82,86],{},"Change ",[83,84,85],"code",{},"video_driver"," from \"glcore\" to \"gl\" if games crash",[22,88,89,90,93],{},"Adjust ",[83,91,92],{},"audio_latency"," to fix sound crackling",[22,95,96],{},"Fix controller mapping when a new gamepad isn't auto-detected",[22,98,99,100,103],{},"Set ",[83,101,102],{},"savefile_directory"," to a USB drive path",[15,105,106,107,110,111,113],{},"With AnExplorer: navigate to ",[83,108,109],{},"\u002Fstorage\u002Femulated\u002F0\u002FRetroArch\u002F"," → open ",[83,112,60],{}," → find the line → edit → save → restart RetroArch.",[45,115,117],{"id":116},"kodi-advancedsettingsxml","Kodi advancedsettings.xml",[15,119,120],{},"Kodi power users customize behavior through XML config files:",[53,122,123,129,135],{},[22,124,125,128],{},[58,126,127],{},"advancedsettings.xml"," — buffer size, cache mode, network timeouts",[22,130,131,134],{},[58,132,133],{},"sources.xml"," — media source paths",[22,136,137,140],{},[58,138,139],{},"guisettings.xml"," — UI preferences",[15,142,143],{},"Example: increasing Kodi's video buffer for 4K NAS playback:",[145,146,151],"pre",{"className":147,"code":148,"language":149,"meta":150,"style":150},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cadvancedsettings>\n  \u003Ccache>\n    \u003Cbuffermode>1\u003C\u002Fbuffermode>\n    \u003Cmemorysize>209715200\u003C\u002Fmemorysize>\n    \u003Creadfactor>20\u003C\u002Freadfactor>\n  \u003C\u002Fcache>\n\u003C\u002Fadvancedsettings>\n","xml","",[83,152,153,161,167,173,179,185,191],{"__ignoreMap":150},[154,155,158],"span",{"class":156,"line":157},"line",1,[154,159,160],{},"\u003Cadvancedsettings>\n",[154,162,164],{"class":156,"line":163},2,[154,165,166],{},"  \u003Ccache>\n",[154,168,170],{"class":156,"line":169},3,[154,171,172],{},"    \u003Cbuffermode>1\u003C\u002Fbuffermode>\n",[154,174,176],{"class":156,"line":175},4,[154,177,178],{},"    \u003Cmemorysize>209715200\u003C\u002Fmemorysize>\n",[154,180,182],{"class":156,"line":181},5,[154,183,184],{},"    \u003Creadfactor>20\u003C\u002Freadfactor>\n",[154,186,188],{"class":156,"line":187},6,[154,189,190],{},"  \u003C\u002Fcache>\n",[154,192,194],{"class":156,"line":193},7,[154,195,196],{},"\u003C\u002Fadvancedsettings>\n",[15,198,199],{},"Create or edit this file directly on the TV without needing ADB access.",[45,201,203],{"id":202},"iptv-playlist-editing-m3u-files","IPTV playlist editing (M3U files)",[15,205,206],{},"M3U playlists for IPTV apps sometimes need corrections:",[53,208,209,212,215,218],{},[22,210,211],{},"Fix URLs that have changed",[22,213,214],{},"Remove dead channels",[22,216,217],{},"Reorder channel groups",[22,219,220],{},"Add new streams",[15,222,223],{},"Open the .m3u file in AnExplorer's editor → make changes → save → reload in your IPTV app.",[45,225,227],{"id":226},"subtitle-timing-fixes-srt-files","Subtitle timing fixes (SRT files)",[15,229,230],{},"Sometimes subtitles are slightly out of sync. Quick fixes:",[53,232,233,236,239],{},[22,234,235],{},"Adjust timestamps in .srt files (shift all times by a few seconds)",[22,237,238],{},"Fix encoding issues (remove garbled characters)",[22,240,241],{},"Merge subtitle parts",[45,243,245],{"id":244},"hosts-file-for-ad-blocking","Hosts file for ad-blocking",[15,247,248],{},"Advanced users edit the hosts file to block ads system-wide on rooted TVs:",[53,250,251,257,260],{},[22,252,253,254],{},"Add ad-server domains pointing to ",[83,255,256],{},"127.0.0.1",[22,258,259],{},"Block telemetry domains",[22,261,262],{},"Requires root access (available on some Fire TV devices)",[45,264,266],{"id":265},"app-configuration-files","App configuration files",[15,268,269],{},"Many sideloaded apps use config files:",[53,271,272,275,278],{},[22,273,274],{},"SmartTubeNext preferences",[22,276,277],{},"Custom launcher configurations",[22,279,280],{},"Automation app scripts (Tasker exports)",[10,282,284],{"id":283},"the-keyboard-question","The Keyboard Question",[15,286,287],{},"Let's be honest: editing text with a TV remote and on-screen keyboard is painful. It works for small changes (fixing a single value in a config file), but anything longer requires a physical keyboard.",[45,289,291],{"id":290},"recommended-input-methods","Recommended input methods",[293,294,295,311],"table",{},[296,297,298],"thead",{},[299,300,301,305,308],"tr",{},[302,303,304],"th",{},"Method",[302,306,307],{},"Speed",[302,309,310],{},"Best for",[312,313,314,326,337,347,358],"tbody",{},[299,315,316,320,323],{},[317,318,319],"td",{},"USB keyboard (wired)",[317,321,322],{},"★★★★★",[317,324,325],{},"Extended editing, regular use",[299,327,328,331,334],{},[317,329,330],{},"Bluetooth keyboard",[317,332,333],{},"★★★★☆",[317,335,336],{},"Wireless convenience, occasional use",[299,338,339,342,344],{},[317,340,341],{},"Mini wireless keyboard (Rii, iPazzPort)",[317,343,333],{},[317,345,346],{},"Compact, designed for TV",[299,348,349,352,355],{},[317,350,351],{},"TV remote + on-screen keyboard",[317,353,354],{},"★☆☆☆☆",[317,356,357],{},"Single character changes only",[299,359,360,363,366],{},[317,361,362],{},"Phone keyboard app (remote input)",[317,364,365],{},"★★★☆☆",[317,367,368],{},"When no physical keyboard available",[15,370,371,374],{},[58,372,373],{},"Recommendation:"," A mini wireless keyboard with touchpad (Rii i8, iPazzPort) costs $15-25 and transforms the TV editing experience. These are designed for Android TV use — compact, wireless, with a built-in touchpad for cursor positioning.",[45,376,378],{"id":377},"keyboard-shortcuts-in-the-editor","Keyboard shortcuts in the editor",[15,380,381],{},"When a physical keyboard is connected:",[293,383,384,394],{},[296,385,386],{},[299,387,388,391],{},[302,389,390],{},"Shortcut",[302,392,393],{},"Action",[312,395,396,404,412,420,428,436,444],{},[299,397,398,401],{},[317,399,400],{},"Ctrl+S",[317,402,403],{},"Save file",[299,405,406,409],{},[317,407,408],{},"Ctrl+Z",[317,410,411],{},"Undo",[299,413,414,417],{},[317,415,416],{},"Ctrl+A",[317,418,419],{},"Select all",[299,421,422,425],{},[317,423,424],{},"Ctrl+C \u002F Ctrl+V",[317,426,427],{},"Copy \u002F Paste",[299,429,430,433],{},[317,431,432],{},"Arrow keys",[317,434,435],{},"Navigate text",[299,437,438,441],{},[317,439,440],{},"Home\u002FEnd",[317,442,443],{},"Jump to line start\u002Fend",[299,445,446,449],{},[317,447,448],{},"Ctrl+Home\u002FEnd",[317,450,451],{},"Jump to file start\u002Fend",[10,453,455],{"id":454},"supported-file-types","Supported File Types",[15,457,458],{},"AnExplorer's text editor opens any plain-text file regardless of extension:",[293,460,461,471],{},[296,462,463],{},[299,464,465,468],{},[302,466,467],{},"Category",[302,469,470],{},"Extensions",[312,472,473,481,489,497,505,513,521,529],{},[299,474,475,478],{},[317,476,477],{},"General text",[317,479,480],{},".txt, .md, .rtf (plain), .log",[299,482,483,486],{},[317,484,485],{},"Configuration",[317,487,488],{},".cfg, .conf, .ini, .properties",[299,490,491,494],{},[317,492,493],{},"Data formats",[317,495,496],{},".xml, .json, .yaml, .yml, .csv",[299,498,499,502],{},[317,500,501],{},"Scripts",[317,503,504],{},".sh, .bat, .cmd, .py",[299,506,507,510],{},[317,508,509],{},"Media playlists",[317,511,512],{},".m3u, .m3u8, .pls",[299,514,515,518],{},[317,516,517],{},"Subtitles",[317,519,520],{},".srt, .sub, .ass, .ssa",[299,522,523,526],{},[317,524,525],{},"Web",[317,527,528],{},".html, .css, .js",[299,530,531,534],{},[317,532,533],{},"System",[317,535,536],{},"hosts, .env, .htaccess",[15,538,539],{},"The editor handles files up to several megabytes comfortably. For very large log files (100+ MB), scrolling may be slow on budget TV hardware.",[10,541,543],{"id":542},"practical-workflow-examples","Practical Workflow Examples",[45,545,547],{"id":546},"fix-a-broken-retroarch-config","Fix a broken RetroArch config",[15,549,550],{},"Scenario: RetroArch crashes after changing a setting you can't undo from its menu.",[19,552,553,556,562,565,572,578],{},[22,554,555],{},"Open AnExplorer on TV",[22,557,558,559],{},"Navigate to ",[83,560,561],{},"\u002Fstorage\u002Femulated\u002F0\u002FRetroArch\u002Fretroarch.cfg",[22,563,564],{},"Open in text editor",[22,566,567,568,571],{},"Find the broken setting (e.g., ",[83,569,570],{},"video_driver = \"vulkan\""," on a device that doesn't support Vulkan)",[22,573,574,575],{},"Change back to ",[83,576,577],{},"video_driver = \"gl\"",[22,579,580],{},"Save → reopen RetroArch → it works again",[15,582,583],{},"Without the text editor, you'd need to connect via ADB from a PC or factory-reset RetroArch losing all settings.",[45,585,587],{"id":586},"create-a-kodi-advancedsettingsxml","Create a Kodi advancedsettings.xml",[15,589,590],{},"Scenario: 4K videos from NAS buffer\u002Fstutter in Kodi.",[19,592,593,599,602,605],{},[22,594,595,596],{},"AnExplorer → navigate to ",[83,597,598],{},"\u002Fstorage\u002Femulated\u002F0\u002FAndroid\u002Fdata\u002Forg.xbmc.kodi\u002Ffiles\u002F.kodi\u002Fuserdata\u002F",[22,600,601],{},"If advancedsettings.xml doesn't exist, create a new file (long-press → New → File)",[22,603,604],{},"Open in editor → type the XML content for increased buffer",[22,606,607],{},"Save → restart Kodi → buffering is resolved",[45,609,611],{"id":610},"edit-iptv-channel-list","Edit IPTV channel list",[15,613,614],{},"Scenario: Some channels in your M3U playlist have changed URLs.",[19,616,617,620,623,626],{},[22,618,619],{},"AnExplorer → navigate to your .m3u file",[22,621,622],{},"Open in editor → find the channel entry",[22,624,625],{},"Update the stream URL",[22,627,628],{},"Save → reload playlist in your IPTV app",[10,630,632],{"id":631},"limitations-on-tv","Limitations on TV",[15,634,635],{},"The text editor is functional but not a full IDE:",[53,637,638,641,644,647,650],{},[22,639,640],{},"No syntax highlighting (plain text view)",[22,642,643],{},"No line numbers display",[22,645,646],{},"No find-and-replace (manual scrolling to find content)",[22,648,649],{},"No split-view or multi-file editing",[22,651,652],{},"Large files (50+ MB) may load slowly",[15,654,655,656,659],{},"For quick config edits, these limitations don't matter. For serious editing work, a PC is still the right tool. The TV text editor is for ",[58,657,658],{},"convenience edits"," that would otherwise require a complicated ADB workflow.",[10,661,663],{"id":662},"compatible-tv-devices","Compatible TV Devices",[15,665,666],{},"Works on all Android TV platforms:",[53,668,669,675,681,687,693,699],{},[22,670,671,674],{},[58,672,673],{},"Nvidia Shield TV"," — best performance for large files, USB keyboard support",[22,676,677,680],{},[58,678,679],{},"Amazon Fire TV Cube"," — Bluetooth keyboard pairing works well",[22,682,683,686],{},[58,684,685],{},"Google TV Streamer"," — USB-C hub for keyboard + mouse",[22,688,689,692],{},[58,690,691],{},"Fire TV Stick 4K"," — Bluetooth keyboard only (no USB port)",[22,694,695,698],{},[58,696,697],{},"Sony Bravia \u002F TCL \u002F Hisense"," — USB ports for wired keyboards",[22,700,701,704],{},[58,702,703],{},"Xiaomi Mi Box"," — USB and Bluetooth keyboard support",[10,706,708],{"id":707},"related-guides","Related Guides",[53,710,711,719,726,733],{},[22,712,713,718],{},[714,715,717],"a",{"href":716},"\u002Ffeatures\u002Ftext-editor","Text Editor Feature"," — full text editor capabilities",[22,720,721,725],{},[714,722,724],{"href":723},"\u002Fdevice\u002Fandroid-tv","File Manager for Android TV"," — complete TV file management",[22,727,728,732],{},[714,729,731],{"href":730},"\u002Ffeatures\u002Fapk-installer\u002Fandroid-tv","APK Installer for Android TV"," — sideloading apps",[22,734,735,739],{},[714,736,738],{"href":737},"\u002Ffeatures\u002Farchive-manager\u002Fandroid-tv","Archive Manager for Android TV"," — extract config archives",[741,742,743],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":150,"searchDepth":163,"depth":163,"links":745},[746,747,755,759,760,765,766,767],{"id":12,"depth":163,"text":13},{"id":42,"depth":163,"text":43,"children":748},[749,750,751,752,753,754],{"id":47,"depth":169,"text":48},{"id":116,"depth":169,"text":117},{"id":202,"depth":169,"text":203},{"id":226,"depth":169,"text":227},{"id":244,"depth":169,"text":245},{"id":265,"depth":169,"text":266},{"id":283,"depth":163,"text":284,"children":756},[757,758],{"id":290,"depth":169,"text":291},{"id":377,"depth":169,"text":378},{"id":454,"depth":163,"text":455},{"id":542,"depth":163,"text":543,"children":761},[762,763,764],{"id":546,"depth":169,"text":547},{"id":586,"depth":169,"text":587},{"id":610,"depth":169,"text":611},{"id":631,"depth":163,"text":632},{"id":662,"depth":163,"text":663},{"id":707,"depth":163,"text":708},"Edit text and config files on Android TV with AnExplorer's built-in editor. Modify Kodi configs, RetroArch settings, and sideloaded app files without a PC.","md",{"faq":771,"howto":784},[772,775,778,781],{"q":773,"a":774},"Can I edit text files on Android TV?","Yes. AnExplorer includes a built-in text editor that works on Android TV. Open any .txt, .cfg, .xml, .json, or .ini file and edit it directly on the TV. Best with a USB or Bluetooth keyboard connected.",{"q":776,"a":777},"What files would I edit on a TV?","Common use cases: RetroArch config files, Kodi advancedsettings.xml, hosts file for ad-blocking, app configuration files, JSON settings, m3u playlists for IPTV, and batch rename lists.",{"q":779,"a":780},"Does the editor work with the TV remote?","The editor opens and displays text with the remote. For actual typing, connect a USB keyboard or Bluetooth keyboard — typing with the on-screen keyboard via D-pad is possible but very slow.",{"q":782,"a":783},"What file types can I edit?","Any plain text file: TXT, CFG, INI, XML, JSON, LOG, SH, CONF, M3U, SRT (subtitles), properties files, and more. If it's plain text, the editor can open and modify it.",{"name":785,"description":786,"totalTime":787,"steps":788},"How to Edit Config Files on Android TV","Modify text and configuration files on your TV using AnExplorer.","PT2M",[789,792,794],{"name":790,"text":791},"Navigate to the file","Open AnExplorer → browse to the config file you need to edit (RetroArch configs in \u002Fstorage\u002Femulated\u002F0\u002FRetroArch\u002F, Kodi in .kodi\u002Fuserdata\u002F, etc.).",{"name":564,"text":793},"Select the text file → it opens in AnExplorer's built-in editor showing the file contents.",{"name":795,"text":796},"Edit and save","Make changes using a connected keyboard (USB or Bluetooth). Save with the on-screen Save button or Ctrl+S on keyboard.",true,"\u002Ffeatures\u002Ftext-editor\u002Fandroid-tv",{"title":5,"description":768},"features\u002Ftext-editor\u002Fandroid-tv","XMigo6h2AWf8ZnHa6cpWhkq59NIi8INZF0_ptddOvaQ",1780644057852]