Userdata: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Sho
mNo edit summary
(112 intermediate revisions by 20 users not shown)
Line 1: Line 1:
The location of the UserData folder depends on what platform you are running XBMC on. Please refer to the documentation of your specific platform.
{{mininav|[[General topics]]|[[Settings]]}}
Thi is where all of your settings and customizations are stored.  
{{DISPLAYTITLE:userdata folder}}
{{redv|'''NOTICE:'''|Manually editing files in the '''userdata''' folder is an '''advanced topic in XBMC'''. New users '''don't need to manually edit files''' in the '''userdata''' folder. XBMC does this for you, when you change the options in the XBMC GUI'' with the exception of [[advancedsettings.xml]]}}
{{bluev|'''NOTE'''|''There are two userdata folders, the system one contains default settings necessary for XBMC to operate, and the userdata folder for user modifications. Do not touch the files in the first system-userdata folder. This page (and most references on the wiki) are about editing the second, user-accessible, '''userdata''' folder.''}}


<section begin="intro" />The '''userdata''' folder is where all of your settings and customizations are stored.<section end="intro" />
<br />
== Location of the userdata folder ==
<section begin="location all" />
<includeonly>:::</includeonly>{{{!}} class="datatable" <!-- Weird trick used to make the table indent when transcluded -->
! Operative system
! File path
|-
| '''[[Android]]''' ''(see [[Userdata#Android_location|note]])'' || Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
|-
| '''[[iOS]]''' || /private/var/mobile/Library/Preferences/XBMC/userdata/
|-
| '''[[Linux]]''' || ~/.xbmc/userdata/
|-
| '''[[Mac OS X]]''' || /Users/<your_user_name>/Library/Application Support/XBMC/userdata/
|-
| '''[[OpenELEC]]''' || /storage/.xbmc/userdata/
|-
| '''[[Windows]] XP, 7, 8''' || %appdata%\XBMC\userdata\
|}<section end="location all" />
===Android location===
Sometimes the exact path will differ from device to device. The Android userdata folder is usually inside of "sdcard" so the path might be /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
== UserData folder contents ==
{{incomplete}}
Below are the elements contained in the UserData folder and their role:
Below are the elements contained in the UserData folder and their role:


*'''[[The_XBMC_Database|Database]]''' - This is where all of the databases required for your [[Music Library|Music]] and [[Video Library|Video Libraries]] are located, containing any downloaded [[Scraper.xml|(scraped)]] music or video information.
* '''addon_data''' - Contains configuration data for your currently installed addons, the addons themselves are not in userdata but one folder up in 'addons'
**'''MyMusic7.db''' - Database file containing Music information.
* '''[[The XBMC Database|Database]]''' - This is where all of the databases required for your [[Music Library|Music]] and [[Video Library|Video Libraries]] are located, containing any downloaded [[Scraper.xml|(scraped)]] music or video information.
**'''MyPrograms6.db''' - Database file containing Program information.
** '''MyMusic#.db''' - Database file containing Music information.
**'''MyVideos34.db''' - Database file containing Movie, TV Show and Music Videos information.
** '''MyPrograms#.db''' - Database file containing Program information.
**'''ViewModes.db''' - Database file containing information on all XBMC views (viewmode, sorting etc.).
** '''MyVideos#.db''' - Database file containing Movie, TV Show and Music Videos information.
*'''[[Playlists]]''' - This is where your playlists are stored. There are separate subfolders for mixed, music and video playlists.
** '''ViewModes#.db''' - Database file containing information on all XBMC views (viewmode, sorting etc.).
**'''mixed''' - playlists containing both audio and music videos, will show in both the Music and Video Libraries.
** '''Addons#.db''' - Database file containing information on all XBMC addons (skins, scraper, video-addons...).
**'''music''' - playlists containing audio only, will show in the Music Library.
** '''Textures#.db''' - Database file containing information on all XBMC textures (thumbs, fanart, posters...).
**'''video''' - playlists containing videos only, will show in the Video Library.
** '''TV1#.db''' - Database file containing information on Live-TV channels (experimental PVR-builds only!).
*'''[[Thumbnails#Thumbnail Cache|Thumbnails]]''' - Cached  Thumbnails (icons) are stored in this folder.
** '''EPG#.db''' - Database file containing information on EPG for Live-TV (experimental PVR-builds only!).
*'''Visualizations''' - All of your visualization settings are stored in this folder.
:{{note|Where <big>'''#'''</big> is the number of current '''[[database version]]''' in use.}}
*'''[[advancedsettings.xml]]''' - This file, which may be created by a user in their UserData folder can contain additional settings, and can contain pre-defined values for the settings available in the GUI (thus removing them from the GUI settings screens.) Useful for advanced users and for installers.
* '''[[keyboard.xml|keymaps]]''' - This folder is where your customized keymapping files reside (e.g. MyRemote.xml or keyboard.xml)
*'''[[Favourites|favourites.xml]]''' - This file, which may be created by XBMC or the user in their UserData folder contains items added via the ''Add to Favourites'' context menu option.
* '''library''' - Directory to store custom library nodes.
*'''guisettings.xml''' - This is where your settings configured in the GUI are stored (through the [[User Interface Settings]]).
* '''peripheral_data''' - Directory stores what exactly since its empty{{?}}
*'''[[Keymap.xml]]''' - This file which may be created can contain changes to the default keymapping.
* '''[[Playlists]]''' - This is where your playlists are stored. There are separate subfolders for mixed, music and video playlists.
*'''kai-vectors.xml''' (Decprecated)
** '''mixed''' - playlists containing both audio and music videos, will show in both the Music and Video Libraries.
*'''[[LCD.xml]]''' - The LCD.xml file is used for customizing the output of the LCD Display.
** '''music''' - playlists containing audio only, will show in the Music Library.
*'''[[PartyMode.xsp]]''' - Defines the [[Playlists#Smart_Playlists|Smart Playlist]] to be used when using Party Mode for music playback.
** '''video''' - playlists containing videos only, will show in the Video Library.
*'''[[RssFeeds.xml]]''' - RssFeeds.xml is used to configure the RSS feeds displayed in XBMC.
* '''[[Thumbnails#Thumbnail Cache|Thumbnails]]''' - Cached  Thumbnails (icons) are stored in this folder.
*'''[[Adding Media Sources#Through_Sources.xml|Sources.xml]]''' - Defines your [[Adding Media Sources|Media Sources]] and locations.
* '''[[advancedsettings.xml]]''' - A user can create this file in their UserData folder. The file can contain additional settings and pre-defined values for the settings available in the GUI (thus removing them from the GUI settings screens). Useful for advanced users and for installers.
* '''Visualizations''' - All of your visualization settings are stored in this folder. <<this is not present in frodo?
* '''[[favourites.xml]]''' - This file, which may be created by XBMC or the user in their UserData folder contains items added via the ''Add to Favourites'' context menu option.
* '''guisettings.xml''' - This is where your settings configured in the GUI are stored (through the User Interface [[Settings]]).
* '''[[lircmap.xml|Lircmap.xml]]''' - This file which may be created can contain changes to the default Lircmap (Linux Only).
* '''[[LCD.xml]]''' - The LCD.xml file is used for customizing the output of the LCD Display.
* '''[[partymode.xsp]]''' - Defines the [[Playlists#Smart Playlists|Smart Playlist]] to be used when using Party Mode for music playback.
* '''[[profiles]]''' - Directory stores your additionally created user-profiles settings and data information this directory may contain all the contents of the [[userdata]] list depending on settings used to create the user. {{?}}
* '''[[RssFeeds.xml]]''' - RssFeeds.xml is used to configure the RSS feeds displayed in XBMC.
* '''[[sources.xml]]''' - Defines your [[Adding Media Sources|Media Sources]] and locations.
* '''[[mediasources.xml]]''' - Similar to sources.xml, but just for the "Browse for new share" window.
* '''[[Profiles#Profiles folder contents|profiles.xml]]''' - Stores your Master user and additional user(s) [[Master lock]] codes and profiles information see also [[Settings/System#Master lock]] and [[Media sources#Locking]] '''{{?}}'''
* '''[[autoexec.py]]''' - optional python script that is run at XBMC startup.


[[category:Settings]]
[[Category:Settings]]
[[category:Customization]]
[[Category:XBMC Manual]]
[[Category:Advanced topics]]
{{frodo updated}}

Revision as of 00:18, 13 December 2013

Home icon grey.png   ▶ General topics ▶ Settings ▶ Userdata
NOTICE: Manually editing files in the userdata folder is an advanced topic in XBMC. New users don't need to manually edit files in the userdata folder. XBMC does this for you, when you change the options in the XBMC GUI with the exception of advancedsettings.xml
NOTE There are two userdata folders, the system one contains default settings necessary for XBMC to operate, and the userdata folder for user modifications. Do not touch the files in the first system-userdata folder. This page (and most references on the wiki) are about editing the second, user-accessible, userdata folder.


The userdata folder is where all of your settings and customizations are stored.

Location of the userdata folder

Operative system File path
Android (see note) Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
iOS /private/var/mobile/Library/Preferences/XBMC/userdata/
Linux ~/.xbmc/userdata/
Mac OS X /Users/<your_user_name>/Library/Application Support/XBMC/userdata/
OpenELEC /storage/.xbmc/userdata/
Windows XP, 7, 8 %appdata%\XBMC\userdata\

Android location

Sometimes the exact path will differ from device to device. The Android userdata folder is usually inside of "sdcard" so the path might be /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/

UserData folder contents

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?

Below are the elements contained in the UserData folder and their role:

  • addon_data - Contains configuration data for your currently installed addons, the addons themselves are not in userdata but one folder up in 'addons'
  • Database - This is where all of the databases required for your Music and Video Libraries are located, containing any downloaded (scraped) music or video information.
    • MyMusic#.db - Database file containing Music information.
    • MyPrograms#.db - Database file containing Program information.
    • MyVideos#.db - Database file containing Movie, TV Show and Music Videos information.
    • ViewModes#.db - Database file containing information on all XBMC views (viewmode, sorting etc.).
    • Addons#.db - Database file containing information on all XBMC addons (skins, scraper, video-addons...).
    • Textures#.db - Database file containing information on all XBMC textures (thumbs, fanart, posters...).
    • TV1#.db - Database file containing information on Live-TV channels (experimental PVR-builds only!).
    • EPG#.db - Database file containing information on EPG for Live-TV (experimental PVR-builds only!).
Note: Where # is the number of current database version in use.
  • keymaps - This folder is where your customized keymapping files reside (e.g. MyRemote.xml or keyboard.xml)
  • library - Directory to store custom library nodes.
  • peripheral_data - Directory stores what exactly since its empty?
  • Playlists - This is where your playlists are stored. There are separate subfolders for mixed, music and video playlists.
    • mixed - playlists containing both audio and music videos, will show in both the Music and Video Libraries.
    • music - playlists containing audio only, will show in the Music Library.
    • video - playlists containing videos only, will show in the Video Library.
  • Thumbnails - Cached Thumbnails (icons) are stored in this folder.
  • advancedsettings.xml - A user can create this file in their UserData folder. The file can contain additional settings and pre-defined values for the settings available in the GUI (thus removing them from the GUI settings screens). Useful for advanced users and for installers.
  • Visualizations - All of your visualization settings are stored in this folder. <<this is not present in frodo?
  • favourites.xml - This file, which may be created by XBMC or the user in their UserData folder contains items added via the Add to Favourites context menu option.
  • guisettings.xml - This is where your settings configured in the GUI are stored (through the User Interface Settings).
  • Lircmap.xml - This file which may be created can contain changes to the default Lircmap (Linux Only).
  • LCD.xml - The LCD.xml file is used for customizing the output of the LCD Display.
  • partymode.xsp - Defines the Smart Playlist to be used when using Party Mode for music playback.
  • profiles - Directory stores your additionally created user-profiles settings and data information this directory may contain all the contents of the userdata list depending on settings used to create the user. ?
  • RssFeeds.xml - RssFeeds.xml is used to configure the RSS feeds displayed in XBMC.
  • sources.xml - Defines your Media Sources and locations.
  • mediasources.xml - Similar to sources.xml, but just for the "Browse for new share" window.
  • profiles.xml - Stores your Master user and additional user(s) Master lock codes and profiles information see also Settings/System#Master lock and Media sources#Locking ?
  • autoexec.py - optional python script that is run at XBMC startup.