[{"data":1,"prerenderedAt":811},["ShallowReactive",2],{"\u002Ffeatures\u002Ftext-editor\u002Fandroid-tv":3},{"id":4,"title":5,"body":6,"description":777,"extension":778,"meta":779,"navigation":806,"path":807,"seo":808,"stem":809,"__hash__":810},"features\u002Ffeatures\u002Ftext-editor\u002Fandroid-tv.md","Text Editor for Android TV — Edit Config Files on Your TV",{"type":7,"value":8,"toc":753},"minimark",[9,14,18,37,40,44,49,52,74,77,104,114,118,121,141,144,197,200,203,207,210,224,227,231,234,245,249,252,266,270,273,284,288,291,293,297,374,380,384,387,457,461,464,542,545,549,553,556,586,589,591,595,598,615,619,622,636,640,643,660,667,671,674,712,716,747,751],[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.",[201,202],"download-banner",{},[45,204,206],{"id":205},"iptv-playlist-editing-m3u-files","IPTV playlist editing (M3U files)",[15,208,209],{},"M3U playlists for IPTV apps sometimes need corrections:",[53,211,212,215,218,221],{},[22,213,214],{},"Fix URLs that have changed",[22,216,217],{},"Remove dead channels",[22,219,220],{},"Reorder channel groups",[22,222,223],{},"Add new streams",[15,225,226],{},"Open the .m3u file in AnExplorer's editor → make changes → save → reload in your IPTV app.",[45,228,230],{"id":229},"subtitle-timing-fixes-srt-files","Subtitle timing fixes (SRT files)",[15,232,233],{},"Sometimes subtitles are slightly out of sync. Quick fixes:",[53,235,236,239,242],{},[22,237,238],{},"Adjust timestamps in .srt files (shift all times by a few seconds)",[22,240,241],{},"Fix encoding issues (remove garbled characters)",[22,243,244],{},"Merge subtitle parts",[45,246,248],{"id":247},"hosts-file-for-ad-blocking","Hosts file for ad-blocking",[15,250,251],{},"Advanced users edit the hosts file to block ads system-wide on rooted TVs:",[53,253,254,260,263],{},[22,255,256,257],{},"Add ad-server domains pointing to ",[83,258,259],{},"127.0.0.1",[22,261,262],{},"Block telemetry domains",[22,264,265],{},"Requires root access (available on some Fire TV devices)",[45,267,269],{"id":268},"app-configuration-files","App configuration files",[15,271,272],{},"Many sideloaded apps use config files:",[53,274,275,278,281],{},[22,276,277],{},"SmartTubeNext preferences",[22,279,280],{},"Custom launcher configurations",[22,282,283],{},"Automation app scripts (Tasker exports)",[10,285,287],{"id":286},"the-keyboard-question","The Keyboard Question",[15,289,290],{},"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.",[201,292],{},[45,294,296],{"id":295},"recommended-input-methods","Recommended input methods",[298,299,300,316],"table",{},[301,302,303],"thead",{},[304,305,306,310,313],"tr",{},[307,308,309],"th",{},"Method",[307,311,312],{},"Speed",[307,314,315],{},"Best for",[317,318,319,331,342,352,363],"tbody",{},[304,320,321,325,328],{},[322,323,324],"td",{},"USB keyboard (wired)",[322,326,327],{},"★★★★★",[322,329,330],{},"Extended editing, regular use",[304,332,333,336,339],{},[322,334,335],{},"Bluetooth keyboard",[322,337,338],{},"★★★★☆",[322,340,341],{},"Wireless convenience, occasional use",[304,343,344,347,349],{},[322,345,346],{},"Mini wireless keyboard (Rii, iPazzPort)",[322,348,338],{},[322,350,351],{},"Compact, designed for TV",[304,353,354,357,360],{},[322,355,356],{},"TV remote + on-screen keyboard",[322,358,359],{},"★☆☆☆☆",[322,361,362],{},"Single character changes only",[304,364,365,368,371],{},[322,366,367],{},"Phone keyboard app (remote input)",[322,369,370],{},"★★★☆☆",[322,372,373],{},"When no physical keyboard available",[15,375,376,379],{},[58,377,378],{},"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,381,383],{"id":382},"keyboard-shortcuts-in-the-editor","Keyboard shortcuts in the editor",[15,385,386],{},"When a physical keyboard is connected:",[298,388,389,399],{},[301,390,391],{},[304,392,393,396],{},[307,394,395],{},"Shortcut",[307,397,398],{},"Action",[317,400,401,409,417,425,433,441,449],{},[304,402,403,406],{},[322,404,405],{},"Ctrl+S",[322,407,408],{},"Save file",[304,410,411,414],{},[322,412,413],{},"Ctrl+Z",[322,415,416],{},"Undo",[304,418,419,422],{},[322,420,421],{},"Ctrl+A",[322,423,424],{},"Select all",[304,426,427,430],{},[322,428,429],{},"Ctrl+C \u002F Ctrl+V",[322,431,432],{},"Copy \u002F Paste",[304,434,435,438],{},[322,436,437],{},"Arrow keys",[322,439,440],{},"Navigate text",[304,442,443,446],{},[322,444,445],{},"Home\u002FEnd",[322,447,448],{},"Jump to line start\u002Fend",[304,450,451,454],{},[322,452,453],{},"Ctrl+Home\u002FEnd",[322,455,456],{},"Jump to file start\u002Fend",[10,458,460],{"id":459},"supported-file-types","Supported File Types",[15,462,463],{},"AnExplorer's text editor opens any plain-text file regardless of extension:",[298,465,466,476],{},[301,467,468],{},[304,469,470,473],{},[307,471,472],{},"Category",[307,474,475],{},"Extensions",[317,477,478,486,494,502,510,518,526,534],{},[304,479,480,483],{},[322,481,482],{},"General text",[322,484,485],{},".txt, .md, .rtf (plain), .log",[304,487,488,491],{},[322,489,490],{},"Configuration",[322,492,493],{},".cfg, .conf, .ini, .properties",[304,495,496,499],{},[322,497,498],{},"Data formats",[322,500,501],{},".xml, .json, .yaml, .yml, .csv",[304,503,504,507],{},[322,505,506],{},"Scripts",[322,508,509],{},".sh, .bat, .cmd, .py",[304,511,512,515],{},[322,513,514],{},"Media playlists",[322,516,517],{},".m3u, .m3u8, .pls",[304,519,520,523],{},[322,521,522],{},"Subtitles",[322,524,525],{},".srt, .sub, .ass, .ssa",[304,527,528,531],{},[322,529,530],{},"Web",[322,532,533],{},".html, .css, .js",[304,535,536,539],{},[322,537,538],{},"System",[322,540,541],{},"hosts, .env, .htaccess",[15,543,544],{},"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,546,548],{"id":547},"practical-workflow-examples","Practical Workflow Examples",[45,550,552],{"id":551},"fix-a-broken-retroarch-config","Fix a broken RetroArch config",[15,554,555],{},"Scenario: RetroArch crashes after changing a setting you can't undo from its menu.",[19,557,558,561,567,570,577,583],{},[22,559,560],{},"Open AnExplorer on TV",[22,562,563,564],{},"Navigate to ",[83,565,566],{},"\u002Fstorage\u002Femulated\u002F0\u002FRetroArch\u002Fretroarch.cfg",[22,568,569],{},"Open in text editor",[22,571,572,573,576],{},"Find the broken setting (e.g., ",[83,574,575],{},"video_driver = \"vulkan\""," on a device that doesn't support Vulkan)",[22,578,579,580],{},"Change back to ",[83,581,582],{},"video_driver = \"gl\"",[22,584,585],{},"Save → reopen RetroArch → it works again",[15,587,588],{},"Without the text editor, you'd need to connect via ADB from a PC or factory-reset RetroArch losing all settings.",[201,590],{},[45,592,594],{"id":593},"create-a-kodi-advancedsettingsxml","Create a Kodi advancedsettings.xml",[15,596,597],{},"Scenario: 4K videos from NAS buffer\u002Fstutter in Kodi.",[19,599,600,606,609,612],{},[22,601,602,603],{},"AnExplorer → navigate to ",[83,604,605],{},"\u002Fstorage\u002Femulated\u002F0\u002FAndroid\u002Fdata\u002Forg.xbmc.kodi\u002Ffiles\u002F.kodi\u002Fuserdata\u002F",[22,607,608],{},"If advancedsettings.xml doesn't exist, create a new file (long-press → New → File)",[22,610,611],{},"Open in editor → type the XML content for increased buffer",[22,613,614],{},"Save → restart Kodi → buffering is resolved",[45,616,618],{"id":617},"edit-iptv-channel-list","Edit IPTV channel list",[15,620,621],{},"Scenario: Some channels in your M3U playlist have changed URLs.",[19,623,624,627,630,633],{},[22,625,626],{},"AnExplorer → navigate to your .m3u file",[22,628,629],{},"Open in editor → find the channel entry",[22,631,632],{},"Update the stream URL",[22,634,635],{},"Save → reload playlist in your IPTV app",[10,637,639],{"id":638},"limitations-on-tv","Limitations on TV",[15,641,642],{},"The text editor is functional but not a full IDE:",[53,644,645,648,651,654,657],{},[22,646,647],{},"No syntax highlighting (plain text view)",[22,649,650],{},"No line numbers display",[22,652,653],{},"No find-and-replace (manual scrolling to find content)",[22,655,656],{},"No split-view or multi-file editing",[22,658,659],{},"Large files (50+ MB) may load slowly",[15,661,662,663,666],{},"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,664,665],{},"convenience edits"," that would otherwise require a complicated ADB workflow.",[10,668,670],{"id":669},"compatible-tv-devices","Compatible TV Devices",[15,672,673],{},"Works on all Android TV platforms:",[53,675,676,682,688,694,700,706],{},[22,677,678,681],{},[58,679,680],{},"Nvidia Shield TV"," — best performance for large files, USB keyboard support",[22,683,684,687],{},[58,685,686],{},"Amazon Fire TV Cube"," — Bluetooth keyboard pairing works well",[22,689,690,693],{},[58,691,692],{},"Google TV Streamer"," — USB-C hub for keyboard + mouse",[22,695,696,699],{},[58,697,698],{},"Fire TV Stick 4K"," — Bluetooth keyboard only (no USB port)",[22,701,702,705],{},[58,703,704],{},"Sony Bravia \u002F TCL \u002F Hisense"," — USB ports for wired keyboards",[22,707,708,711],{},[58,709,710],{},"Xiaomi Mi Box"," — USB and Bluetooth keyboard support",[10,713,715],{"id":714},"related-guides","Related Guides",[53,717,718,726,733,740],{},[22,719,720,725],{},[721,722,724],"a",{"href":723},"\u002Ffeatures\u002Ftext-editor","Text Editor Feature"," — full text editor capabilities",[22,727,728,732],{},[721,729,731],{"href":730},"\u002Fdevice\u002Fandroid-tv","File Manager for Android TV"," — complete TV file management",[22,734,735,739],{},[721,736,738],{"href":737},"\u002Ffeatures\u002Fapk-installer\u002Fandroid-tv","APK Installer for Android TV"," — sideloading apps",[22,741,742,746],{},[721,743,745],{"href":744},"\u002Ffeatures\u002Farchive-manager\u002Fandroid-tv","Archive Manager for Android TV"," — extract config archives",[748,749,750],"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);}",[201,752],{},{"title":150,"searchDepth":163,"depth":163,"links":754},[755,756,764,768,769,774,775,776],{"id":12,"depth":163,"text":13},{"id":42,"depth":163,"text":43,"children":757},[758,759,760,761,762,763],{"id":47,"depth":169,"text":48},{"id":116,"depth":169,"text":117},{"id":205,"depth":169,"text":206},{"id":229,"depth":169,"text":230},{"id":247,"depth":169,"text":248},{"id":268,"depth":169,"text":269},{"id":286,"depth":163,"text":287,"children":765},[766,767],{"id":295,"depth":169,"text":296},{"id":382,"depth":169,"text":383},{"id":459,"depth":163,"text":460},{"id":547,"depth":163,"text":548,"children":770},[771,772,773],{"id":551,"depth":169,"text":552},{"id":593,"depth":169,"text":594},{"id":617,"depth":169,"text":618},{"id":638,"depth":163,"text":639},{"id":669,"depth":163,"text":670},{"id":714,"depth":163,"text":715},"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":780,"howto":793},[781,784,787,790],{"q":782,"a":783},"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":785,"a":786},"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":788,"a":789},"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":791,"a":792},"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":794,"description":795,"totalTime":796,"steps":797},"How to Edit Config Files on Android TV","Modify text and configuration files on your TV using AnExplorer.","PT2M",[798,801,803],{"name":799,"text":800},"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":569,"text":802},"Select the text file → it opens in AnExplorer's built-in editor showing the file contents.",{"name":804,"text":805},"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":777},"features\u002Ftext-editor\u002Fandroid-tv","XMigo6h2AWf8ZnHa6cpWhkq59NIi8INZF0_ptddOvaQ",1782062492432]