<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bramp</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bramp"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Bramp"/>
	<updated>2026-06-17T15:04:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Kodi_data_folder&amp;diff=251395</id>
		<title>Kodi data folder</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Kodi_data_folder&amp;diff=251395"/>
		<updated>2024-04-10T22:54:35Z</updated>

		<summary type="html">&lt;p&gt;Bramp: /* Location */ Added data location when using flatpak&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav||[[Settings]]}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&amp;lt;section begin=&amp;quot;KodiDataFolder&amp;quot; /&amp;gt;Once {{Kodi}} is installed, all subsequent changes and usage data are saved in the [[Kodi data folder]] which is the parent folder of the &#039;&#039;&#039;[[Userdata]]&#039;&#039;&#039; folder. When you install a new skin or an add-on it is installed in this folder. Playlists and edits to Nodes are stored here, and the library databases are created here along with the artwork cache and any other changes you make during your travels with {{kodi}}.&lt;br /&gt;
&lt;br /&gt;
Basically anything you add or modify, after installation, occurs in this folder and sub-folders.&amp;lt;section end=&amp;quot;KodiDataFolder&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:{{see also|Backup}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Location =&lt;br /&gt;
The location of this folder varies between operating systems and the table below lists their locations. &lt;br /&gt;
&amp;lt;section begin=&amp;quot;KodiDataFolderLocation&amp;quot; /&amp;gt;&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; ! style=&amp;quot;width:150px; background-color:#a1f5e4; | Operating system&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; ! style=&amp;quot;width:700px; background-color:#a1f5e4; | Kodi Data folder path&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Android&#039;&#039;&#039; || Android/data/org.xbmc.kodi/files/.kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iOS&#039;&#039;&#039; || /private/var/mobile/Library/Preferences/Kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;LibreELEC&#039;&#039;&#039; || /storage/.kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Linux&#039;&#039;&#039; || ~/.kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Linux (Flatpak)&#039;&#039;&#039; || ~/.var/app/tv.kodi.Kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;macOS&#039;&#039;&#039; || /Users/&amp;lt;your_user_name&amp;gt;/Library/Application Support/Kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Nvidia Shield (SMB)&#039;&#039;&#039; || smb://&amp;lt;nvidiashieldurl&amp;gt;/internal/Android/data/org.xbmc.kodi/files/.kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;OSMC&#039;&#039;&#039; || /home/osmc/.kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;tvOS&#039;&#039;&#039; || /private/var/mobile/Library/Preferences/Kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;WebOS&#039;&#039;&#039; || /media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Windows&#039;&#039;&#039; || C:\Users\&amp;lt;&#039;&#039;YourUsername&#039;&#039;&amp;gt;\AppData\Roaming\Kodi&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Windows Portable&#039;&#039;&#039; || &amp;lt;&#039;&#039;Install location chosen by you&#039;&#039;&amp;gt;\portable_data&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Windows Xbox&#039;&#039;&#039; || %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\ &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Note:&#039;&#039;&#039; In some Android setups the path may be slightly different to the one stated above.&lt;br /&gt;
&amp;lt;section end=&amp;quot;KodiDataFolderLocation&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Folders =&lt;br /&gt;
The following are the sub-folders in the Kodi Data folder. Forks of {{kodi}} may have additional folders not covered here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== addons ==&lt;br /&gt;
Any add-on installed in {{kodi}} is installed in this folder along with any subsequent updates.&lt;br /&gt;
&lt;br /&gt;
Many add-ons have an additional folder located in &#039;&#039;&#039;\userdata\addon_data&#039;&#039;&#039;. This folder contains data created due to user preference or usage. eg, changed settings, channel line-up, etc&lt;br /&gt;
&lt;br /&gt;
{{kodi}} comes pre-installed with a series of default add-ons that are required for basic functioning, such as language add-ons, scrapers, default skins etc. These pre-installed add-ons are located in the Programs folder along with the remainder of the Kodi program files. When these pre-installed add-ons receive a subsequent update, the update is saved in this folder and the original add-on remains but is ignored.&lt;br /&gt;
&lt;br /&gt;
{{see|Add-ons}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== cache ==&lt;br /&gt;
The cache folder and its subfolders are used as temporary storage for some {{kodi}} functions. They can be used by:&lt;br /&gt;
* Scrapers to cache results and reduce API calls to remote sites.&lt;br /&gt;
* Caching navigation nodes that are slow to load in larger libraries&lt;br /&gt;
* File view of non-library items that entails tag reading which can be slow&lt;br /&gt;
&lt;br /&gt;
This folder is self-cleaning with items generally kept for 3 hours for the python Pickle cache, and 24 hours or more for scraper caches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== media ==&lt;br /&gt;
The media folder may contain other sub-folders that may need to be created manually.&lt;br /&gt;
&lt;br /&gt;
=== Fonts ===&lt;br /&gt;
The &#039;&#039;Fonts&#039;&#039; sub-folder, can be used to add additionals subtitle fonts, which can be used as alternative to the default Kodi font.&lt;br /&gt;
We strongly suggest to avoid adding more than 100 fonts in this folder, otherwise you may experience of playback slowdowns and system instability.&lt;br /&gt;
&lt;br /&gt;
If your intent is to provide a big library of fonts as support to subtitles format type like ASS/SSA,&lt;br /&gt;
we suggest you to install these fonts in your operative system and avoid to use this folder to store them,&lt;br /&gt;
some Kodi distributions could provide a special folder, where you can place your own font library.&lt;br /&gt;
&lt;br /&gt;
{{note|On Kodi 20 - At each startup Kodi will check if files have been added and/or removed in this folder, and then rebuilds the font cache if necessary.&lt;br /&gt;
When the font cache has been builded will be saved a &amp;lt;code&amp;gt;fontcache.xml&amp;lt;/code&amp;gt; file in this folder. To optimise Kodi startup, please do not delete this file.}}&lt;br /&gt;
&lt;br /&gt;
== system ==&lt;br /&gt;
Not used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== userdata ==&lt;br /&gt;
{{see|Userdata}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Files =&lt;br /&gt;
For {{kodi}} installations on Windows, the log files are saved in this folder. (For location of log files in other platforms, see: &#039;&#039;[[Template:LogfilePath|Log file Paths]]&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
; \kodi.log&lt;br /&gt;
; \kodi.old.log&lt;br /&gt;
&lt;br /&gt;
{{#lst:Log_file|WhichLog}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:See &#039;&#039;&#039;[[Log_file|Debug Log]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{top}}&lt;br /&gt;
{{updated|20}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Karellen]]&lt;br /&gt;
[[Category:Settings]]&lt;/div&gt;</summary>
		<author><name>Bramp</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Webserver&amp;diff=241365</id>
		<title>Webserver</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Webserver&amp;diff=241365"/>
		<updated>2022-01-27T22:29:13Z</updated>

		<summary type="html">&lt;p&gt;Bramp: /* Hints */ Fix up the formatting of the example Apache config.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;{{kodi}} comes with a builtin webserver based on [http://www.gnu.org/software/libmicrohttpd/ libmicrohttpd] which provides several services accessible through [http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol HTTP].&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Enabling the webserver ==&lt;br /&gt;
The webserver is disabled by default and has to be manually enabled by the user. This can be done in {{highlight|bordered=yes|[[Settings/Services#Webserver|Settings  → Services → Webserver → Allow control of {{Kodi}} via HTTP]]}}. The settings allow to specify a custom port number and an optional username and password for HTTP&#039;s [http://en.wikipedia.org/wiki/Basic_access_authentication Basic Access Authentication]. Furthermore a [[Web interface]] can be chosen which will be used when accessing the webserver without any specific path.&lt;br /&gt;
&lt;br /&gt;
=== Hints ===&lt;br /&gt;
* If the webserver fails to start make sure you use a port that is not blocked by your firewall and is not used by any other process running on the same machine. If there is another webserver like Apache running on the same machine it is very likely that port 80 (HTTP default port) is already used.&lt;br /&gt;
* On Linux, ports below 1024 require super-user privileges and are therefore not available to {{kodi}}. For Linux, you must change the port number to a port number above 1024 that&#039;s not in use on your computer, like 1485, 1588 or 1066 for example.  Those 3 port numbers have no popular uses registered with IANA, the Internet Assigned Numbers Authority.  Remote control via HTTP will see the web server with whatever port you choose.&lt;br /&gt;
* For use in a virtual hosts environment in Apache, the following directives can be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;apache&amp;quot;&amp;gt;&lt;br /&gt;
# Kodi configuration&lt;br /&gt;
# Replace kodiserver with actual names.&lt;br /&gt;
&lt;br /&gt;
ServerName kodiserver&lt;br /&gt;
DocumentRoot /&lt;br /&gt;
LogLevel emerg&lt;br /&gt;
ErrorLog /var/log/apache2/kodiserver_error.log&lt;br /&gt;
CustomLog /var/log/apache2/kodiserver_access.log &amp;quot;vhost_combined&amp;quot;&lt;br /&gt;
ProxyPass / http://kodiserver:8080/ nocanon&lt;br /&gt;
ProxyPassReverse / http://kodiserver:8080/&lt;br /&gt;
&amp;lt;Directory &amp;quot;/&amp;quot;&amp;gt;&lt;br /&gt;
  allow from all&lt;br /&gt;
  Options +Indexes&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
AllowEncodedSlashes On&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
AllowEncodedSlashes is necessary to have webpages work properly.&lt;br /&gt;
&lt;br /&gt;
nocanon is used to disable url encoding use this if images are not showing in the webbrowser.&lt;br /&gt;
&lt;br /&gt;
== Services ==&lt;br /&gt;
The webserver offers several services which can be accessed based on the path specified in the HTTP request. The webserver is accessible through HTTP using the following URL&lt;br /&gt;
&amp;lt;pre&amp;gt;http://&amp;lt;your ip&amp;gt;:&amp;lt;configured port&amp;gt;/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Webinterface ===&lt;br /&gt;
When no path is specified or the specified path does not correspond to any of the available services the webserver will try to locate the requested path/file in the configured [[Web interface]].&lt;br /&gt;
&lt;br /&gt;
=== Webinterface addons /addons ===&lt;br /&gt;
Requesting the /addons path will show a HTML page with a list of all installed and available webinterface addons. By appending the identifier of one of the webinterface addons to the /addons path it is possible to access all the available webinterfaces without configuring them in the settings.&lt;br /&gt;
&lt;br /&gt;
=== Image cache /image ===&lt;br /&gt;
The image cache service provides access to cached images (thumbnails, fanart, ...) of media items. The image URL (image://) returned by JSON-RPC has to be URL encoded before appending it:&lt;br /&gt;
&amp;lt;pre&amp;gt;http://&amp;lt;your ip&amp;gt;:&amp;lt;configured port&amp;gt;/image/&amp;lt;url encoded image:// path&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== JSON-RPC API /jsonrpc ===&lt;br /&gt;
The JSON-RPC API service provides access to the [[JSON-RPC API]] using [http://en.wikipedia.org/wiki/POST_(HTTP) HTTP POST] or GET. Requesting the /jsonrpc path without any additional POST or GET data will return the full [[JSON-RPC API#Documentation|documentation]] of the JSON-RPC API in JSON schema format.&lt;br /&gt;
&lt;br /&gt;
=== Virtual File System /vfs ===&lt;br /&gt;
The Virtual File System (VFS) service provides access to files accessible to {{kodi}} through its VFS. The VFS path has to be URL encoded before appending it:&lt;br /&gt;
&amp;lt;pre&amp;gt;http://&amp;lt;your ip&amp;gt;:&amp;lt;configured port&amp;gt;/vfs/&amp;lt;url encoded vfs path&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As of XBMC v12 Frodo, in an effort to make the Virtual File System service more secure (in Eden and before it allowed access to literally any file on the local hard disc and on network shares accessible to {{kodi}}) the access has been limited to files within directories that have been specified by the user as sources (video, music, files, programs) in {{kodi}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Updated|16}}&lt;/div&gt;</summary>
		<author><name>Bramp</name></author>
	</entry>
</feed>