<?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=Okichatan</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=Okichatan"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Okichatan"/>
	<updated>2026-06-15T15:29:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Add-on:Fox_News&amp;diff=242297</id>
		<title>Add-on:Fox News</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Add-on:Fox_News&amp;diff=242297"/>
		<updated>2022-06-25T06:42:42Z</updated>

		<summary type="html">&lt;p&gt;Okichatan: fixed forum link.  It was going to ConTV addon&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Addon &lt;br /&gt;
|Name=Fox News&lt;br /&gt;
|provider-name=t1m&lt;br /&gt;
|ID=plugin.video.fox.news&lt;br /&gt;
|latest-version=7.0.0&lt;br /&gt;
|extension point=xbmc.python.pluginsource&lt;br /&gt;
|provides=video&lt;br /&gt;
|Summary=Fox News Videos&lt;br /&gt;
|Description=Fox News Videos&lt;br /&gt;
|Platform=all&lt;br /&gt;
|Language=en&lt;br /&gt;
|License=GPL-2.0-or-later&lt;br /&gt;
|Forum=https://forum.kodi.tv/showthread.php?tid=57175&lt;br /&gt;
|Website=www.foxnews.com&lt;br /&gt;
|Source=https://github.com/learningit/repo-plugins&lt;br /&gt;
|Email=&lt;br /&gt;
|broken=&lt;br /&gt;
|icon url=http://mirrors.kodi.tv/addons/matrix/plugin.video.fox.news/resources/icon.png}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Add-ons with license tag]]&lt;br /&gt;
[[Category:Add-ons with source tag]]&lt;br /&gt;
[[Category:Add-ons with website tag]]&lt;br /&gt;
[[Category:All add-ons]]&lt;br /&gt;
[[Category:Video add-ons]]&lt;br /&gt;
[[Category:Gotham add-on repository]]&lt;br /&gt;
[[Category:Helix add-on repository]]&lt;br /&gt;
[[Category:Isengard add-on repository]]&lt;br /&gt;
[[Category:Jarvis add-on repository]]&lt;br /&gt;
[[Category:Krypton add-on repository]]&lt;br /&gt;
[[Category:Leia add-on repository]]&lt;br /&gt;
[[Category:Matrix add-on repository]]&lt;br /&gt;
[[Category:Nexus add-on repository]]&lt;/div&gt;</summary>
		<author><name>Okichatan</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Action_IDs&amp;diff=162538</id>
		<title>Action IDs</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Action_IDs&amp;diff=162538"/>
		<updated>2019-03-24T08:02:03Z</updated>

		<summary type="html">&lt;p&gt;Okichatan: spelled out OSD acronym&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;section begin=&amp;quot;Action IDs&amp;quot; /&amp;gt;&lt;br /&gt;
;Main actions&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! Action&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Left&amp;lt;/code&amp;gt; || Move left off a control.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Right&amp;lt;/code&amp;gt; || Move right off a control. &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Up&amp;lt;/code&amp;gt; || Move up off a control.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Down&amp;lt;/code&amp;gt; || Move down off a control.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Select&amp;lt;/code&amp;gt; || Select a button, or an item from a list of thumb view.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Enter&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_ENTER) Not sure about all areas, but on some windows this will be the same as the &amp;quot;done&amp;quot; on screen button.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PageUp&amp;lt;/code&amp;gt; || Scroll up on page in a list, thumb, or text view.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PageDown&amp;lt;/code&amp;gt; || Scroll down on page in a list, thumb, or text view.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Highlight&amp;lt;/code&amp;gt; || Highlight an item in a list or thumb view.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ParentDir&amp;lt;/code&amp;gt; || Go up a folder to the parent folder.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PreviousMenu&amp;lt;/code&amp;gt; || Go back to the previous menu screen.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Back&amp;lt;/code&amp;gt; || Go back in navigation.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Info&amp;lt;/code&amp;gt; || Show the information about the currently highlighted item, or currently playing item.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Pause&amp;lt;/code&amp;gt; || Pause the currently playing item.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Stop&amp;lt;/code&amp;gt; || Stop the currently playing item.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SkipNext&amp;lt;/code&amp;gt; || Skip to next video in playlist. If no playlist, then skip to next chapter in video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SkipPrevious&amp;lt;/code&amp;gt; || Skip to previous video in playlist. If no playlist, then skip to previous chapter in video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;FullScreen&amp;lt;/code&amp;gt; || Toggles full-screen content playback (either visualisation or video playback)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;togglefullscreen&amp;lt;/code&amp;gt; || Changes whether the app is displayed full-screen or windowed (on windowing OSs)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AspectRatio&amp;lt;/code&amp;gt; || Toggle through the various aspect ratio modes (Normal is the preferred option).&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;StepForward&amp;lt;/code&amp;gt; || Step forward 30 seconds in a video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;StepBack&amp;lt;/code&amp;gt; || Step back 30 seconds in a video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;BigStepForward&amp;lt;/code&amp;gt; || Step forward 10 minutes in video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;BigStepBack&amp;lt;/code&amp;gt; || Step back 10 minutes in video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SmallStepBack&amp;lt;/code&amp;gt; || Step back 7 seconds in the current video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Seek(&#039;&#039;##&#039;&#039;)&amp;lt;/code&amp;gt; || A definable seek action, where &amp;lt;code&amp;gt;&#039;&#039;##&#039;&#039;&amp;lt;/code&amp;gt; is a number of seconds. For example, to make a seek action that goes forward 25 seconds use &amp;lt;code&amp;gt;Seek(25)&amp;lt;/code&amp;gt;, and to make a seek action that goes back 36 seconds use &amp;lt;code&amp;gt;Seek(-36)&amp;lt;/code&amp;gt;. &#039;&#039;&#039;(v15 Isengard addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ChapterOrBigStepForward&amp;lt;/code&amp;gt; || Go to to next chapter in video. If no chapters, then step forward 10 minutes in video. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ChapterOrBigStepBack&amp;lt;/code&amp;gt; || Go to previous chapter in video, If no chapters, then step back 10 minutes in video. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextScene&amp;lt;/code&amp;gt; || Go to next scene that is marked in an [[EDL]] file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PreviousScene&amp;lt;/code&amp;gt; || Go to previous scene that is marked in an [[EDL]] file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;OSD&amp;lt;/code&amp;gt; || Toggles the OSD (On Screen Display) while playing an item.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PlayDVD&amp;lt;/code&amp;gt; || Start playing a DVD (goes to the DVD menu)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ShowVideoMenu&amp;lt;/code&amp;gt; || Go to the DVD Video menu when playing a DVD.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ShowSubtitles&amp;lt;/code&amp;gt; || Toggles whether subtitles are shown or not.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextSubtitle&amp;lt;/code&amp;gt; || Change to the next subtitle language, if there is more than one.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SubtitleShiftUp&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_SUBTITLE_VSHIFT_UP)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SubtitleShiftDown&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_SUBTITLE_VSHIFT_DOWN)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SubtitleAlign&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_SUBTITLE_ALIGN)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;CodecInfo&amp;lt;/code&amp;gt; || Show codec information about the currently playing item (during video or visualisation playback)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextPicture&amp;lt;/code&amp;gt; || Move to the next picture in a slideshow.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PreviousPicture&amp;lt;/code&amp;gt; || Move to the previous picture in a slideshow.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomOut&amp;lt;/code&amp;gt; || Used in picture, slideshow or video fullscreen to zoom out of the current image/video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomIn&amp;lt;/code&amp;gt; || Used in picture, slideshow or video fullscreen to zoom in to the current image/video.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;IncreasePAR&amp;lt;/code&amp;gt; || Used in video fullscreen to increase the pixel aspect ratio (stretch).&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;DecreasePAR&amp;lt;/code&amp;gt; || Used in video fullscreen to decrease the pixel aspect ratio (stretch).&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Queue&amp;lt;/code&amp;gt; || Queue the item to the current playlist&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PlayNext&amp;lt;/code&amp;gt; || Queue the item to the next position in the current playlist&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Filter&amp;lt;/code&amp;gt; || Opens the mediafilter dialog in the video and musiclibrary. {{editor note|seems to only use the [[advanced filter]] for the video library?}}&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Playlist&amp;lt;/code&amp;gt; || Toggle to playlist view from My Music or My Videos&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomNormal&amp;lt;/code&amp;gt; || Normal (fullscreen) viewing in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel1&amp;lt;/code&amp;gt; || Zoom to 120% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel2&amp;lt;/code&amp;gt; || Zoom to 150% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel3&amp;lt;/code&amp;gt; || Zoom to 200% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel4&amp;lt;/code&amp;gt; || Zoom to 280% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel5&amp;lt;/code&amp;gt; || Zoom to 400% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel6&amp;lt;/code&amp;gt; || Zoom to 600% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel7&amp;lt;/code&amp;gt; || Zoom to 900% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel8&amp;lt;/code&amp;gt; || Zoom to 1350% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ZoomLevel9&amp;lt;/code&amp;gt; || Zoom to 2000% in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextCalibration&amp;lt;/code&amp;gt; || Used in Video + GUI calibration&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ResetCalibration&amp;lt;/code&amp;gt; || Used in Video + GUI calibration&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AnalogMove&amp;lt;/code&amp;gt; || Move in the calibration screens, and while zoomed in My Pictures.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Rotate&amp;lt;/code&amp;gt; || Rotate a picture in My Pictures&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;rotateccw&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_ROTATE_PICTURE_CCW)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Close&amp;lt;/code&amp;gt; || Used to close a dialog&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;subtitledelay&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_SUBTITLE_DELAY)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SubtitleDelayMinus&amp;lt;/code&amp;gt; || Decrease the delay amount of subtitles (use if subtitles are displaying too late)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SubtitleDelayPlus&amp;lt;/code&amp;gt; || Increase the delay amount of subtitles (use if subtitles are displaying too early)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;audiodelay&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_AUDIO_DELAY)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AudioDelayMinus&amp;lt;/code&amp;gt; || Decrease the delay amount of audio (use if audio is being heard too early) &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AudioDelayPlus&amp;lt;/code&amp;gt; || Increase the delay amount of audio (use if audio is being heard too late) &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AudioNextLanguage&amp;lt;/code&amp;gt; || Change to the next audio track in a video with multiple audio tracks.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextResolution&amp;lt;/code&amp;gt; || Used in Video calibration&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Number&#039;&#039;&amp;lt;0-9&amp;gt;&#039;&#039;&amp;lt;/code&amp;gt; || Used to input the number 0 through 9&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;FastForward&amp;lt;/code&amp;gt; || Toggle the fastforward speed between normal play, 2x, 4x, 8x, 16x, and 32x.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Rewind&amp;lt;/code&amp;gt; || Toggle the rewind speed between normal play, 2x, 4x, 8x, 16x, and 32x.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Play&amp;lt;/code&amp;gt; || Play the selected item (or folder of items). {{note|You may want to use &amp;lt;code&amp;gt;playpause&amp;lt;/code&amp;gt; instead of just &amp;quot;play&amp;quot;, since it will no longer pause media already being played.}}&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PlayPause&amp;lt;/code&amp;gt; || Play the selected item (or folder of items). Will also pause media when something is already playing.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Delete&amp;lt;/code&amp;gt; || Used in My Files to delete a file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Copy&amp;lt;/code&amp;gt; || Used in My Files to copy a file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Move&amp;lt;/code&amp;gt; || Used in My Files to move a file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Rename&amp;lt;/code&amp;gt; || Used in My Files to rename a file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;HideSubmenu&amp;lt;/code&amp;gt; || &amp;lt;depreciated&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Screenshot&amp;lt;/code&amp;gt; || Take a screenshot of the current screen.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ShutDown()&amp;lt;/code&amp;gt; || Shutdown and power off&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;VolumeUp&amp;lt;/code&amp;gt; || Increase the volume of playback.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;VolumeDown&amp;lt;/code&amp;gt; || Decrease the volume of playback.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Mute&amp;lt;/code&amp;gt; || Mute the volume.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;volampup&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_VOLAMP_UP)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;volampdown&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_VOLAMP_DOWN)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;audiotoggledigital&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_TOGGLE_DIGITAL_ANALOG)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;BackSpace&amp;lt;/code&amp;gt; || Used in the virtual keyboards to delete one letter.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ScrollUp&amp;lt;/code&amp;gt; || Variable speed scroll up for analog keys (stick or triggers)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ScrollDown&amp;lt;/code&amp;gt; || Variable speed scroll down for analog keys (stick or triggers)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AnalogFastForward&amp;lt;/code&amp;gt; || Variable speed fast forward for analog keys (stick or triggers)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AnalogRewind&amp;lt;/code&amp;gt; || Variable speed rewind for analog keys (stick or triggers)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AnalogSeekForward&amp;lt;/code&amp;gt; || Variable speed seeking for analog keys (stick or triggers)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;AnalogSeekBack&amp;lt;/code&amp;gt; || Variable speed seeking for analog keys (stick or triggers)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;MoveItemUp&amp;lt;/code&amp;gt; || Used to rearrange playlists&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;MoveItemDown&amp;lt;/code&amp;gt; || Used to rearrange playlists&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Menu&amp;lt;/code&amp;gt; || Focus the menu control (e.g. sidebar in confluence) which is specified by the skin in different windows (e.g. Movies, Music, PVR etc.) &#039;&#039;&#039;(v16 Jarvis addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ContextMenu&amp;lt;/code&amp;gt; || Pops up a contextual menu&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Shift&amp;lt;/code&amp;gt; || Used in Virtual Keyboard to switch to upper or lower case letters&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Symbols&amp;lt;/code&amp;gt; || Used in Virtual Keyboard to switch to or from symbols mode&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;CursorLeft&amp;lt;/code&amp;gt; || Used in Virtual Keyboard to move the current cursor point to the left&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;CursorRight&amp;lt;/code&amp;gt; || Used in Virtual Keyboard to move the current cursor point to the right&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ShowTime&amp;lt;/code&amp;gt; || Used to show the current play time in music + video playback&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;visualisationpresetlist&amp;lt;/code&amp;gt; || Shows the visualisation preset list&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ShowPreset&amp;lt;/code&amp;gt; || Shows the current visualisation preset (milkdrop/spectrum)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextPreset&amp;lt;/code&amp;gt; || Next visualisation preset&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PreviousPreset&amp;lt;/code&amp;gt; || Previous visualisation preset&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;LockPreset&amp;lt;/code&amp;gt; || Lock the current visualisation preset&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;RandomPreset&amp;lt;/code&amp;gt; || Switch to a new random preset&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;IncreaseRating&amp;lt;/code&amp;gt; || Used to increase track rating in full screen playback (press info on track and use pageplus on keyboard/remote&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;DecreaseRating&amp;lt;/code&amp;gt; || Used to decrease track rating in full screen playback (press info on track and use pageminus on keyboard/remote&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ToggleWatched&amp;lt;/code&amp;gt; || Toggles watched/unwatched status for Videos&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextLetter&amp;lt;/code&amp;gt; || Move to the next letter in a list or thumb panel. Note that SHIFT-B on the keyboard will take you to the B&#039;s.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PrevLetter&amp;lt;/code&amp;gt; || Move to the previous letter in a list or thumb panel. Note that SHIFT-Z on the keyboard will take you to the Z&#039;s.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;JumpSMS&#039;&#039;&amp;lt;2-9&amp;gt;&#039;&#039;&amp;lt;/code&amp;gt; || Jump through a list using SMS-style input (eg press 2 twice to jump to the B&#039;s.)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;FilterSMS&#039;&#039;&amp;lt;2-9&amp;gt;&#039;&#039;&amp;lt;/code&amp;gt; || Filter a list in music or videos using SMS-style input.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;verticalshiftup&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_VSHIFT_UP)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;verticalshiftdown&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_VSHIFT_DOWN)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;scanitem&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_SCAN_ITEM)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;reloadkeymaps&amp;lt;/code&amp;gt; || Reload keymap, loading any changes made to the keymap since started up.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;increasevisrating&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_VIS_RATE_PRESET_PLUS)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;decreasevisrating&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_VIS_RATE_PRESET_MINUS)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;firstpage&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_FIRST_PAGE)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;lastpage&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_LAST_PAGE)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;guiprofile&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_GUIPROFILE_BEGIN)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;red&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_TELETEXT_RED)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;green&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_TELETEXT_GREEN)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;yellow&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_TELETEXT_YELLOW)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;blue&amp;lt;/code&amp;gt; || &#039;&#039;&#039;?&#039;&#039;&#039; (ACTION_TELETEXT_BLUE)&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;CreateBookmark&amp;lt;/code&amp;gt; || Creates a bookmark of the currently playing Video &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;CreatEpisodeBookmark&amp;lt;/code&amp;gt; || Creates an episode bookmark of the currently playing multi-episode file (e.g. S01E01E02). An episode bookmark specifies the end of the one and the begin of the other episode &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;NextChannelGroup&amp;lt;/code&amp;gt; || [[PVR]] Goes to the next channel group when using live TV. Works only within PVR windows + channel osd. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PreviousChannelGroup&amp;lt;/code&amp;gt; || [[PVR]] Goes to the previous channel group when using live TV. Works only within PVR windows + channel osd. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ChannelUp&amp;lt;/code&amp;gt; || [[PVR]] Used to switch up to the next channel. Works only if you playback TV or radio &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ChannelDown&amp;lt;/code&amp;gt; || [[PVR]] Used to switch down to the previous channel. Works only if you playback TV or radio&#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PlayPvr&amp;lt;/code&amp;gt; || [[PVR]] Starts playback a TV or radio channel depends on the last played channel. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PlayPvrTV&amp;lt;/code&amp;gt; || [[PVR]] Starts playback a TV channel. Will playback the last played channel if available. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;PlayPvrRadio&amp;lt;/code&amp;gt; || [[PVR]] Starts playback a radio channel. Will playback the last played channel if available. &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;Record&amp;lt;/code&amp;gt; || [[PVR]] record current playing channel or selected item in windows like EPG &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;StereoMode&amp;lt;/code&amp;gt; || Toggle 3D/Stereoscopic mode &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;ToggleStereoMode&amp;lt;/code&amp;gt; || Toggle 3D/Stereoscopic mode &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SwitchPlayer&amp;lt;/code&amp;gt; || Select player to use, such as internal (DVDPlayer/PAPlayer), UPnP &amp;quot;play using&amp;quot; targets, external players (defined in [[playercorefactory.xml]]). &#039;&#039;&#039;(v13 Gotham addition)&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;UpdateLibrary(video)&amp;lt;/code&amp;gt; || Update Movie/TV-Show library (only tested with v13 Gotham addition).&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;SetRatring&amp;lt;/code&amp;gt; || For use in the MusicOSD.xml window. Will pop-up a 1-10 userrating select dialog, to rate the currently playing song. &#039;&#039;&#039;(v17 Krypton addition)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
;Other&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Action&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;noop&amp;lt;/code&amp;gt; || No action. Used to specifically disable a key.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;section end=&amp;quot;Action IDs&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Removed action IDs ==&lt;br /&gt;
* &amp;lt;code&amp;gt;PresetList&amp;lt;/code&amp;gt; - replaced with &amp;lt;code&amp;gt;visualisationpresetlist&amp;lt;/code&amp;gt; in a previous version (unknown?)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Keymaps]]&lt;br /&gt;
* [[Window IDs]]&lt;br /&gt;
* [[Built-in scripting]]&lt;br /&gt;
&lt;br /&gt;
{{Isengard updated}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Remotes]]&lt;br /&gt;
[[Category:Skin development]]&lt;/div&gt;</summary>
		<author><name>Okichatan</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Keymap&amp;diff=162537</id>
		<title>Keymap</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Keymap&amp;diff=162537"/>
		<updated>2019-03-24T08:00:46Z</updated>

		<summary type="html">&lt;p&gt;Okichatan: spelled out OSD acronym&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav| [[Remote controls]] }}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Keymaps are XML base files that define the mappings of keys (keyboard keys, mouse/remote/joysticks buttons and more) to Kodi actions.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Customizing keymaps through the GUI ==&lt;br /&gt;
{{main|Add-on:Keymap Editor}}&lt;br /&gt;
Users can customize keymaps for remotes in GUI by using the community [[Add-on:Keymap Editor|Keymap Editor]] add-on.&lt;br /&gt;
&lt;br /&gt;
== Location of keymaps ==&lt;br /&gt;
User modified keymap files must be stored in the &amp;quot;&#039;&#039;&#039;keymaps&#039;&#039;&#039;&amp;quot; folder in the [[userdata]] folder:&lt;br /&gt;
{{#lsth:userdata|Location of the UserData folder}}&lt;br /&gt;
&lt;br /&gt;
=== Defaults ===&lt;br /&gt;
Default keymaps are included when Kodi is installed, but users should not edit those install files directly. Instead, place user modified keymaps in the [[userdata]]/keymaps/ directory.&lt;br /&gt;
&lt;br /&gt;
Kodi can process multiple keymap files and does so like this:&lt;br /&gt;
&lt;br /&gt;
* All *.xml files from the default install settings and userdata/kemaps/ folders are applied as keymaps.&lt;br /&gt;
* All *.xml files are processed in alphabetical order.&lt;br /&gt;
* Keymaps defined in an .xml file add to or override mappings in previous .xml file.&lt;br /&gt;
* Keymaps defined in the userdata folder add to or override mappings in the global keymap.&lt;br /&gt;
&lt;br /&gt;
By default there will be no files in these locations, so grab one from the link below to make a new one/over-ride:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039; https://github.com/xbmc/xbmc/tree/master/system/keymaps &#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039; https://github.com/kodi-game/peripheral.joystick/tree/master/peripheral.joystick/resources/buttonmaps/xml &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Structure ==&lt;br /&gt;
&lt;br /&gt;
There is one &#039;&#039;&#039;global&#039;&#039;&#039; keymap and several &#039;&#039;&#039;window&#039;&#039;&#039;-specific keymaps.&amp;lt;br /&amp;gt;&lt;br /&gt;
Kodi falls back to the global map when the window-specific map hasn&#039;t bound the key being pressed.&lt;br /&gt;
&lt;br /&gt;
The format of keymapping files is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;keymap&amp;gt;&lt;br /&gt;
  &amp;lt;global&amp;gt;&lt;br /&gt;
    &amp;lt;gamepad&amp;gt;&lt;br /&gt;
      &amp;lt;A&amp;gt;Select&amp;lt;/A&amp;gt;&lt;br /&gt;
      [...]&lt;br /&gt;
    &amp;lt;/gamepad&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;remote&amp;gt;&lt;br /&gt;
      &amp;lt;select&amp;gt;Select&amp;lt;/select&amp;gt;&lt;br /&gt;
      [...]&lt;br /&gt;
    &amp;lt;/remote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;keyboard&amp;gt;&lt;br /&gt;
      &amp;lt;enter&amp;gt;Select&amp;lt;/enter&amp;gt;&lt;br /&gt;
      [...]&lt;br /&gt;
    &amp;lt;/keyboard&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;mouse&amp;gt;&lt;br /&gt;
      &amp;lt;leftclick&amp;gt;Select&amp;lt;/leftclick&amp;gt;&lt;br /&gt;
      [...]&lt;br /&gt;
    &amp;lt;/mouse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;universalremote&amp;gt;&lt;br /&gt;
      &amp;lt;obc25&amp;gt;XBMC.ActivateWindow(MyMusic)&amp;lt;/obc25&amp;gt;&lt;br /&gt;
      [...]&lt;br /&gt;
    &amp;lt;/universalremote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;joystick name=&amp;quot;PLAYSTATION(R)3 Controller (00:1B:FB:F6:E0:F2)&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;button id=&amp;quot;15&amp;quot;&amp;gt;Select&amp;lt;/button&amp;gt;&lt;br /&gt;
      [...]&lt;br /&gt;
    &amp;lt;/joystick&amp;gt;&lt;br /&gt;
  &amp;lt;/global&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;Home&amp;gt;&lt;br /&gt;
    [...]&lt;br /&gt;
  &amp;lt;/Home&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  [...]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/keymap&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, it&#039;s divided into a &amp;lt;global&amp;gt; section, and a number of window sections (such as &amp;lt;Home&amp;gt;).&amp;lt;br /&amp;gt;&lt;br /&gt;
A list of the available window names can be seen [[Window IDs|here]]. The WINDOW can also be a custom window formatted as &amp;lt;windowId#&amp;gt; (e. g. &amp;lt;window1113&amp;gt;). &amp;lt;br /&amp;gt;&lt;br /&gt;
Each of these sections can contain Gamepad, Remote, Keyboard, Universal Remote, and custom Joystick sections.&lt;br /&gt;
&lt;br /&gt;
The format for mapping a particular key under one of these device types is as follows:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;keyname&amp;gt;action&amp;lt;/keyname&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Keynames ==&lt;br /&gt;
Depending on your device you will need to use a specific &amp;quot;keyname&amp;quot;.&lt;br /&gt;
=== Gamepads ===&lt;br /&gt;
An up to date list of the available actions can be found in the source code of Kodi in [https://github.com/xbmc/xbmc/blob/master/xbmc/input/ButtonTranslator.cpp ButtonTranslator.cpp] where the &#039;&#039;TranslateGamepadString()&#039;&#039; function does the work.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;gamepad&amp;gt;&lt;br /&gt;
  &amp;lt;A&amp;gt;Select&amp;lt;/A&amp;gt;&lt;br /&gt;
&amp;lt;/gamepad&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Remotes ===&lt;br /&gt;
An up to  date list of IR-remote button names can be found in the source code of Kodi [https://github.com/xbmc/xbmc/blob/master/xbmc/input/IRTranslator.cpp IRTranslator.cpp]. See the method TranslateString().&lt;br /&gt;
&lt;br /&gt;
The available actions are discussed in section [[Keymap#Actions|Actions]].&lt;br /&gt;
&lt;br /&gt;
{{Note|Some remotes (e.g. FLIRC) are actually seen as &amp;quot;keyboards&amp;quot;. Those will need to use the &amp;lt;keyboard&amp;gt; tag instead.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;remote&amp;gt; &lt;br /&gt;
  &amp;lt;play&amp;gt;Play&amp;lt;/play&amp;gt;&lt;br /&gt;
&amp;lt;/remote&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Universal Remotes ===&lt;br /&gt;
To map Universal Remote buttons using the RCA infrared protocol, you may add &#039;&#039;&#039;&amp;lt;universalremote&amp;gt;&#039;&#039;&#039; sections to keymap.xml.&amp;lt;br /&amp;gt;&lt;br /&gt;
In this case, the tags used are &amp;lt;obc#&amp;gt; where # is the original button code (OBC) of the button.&amp;lt;br /&amp;gt;&lt;br /&gt;
You would put it inside a &amp;lt;universalremote&amp;gt; section in the &amp;lt;window&amp;gt; or &amp;lt;global&amp;gt; sections.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;universalremote&amp;gt; &lt;br /&gt;
  &amp;lt;obc148&amp;gt;Stop&amp;lt;/obc148&amp;gt;&lt;br /&gt;
&amp;lt;/universalremote&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Will map &#039;&#039;Stop Playback&#039;&#039; to the RCA DVD repeat button &amp;lt;obc148&amp;gt;, which is not used by Kodi by default. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Note:&#039;&#039;&#039; ensure that the &amp;lt;universalremote&amp;gt; section is &#039;&#039;&#039;NOT&#039;&#039;&#039; added &#039;within&#039; the &amp;lt;remote&amp;gt; section - it can appear before or after. Otherwise it will not be recognised and produces errors in the logfile.&lt;br /&gt;
&lt;br /&gt;
Remote keys can be observed in the kodi.log file (&#039;&#039;&#039;~/.kodi/temp/kodi.log&#039;&#039;&#039; on Linux) when debugging is enabled in the GUI (Settings -&amp;gt; debugging ). The list of pre-defined OBC codes can be found at [https://github.com/xbmc/xbmc/blob/master/xbmc/input/XBIRRemote.h XBIRRemote.h].&lt;br /&gt;
&lt;br /&gt;
=== Keyboards ===&lt;br /&gt;
Valid keyboard keymap syntax includes &amp;lt;keyname&amp;gt;, &amp;lt;key id=&amp;quot;&amp;quot;&amp;gt;, and &amp;lt;keyname mod=&amp;quot;&amp;quot;&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Mapping for arbitrary key codes can be configured using the following syntax: &lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;key id=&amp;quot;123&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
where &amp;quot;123&amp;quot; is replaced by the key code.&lt;br /&gt;
&lt;br /&gt;
A full list of valid keynames can be found in &lt;br /&gt;
* the &#039;&#039;TranslateKeyboardString()&#039;&#039; method in [https://github.com/xbmc/xbmc/blob/master/xbmc/input/ButtonTranslator.cpp ButtonTranslator.cpp] &lt;br /&gt;
* or in [[List of Kodi keynames]].&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;keyboard&amp;gt;&lt;br /&gt;
  &amp;lt;key id=&amp;quot;123&amp;quot;&amp;gt;action&amp;lt;/key&amp;gt; -- id is the keys keycode. &amp;gt;&lt;br /&gt;
  &amp;lt;a mod=&amp;quot;shift,alt&amp;quot;&amp;gt;action&amp;lt;/a&amp;gt; -- corresponds to shift-alt-a, the mod=&amp;quot;&amp;quot; syntax is enabled since build 26407. &amp;gt;&lt;br /&gt;
  &amp;lt;space&amp;gt;action&amp;lt;/space&amp;gt; -- for a complete list of valid keynames, see ButtonTranslator.cpp or List of Kodi keynames above. &amp;gt;&lt;br /&gt;
&amp;lt;/keyboard&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Modifiers&lt;br /&gt;
* shift&lt;br /&gt;
* alt&lt;br /&gt;
* ctrl&lt;br /&gt;
&lt;br /&gt;
=== Mouse ===&lt;br /&gt;
&lt;br /&gt;
As this highly depends on the mouse you are using and which kind of buttons are available, we only mention the most common buttons on a mouse:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;keymap&amp;gt;&lt;br /&gt;
  &amp;lt;mouse&amp;gt;&lt;br /&gt;
    &amp;lt;global&amp;gt;&lt;br /&gt;
      &amp;lt;leftclick&amp;gt;...&amp;lt;/leftclick&amp;gt;&lt;br /&gt;
      &amp;lt;middleclick&amp;gt;...&amp;lt;/middleclick&amp;gt;&lt;br /&gt;
      &amp;lt;rightclick&amp;gt;...&amp;lt;/rightclick&amp;gt;&lt;br /&gt;
      &amp;lt;wheelup&amp;gt;...&amp;lt;/wheelup&amp;gt;&lt;br /&gt;
      &amp;lt;wheeldown&amp;gt;...&amp;lt;/wheeldown&amp;gt;&lt;br /&gt;
    &amp;lt;/global&amp;gt;&lt;br /&gt;
  &amp;lt;/mouse&amp;gt;&lt;br /&gt;
&amp;lt;/keymap&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Example for changing the volume while on MusicOSD (On Screen Display) window using the mouse wheel&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;keymap&amp;gt;&lt;br /&gt;
  &amp;lt;MusicOSD&amp;gt;&lt;br /&gt;
    &amp;lt;mouse&amp;gt;&lt;br /&gt;
      &amp;lt;wheeldown&amp;gt;VolumeDown&amp;lt;/wheeldown&amp;gt;&lt;br /&gt;
      &amp;lt;wheelup&amp;gt;VolumeUp&amp;lt;/wheelup&amp;gt;&lt;br /&gt;
    &amp;lt;/mouse&amp;gt;&lt;br /&gt;
  &amp;lt;/MusicOSD&amp;gt;&lt;br /&gt;
&amp;lt;/keymap&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Custom Joystick Configuration ===&lt;br /&gt;
Custom joysticks are defined using the following syntax:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;joystick name=&amp;quot;JOYSTICK NAME&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;button id=&amp;quot;BUTTON ID&amp;quot;&amp;gt;action&amp;lt;/button&amp;gt;&lt;br /&gt;
&amp;lt;/joystick&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Getting the joystick name:&lt;br /&gt;
* On linux: &#039;cat /proc/bus/input/devices&#039;&lt;br /&gt;
* or see your Kodi log file&lt;br /&gt;
&lt;br /&gt;
Getting the button ids:&lt;br /&gt;
* &#039;id&#039; is the button ID used by SDL. Joystick button ids of connected joysticks appear in kodi.log when they are pressed. Use your log to map custom buttons to actions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=xml enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;joystick name=&amp;quot;PLAYSTATION(R)3 Controller (00:1B:FB:F6:E0:F2)&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;button id=&amp;quot;15&amp;quot;&amp;gt;Select&amp;lt;/button&amp;gt;&lt;br /&gt;
  &amp;lt;button id=&amp;quot;14&amp;quot;&amp;gt;PreviousMenu&amp;lt;/button&amp;gt;&lt;br /&gt;
&amp;lt;/joystick&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Long-press ==&lt;br /&gt;
{{note| Longpress seems to only be working on keyboard keymaps at the moment }}&lt;br /&gt;
Depending on the device, many remotes, keyboards, and gamepads can use the long-press modifier. This allows a button to do a separate action when held for a short period of time. The syntax for this is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;button mod=&amp;quot;longpress&amp;quot;&amp;gt;action&amp;lt;/button&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Not all devices will correctly work with the longpress action, but most should. &lt;br /&gt;
&lt;br /&gt;
{{Note|Long-press will disable keyrepeat for that key/window.}}&lt;br /&gt;
&lt;br /&gt;
=== Removing a long-press action from a default keymap ===&lt;br /&gt;
If you want to simply remove a long-press action, rather than override it, you can place an empty long-press tag in a keymap. This also has the effect of re-enabling keyrepeat for the short-press action.&lt;br /&gt;
&lt;br /&gt;
For example, this will remove the context menu action from the default keyboard.xml keymap:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;keymap&amp;gt;&lt;br /&gt;
  &amp;lt;global&amp;gt;&lt;br /&gt;
    &amp;lt;keyboard&amp;gt;&lt;br /&gt;
      &amp;lt;return mod=&amp;quot;longpress&amp;quot;&amp;gt;&amp;lt;/return&amp;gt;&lt;br /&gt;
      &amp;lt;enter mod=&amp;quot;longpress&amp;quot;&amp;gt;&amp;lt;/enter&amp;gt;&lt;br /&gt;
    &amp;lt;/keyboard&amp;gt;&lt;br /&gt;
  &amp;lt;/global&amp;gt;&lt;br /&gt;
&amp;lt;/keymap&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Commands ==&lt;br /&gt;
The most recent available actions can be found in [https://github.com/xbmc/xbmc/blob/master/xbmc/input/ActionTranslator.cpp ActionTranslator.cpp].&lt;br /&gt;
&lt;br /&gt;
For those debugging integer action codes from the debug log, the mapping of action codes to constants is in [https://github.com/xbmc/xbmc/blob/master/xbmc/input/Key.h Key.h]&lt;br /&gt;
&lt;br /&gt;
In addition to the following actions, you can also use &#039;&#039;&#039;[[Built-in scripting]]&#039;&#039;&#039; in Kodi.&lt;br /&gt;
&lt;br /&gt;
=== Actions ===&lt;br /&gt;
{{Main|Action IDs}}&lt;br /&gt;
{{#lst:Action IDs|Action IDs}}&lt;br /&gt;
&lt;br /&gt;
=== Functions ===&lt;br /&gt;
{{main|List of built-in functions|Built-in scripting}}&lt;br /&gt;
{{#lst:List of built-in functions|functions}}&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
{{main|Window IDs}}&lt;br /&gt;
{{#lst:Window IDs|main content}}&lt;br /&gt;
&lt;br /&gt;
== Additional keys ==&lt;br /&gt;
Other keys that can be mapped to actions.&lt;br /&gt;
&lt;br /&gt;
=== Media keyboards/remotes ===&lt;br /&gt;
* browser_back&lt;br /&gt;
* browser_forward&lt;br /&gt;
* browser_refresh&lt;br /&gt;
* browser_stop&lt;br /&gt;
* browser_search&lt;br /&gt;
* browser_favorites&lt;br /&gt;
* browser_home&lt;br /&gt;
* volume_mute&lt;br /&gt;
* volume_down&lt;br /&gt;
* volume_up&lt;br /&gt;
* next_track&lt;br /&gt;
* prev_track&lt;br /&gt;
* stop&lt;br /&gt;
* play_pause&lt;br /&gt;
* launch_mail&lt;br /&gt;
* launch_media_select&lt;br /&gt;
* launch_app1&lt;br /&gt;
* launch_app2&lt;br /&gt;
* play&lt;br /&gt;
* pause&lt;br /&gt;
* fastforward&lt;br /&gt;
* rewind&lt;br /&gt;
* channelup&lt;br /&gt;
* channeldown&lt;br /&gt;
&lt;br /&gt;
=== Mouse actions ===&lt;br /&gt;
* leftclick&lt;br /&gt;
* rightclick &lt;br /&gt;
* middleclick&lt;br /&gt;
* doubleclick&lt;br /&gt;
* wheelup&lt;br /&gt;
* wheeldown&lt;br /&gt;
* mousemove&lt;br /&gt;
* mousedrag&lt;br /&gt;
* mousedragstart&lt;br /&gt;
* mousedragend&lt;br /&gt;
* mouserdrag - right button drag&lt;br /&gt;
* mouserdragstart - start of right button drag&lt;br /&gt;
* mouserdragend - end of right button drag&lt;br /&gt;
&lt;br /&gt;
== Examples and pre-made keymaps ==&lt;br /&gt;
{{see|:Category:Custom keymaps}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Remote controls]]&lt;br /&gt;
* [[Keyboard controls]]&lt;br /&gt;
&#039;&#039;&#039;Development:&#039;&#039;&#039;&lt;br /&gt;
* [[Add-on development]]&lt;br /&gt;
* [[Python development]]&lt;br /&gt;
* [[Skinning]]&lt;br /&gt;
&lt;br /&gt;
{{Updated|16}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Remotes]]&lt;br /&gt;
[[Category:Settings]]&lt;br /&gt;
[[Category:Controls]]&lt;/div&gt;</summary>
		<author><name>Okichatan</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Log_file/Advanced&amp;diff=133862</id>
		<title>Log file/Advanced</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Log_file/Advanced&amp;diff=133862"/>
		<updated>2018-02-07T11:36:10Z</updated>

		<summary type="html">&lt;p&gt;Okichatan: /* Location */ added Raspberry Pi log location&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav| [[Troubleshooting]] | [[HOW-TO:Submit a bug report]] | [[Log file]] }}&lt;br /&gt;
&lt;br /&gt;
:{{bigger|&#039;&#039;Not sure what to do, but someone just asked you for a &amp;quot;log file&amp;quot;, &amp;quot;debug log&amp;quot;, &amp;quot;kodi.log&amp;quot;, or &amp;quot;xbmc.log&amp;quot;? &#039;&#039;&#039;[[Log file/Easy|Click here]].&#039;&#039;&#039;&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section being=&amp;quot;intro&amp;quot; /&amp;gt;At some point during your foray into {{kodi}}, you will likely come up against a problem that isn&#039;t made 100% clear from errors in the GUI. This is where the log file comes into play. {{kodi}} writes all sorts of useful stuff to its log, which is why it should be included with every bug/problem report. Don&#039;t be afraid of its contents! Often a quick glance through the log will turn up a simple typo or missing file which you can easily fix on your own.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Enable debugging = &amp;lt;!-- odd header levels are used intentionally for better readability on this specific page --&amp;gt;&lt;br /&gt;
If someone asks for a debug log then debugging needs to be enabled. There are three ways to do this:&lt;br /&gt;
&lt;br /&gt;
# Select the enable debug options in the &#039;&#039;&#039;[[#GUI settings|GUI settings]]&#039;&#039;&#039;&lt;br /&gt;
# Use an &#039;&#039;&#039;[[#advancedsettings.xml|advancedsettings.xml]]&#039;&#039;&#039; file&lt;br /&gt;
# Toggle debug logging with a &#039;&#039;&#039;[[#Keyboard or remote shortcut|keyboard or remote shortcut]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GUI settings ==&lt;br /&gt;
Most users only need to enable debug logging in the GUI.&lt;br /&gt;
&lt;br /&gt;
In {{highlight|bordered=yes|[[Settings/System#Logging|Settings -&amp;gt; System -&amp;gt; Logging]]}} toggle the &#039;&#039;&#039;&#039;&#039;Enable debug logging&#039;&#039;&#039;&#039;&#039; setting.&lt;br /&gt;
&lt;br /&gt;
{{#lst:Settings/System|debugging}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Turn on debugging using a file (advancedsettings.xml) ==&lt;br /&gt;
{{anchor|advancedsettings.xml}}&lt;br /&gt;
You can manually enable debug logging directly using an [[advancedsettings.xml]] file. This is especially useful if {{kodi}} is crashing during start-up and you are unable to turn debugging on via the GUI. The advancedsettings.xml file is simply a plain text document that is saved in the [[userdata folder]] and read when {{kodi}} first starts up. You can use the following examples to enable debug logging:&lt;br /&gt;
&lt;br /&gt;
{{note|Be sure to format this as a &#039;&#039;&#039;plain text&#039;&#039;&#039; document, and make sure it is titled &amp;lt;code&amp;gt;advancedsettings.xml&amp;lt;/code&amp;gt; and make sure the extension is &#039;&#039;just&#039;&#039; &amp;lt;code&amp;gt;.xml&amp;lt;/code&amp;gt; and not something like &amp;quot;.xml.txt&amp;quot; or &amp;quot;.xml.doc&amp;quot;. }}&lt;br /&gt;
&lt;br /&gt;
=== advancedsettings.xml for normal debugging ===&lt;br /&gt;
If you want &#039;&#039;&#039;basic debug logging&#039;&#039;&#039; then use this. This the same as enabling logging in the GUI without enabling component-specific logging. Start with this one first if you are not sure which mode to use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel&amp;gt;2&amp;lt;/loglevel&amp;gt; &amp;lt;!-- Change this to &amp;quot;1&amp;quot; to hide the on-screen debug log text --&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== advancedsettings.xml for input devices ===&lt;br /&gt;
&#039;&#039;Useful as you cannot enable debug logging in the GUI if your input devices don&#039;t work.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you only want debug logging with verbose components for &#039;&#039;&#039;input devices&#039;&#039;&#039; (JSON-RPC, CEC, HTTP, for remotes, smart phone remotes, web remotes, etc) then use this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel&amp;gt;2&amp;lt;/loglevel&amp;gt; &amp;lt;!-- Change this to &amp;quot;1&amp;quot; to hide the on-screen debug log text --&amp;gt;&lt;br /&gt;
    &amp;lt;debug&amp;gt;&lt;br /&gt;
        &amp;lt;extralogging&amp;gt;true&amp;lt;/extralogging&amp;gt;&lt;br /&gt;
        &amp;lt;setextraloglevel&amp;gt;64,1024, 16384&amp;lt;/setextraloglevel&amp;gt;&lt;br /&gt;
        &amp;lt;showloginfo&amp;gt;true&amp;lt;/showloginfo&amp;gt; &amp;lt;!-- Change this to &amp;quot;false&amp;quot; to hide the on-screen debug log text --&amp;gt;&lt;br /&gt;
    &amp;lt;/debug&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== advancedsettings.xml for everything ===&lt;br /&gt;
If you want debug logging with &#039;&#039;&#039;all verbose components&#039;&#039;&#039; enabled use this.&lt;br /&gt;
&lt;br /&gt;
{{note|Normally, you don&#039;t want to use this one unless specifically asked for it, as it will create a very hard-to-read debug log.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;advancedsettings&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel&amp;gt;2&amp;lt;/loglevel&amp;gt; &amp;lt;!-- Change this to &amp;quot;1&amp;quot; to hide the on-screen debug log text --&amp;gt;&lt;br /&gt;
    &amp;lt;debug&amp;gt;&lt;br /&gt;
        &amp;lt;extralogging&amp;gt;true&amp;lt;/extralogging&amp;gt;&lt;br /&gt;
        &amp;lt;setextraloglevel&amp;gt;32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536&amp;lt;/setextraloglevel&amp;gt;&lt;br /&gt;
        &amp;lt;showloginfo&amp;gt;true&amp;lt;/showloginfo&amp;gt;&lt;br /&gt;
    &amp;lt;/debug&amp;gt;&lt;br /&gt;
&amp;lt;/advancedsettings&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Technical notes ===&lt;br /&gt;
{{collapse top}}&lt;br /&gt;
Everything except the &amp;lt;code&amp;gt;&amp;lt;loglevel&amp;gt;&amp;lt;/code&amp;gt; tag is actually taken from guisettings.xml, but they can be used in the advancedsettings.xml file as a way to manually enable them.&lt;br /&gt;
&lt;br /&gt;
As one can see from the previous sections, individual component logging is set using the &amp;lt;code&amp;gt;&amp;lt;setextraloglevel&amp;gt;&amp;lt;/code&amp;gt; tag. A complete list of the components and their setting value follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Component !! setting value&lt;br /&gt;
|-&lt;br /&gt;
| LOGSAMBA || 32&lt;br /&gt;
|-&lt;br /&gt;
| LOGCURL || 64&lt;br /&gt;
|-&lt;br /&gt;
| LOGFFMPEG || 128&lt;br /&gt;
|-&lt;br /&gt;
| LOGDBUS || 512&lt;br /&gt;
|-&lt;br /&gt;
| LOGJSONRPC || 1024&lt;br /&gt;
|-&lt;br /&gt;
| LOGAUDIO || 2048&lt;br /&gt;
|-&lt;br /&gt;
| LOGAIRTUNES || 4096&lt;br /&gt;
|-&lt;br /&gt;
| LOGUPNP || 8192&lt;br /&gt;
|-&lt;br /&gt;
| LOGCEC || 16384&lt;br /&gt;
|-&lt;br /&gt;
| LOGVIDEO || 32768&lt;br /&gt;
|-&lt;br /&gt;
| LOGWEBSERVER || 65536&lt;br /&gt;
|}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
== Password warning ==&lt;br /&gt;
{{Log file password warning}}&lt;br /&gt;
&lt;br /&gt;
== Keyboard or remote shortcut ==&lt;br /&gt;
By plugging in a keyboard, debug mode can be toggled by pressing {{keypress|shift|ctrl|D}}&lt;br /&gt;
&lt;br /&gt;
Other keys, or buttons on remotes, can be used to toggle debug mode. Just use the [[action ID]] &amp;lt;code&amp;gt;toggledebug&amp;lt;/code&amp;gt; along with a custom &#039;&#039;&#039;[[keymap]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Component-specific logging ==&lt;br /&gt;
&lt;br /&gt;
For more extensive logging, several system components can be selected to put in more detailed debug messages in Kodi&#039;s log file. Multiple components can be selected for extending the debugging of the Kodi application.&lt;br /&gt;
&lt;br /&gt;
[[File:Component-logging-selection.jpg|500px|Component logging selection window|right]]&lt;br /&gt;
&lt;br /&gt;
First, you need to enable this feature via toggling&lt;br /&gt;
&lt;br /&gt;
{{highlight|bordered=yes|[[Settings/System#Logging|Settings -&amp;gt; System -&amp;gt; Logging -&amp;gt; Enable component-specific logging]]}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then specifiy which components you want logged into the Kodi log file.&lt;br /&gt;
&lt;br /&gt;
{{highlight|bordered=yes|[[Settings/System#Logging|Settings -&amp;gt; System -&amp;gt; Logging -&amp;gt; - Specify component-specific logging...]]}}.&lt;br /&gt;
&lt;br /&gt;
One or more components can be selected for further investigating the debugging on your Kodi device, subject to your Kodi hardware capabilities.&lt;br /&gt;
&lt;br /&gt;
* The SMB library&lt;br /&gt;
* The libcURL library (HTTP(S), DAV) &lt;br /&gt;
* The FFmpeg libraries &lt;br /&gt;
* The Audio component &lt;br /&gt;
* The Video component &lt;br /&gt;
* D-Bus calls &lt;br /&gt;
* JSON-RPC requests &lt;br /&gt;
* The Webserver component &lt;br /&gt;
* The Airtunes library &lt;br /&gt;
* The UPnP components &lt;br /&gt;
* The libCEC library&lt;br /&gt;
* The Database component&lt;br /&gt;
* Audio/video timing information&lt;br /&gt;
&lt;br /&gt;
= So what do I do with this thing? =&lt;br /&gt;
&lt;br /&gt;
Whatever you do, please &#039;&#039;&#039;DO NOT&#039;&#039;&#039; paste it directly into IRC, a forum post or ticket on the bug tracker.  This not only clutters said text, but the log is nearly impossible to read like this.  If your log file is too big for the following methods, please restart {{kodi}} to start a clean log file file, recreate the problem in as few steps as possible, then stop {{kodi}} and try again.  If it is still too large, try disabling features such as &amp;quot;scan library on startup&amp;quot;, which spam&#039;s a lot of info to the log (unless of course this is where the problem is).&lt;br /&gt;
&lt;br /&gt;
:{{note|{{big|&#039;&#039;&#039;Always include the whole debug log.&#039;&#039;&#039; Don&#039;t assume which portions of the log are relevant or not. }} }}&lt;br /&gt;
&lt;br /&gt;
:{{note|Make sure you have enabled &amp;quot;debug logging&amp;quot;. The normal log file, without debugging enabled, is almost always useless when it comes to troubleshooting!}}&lt;br /&gt;
&lt;br /&gt;
=== In the forums and IRC ===&lt;br /&gt;
Use a pastesite such as http://pastebin.com , or http://paste.ubuntu.com on when posting on the forums.  Simply visit one of these sites, paste or upload your log and hit submit.  After a few seconds you&#039;ll have a nice short URL to paste in your post.  Be sure to select an appropriate time to keep your paste around when submitting!&lt;br /&gt;
&lt;br /&gt;
=== On the bug tracker ===&lt;br /&gt;
Just upload the log to your ticket as an attachment.  &#039;&#039;&#039;DO NOT&#039;&#039;&#039; archive (zip,rar,tar,etc) it in anyway!  Trac will let us view it right on the site without downloading.&lt;br /&gt;
&lt;br /&gt;
=== Watch it locally, perhaps spotting errors you can fix or report ===&lt;br /&gt;
Using &#039;tail -f {location}&#039; you can watch the log from a cmd/console (better with 2 displays), or better, via ssh (won&#039;t distract the gui).&lt;br /&gt;
&lt;br /&gt;
= Log files =&lt;br /&gt;
* &#039;&#039;&#039;kodi.log&#039;&#039;&#039; or &#039;&#039;&#039;xbmc.log&#039;&#039;&#039; - This is the log file of most recent (or currently running) {{kodi}} session.&lt;br /&gt;
* &#039;&#039;&#039;kodi.old.log&#039;&#039;&#039; or &#039;&#039;&#039;xbmc.old.log&#039;&#039;&#039; - This is the log file from the last Kodi session.  If {{kodi}} crashes AND you have restarted it before viewing the log, this is the one you want.&lt;br /&gt;
&lt;br /&gt;
=== Location ===&lt;br /&gt;
&#039;&#039;kodi.log&#039;&#039; {{small|(or &#039;&#039;xbmc.log&#039;&#039;)}} and &#039;&#039;kodi.old.log&#039;&#039; {{small|(or &#039;&#039;xbmc.old.log&#039;&#039;)}} are located here, depending on your platform:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot; &lt;br /&gt;
! style=&amp;quot;background: lightgrey; width: 150px&amp;quot; | &#039;&#039;&#039;Operative system&#039;&#039;&#039; &lt;br /&gt;
! style=&amp;quot;background: lightgrey; width: 800px&amp;quot; | &#039;&#039;&#039;File/Folder Paths&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 | &#039;&#039;Directories and files named &amp;lt;code&amp;gt;&#039;&#039;&#039;kodi&#039;&#039;&#039;&amp;lt;/code&amp;gt; were called &amp;lt;code&amp;gt;&#039;&#039;&#039;xbmc&#039;&#039;&#039;&amp;lt;/code&amp;gt; in versions before v14.&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Android&#039;&#039;&#039;  || {{note|The first folder might be different on various devices:}} &lt;br /&gt;
*&amp;lt;code&amp;gt;&#039;&#039;&amp;lt;data/sdcard/Android&amp;gt;&#039;&#039;/data/org.xbmc.kodi/cache/temp/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
*&amp;lt;code&amp;gt;/sdcard/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iOS/ATV2&#039;&#039;&#039; || &amp;lt;code&amp;gt;/private/var/mobile/Library/Preferences/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Linux&#039;&#039;&#039; || &amp;lt;code&amp;gt;$HOME/.kodi/temp/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi&#039;&#039;&#039; || &amp;lt;code&amp;gt;/storage/.kodi/temp/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;macOS&#039;&#039;&#039; || &amp;lt;code&amp;gt;/Users/&#039;&#039;&amp;lt;username&amp;gt;&#039;&#039;/Library/Logs/kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Windows desktop&#039;&#039;&#039; || &amp;lt;code&amp;gt;%APPDATA%\Kodi\kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Windows store (UWP)&#039;&#039;&#039; || &amp;lt;code&amp;gt;%LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\kodi.log&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;[[Special protocol]]&#039;&#039;&#039; || &amp;lt;code&amp;gt;special://logpath (this can be used by scripts)&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;&#039;[[Log file/File manager access]]&#039;&#039;&#039; for how to copy the debug log file using the [[File manager]].&lt;br /&gt;
&lt;br /&gt;
= Easy ways to get and post the log file =&lt;br /&gt;
=== Debug log add-on ===&lt;br /&gt;
{{main|Log file/Easy}}&lt;br /&gt;
You can use the &#039;&#039;&#039;[[Add-on:Kodi Log Uploader|Kodi Logfile Uploader]]&#039;&#039;&#039; to make the process of getting your debug log easier.&lt;br /&gt;
&lt;br /&gt;
=== Automatic pastebin log in Linux via command line ===&lt;br /&gt;
You can generate a debug.log [http://en.wikipedia.org/wiki/Pastebin Pastebin] link automatically quickly to post anywhere that requires a debug.log.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
:&#039;&#039;&#039;&#039;&#039;See also:&#039;&#039;&#039;&#039;&#039; [[SSH|Accessing Kodi via SSH]] e.g. Putty&lt;br /&gt;
&lt;br /&gt;
:{{note|Don&#039;t forget to [[#Enable debugging|enable debugging]]}}&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install pastebinit -y&lt;br /&gt;
&lt;br /&gt;
cat $HOME/.kodi/temp/kodi.log | pastebinit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;(or cat $HOME/.Kodi/temp/kodi.log | pastebinit)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Submit the link you get in any forums discussion where you post about &#039;&#039;&#039;any&#039;&#039;&#039; problem.&lt;br /&gt;
&lt;br /&gt;
= Technical details about log files =&lt;br /&gt;
{{Editor note|This section might be outdated now that {{kodi}} has component-level logging. Some of it should still be true, but just keep in mind that this section hasn&#039;t been totally cleaned up for v13 and v14 yet.}}&lt;br /&gt;
&amp;lt;!-- {{collapse top}} - this is good stuff I missed the first time around for lack of expansion. I expect even a cursory user will take a peek and wonder what the heck the guts are. --&amp;gt;&lt;br /&gt;
=== Layout ===&lt;br /&gt;
Each event is logged to one line of the {{kodi}} log file which is formatted as follows...&lt;br /&gt;
&amp;lt;pre&amp;gt;[TIMESTAMP] T:[THREADID] M:[FREEMEM] [LEVEL]: [MESSAGE]&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;TIMESTAMP&#039;&#039;&#039; - The wall time at which the event occurred.&lt;br /&gt;
* &#039;&#039;&#039;THREADID&#039;&#039;&#039; - The thread identification number of the thread in which the event occurred.&lt;br /&gt;
* &#039;&#039;&#039;FREEMEM&#039;&#039;&#039; - The amount of memory (in bytes) free at the time of the event.&lt;br /&gt;
* &#039;&#039;&#039;LEVEL&#039;&#039;&#039; - The severity of the event.&lt;br /&gt;
* &#039;&#039;&#039;MESSAGE&#039;&#039;&#039; - A brief description and/or important information about the event.&lt;br /&gt;
&lt;br /&gt;
=== Log levels ===&lt;br /&gt;
There are two different types levels when talking about the {{kodi}} log.  The first is the severity of event that has occurred.  The second controls which severity levels are actually printed out to the log.&lt;br /&gt;
&lt;br /&gt;
;Severity levels&lt;br /&gt;
In order from least to most severe...&lt;br /&gt;
* &#039;&#039;&#039;DEBUG&#039;&#039;&#039; - In depth information about the status of {{kodi}}.  This information can pretty much only be deciphered by a developer or long time {{kodi}} power user.&lt;br /&gt;
* &#039;&#039;&#039;INFO&#039;&#039;&#039; - Something has happened.  It&#039;s not a problem, we just thought you might want to know.  Fairly excessive output that most people won&#039;t care about.&lt;br /&gt;
* &#039;&#039;&#039;NOTICE&#039;&#039;&#039; - Similar to INFO but the average Joe might want to know about these events.  This level and above are logged by default.&lt;br /&gt;
* &#039;&#039;&#039;WARNING&#039;&#039;&#039; - Something potentially bad has happened.  If {{kodi}} did something you didn&#039;t expect, this is probably why.  Watch for errors to follow.&lt;br /&gt;
* &#039;&#039;&#039;ERROR&#039;&#039;&#039; - This event is bad.  Something has failed.  You likely noticed problems with the application be it skin artifacts, failure of playback a crash, etc.&lt;br /&gt;
* &#039;&#039;&#039;FATAL&#039;&#039;&#039; - We&#039;re screwed.  {{kodi}} is about to crash.&lt;br /&gt;
&lt;br /&gt;
;Log file control levels&lt;br /&gt;
In order from least to most information provided...&lt;br /&gt;
* &#039;&#039;&#039;None&#039;&#039;&#039; - No logging will occur.  &#039;&#039;kodi.log&#039;&#039; will likely be created but should remain empty.&lt;br /&gt;
* &#039;&#039;&#039;Normal&#039;&#039;&#039; - The default loglevel.  Events with a severity of NOTICE or greater will be logged.&lt;br /&gt;
* &#039;&#039;&#039;Debug&#039;&#039;&#039; - All events are logged.  This level (or higher) is all that you should bother someone else with.&lt;br /&gt;
* &#039;&#039;&#039;Debug w/ Visuals&#039;&#039;&#039; - Same printed log as &#039;&#039;Debug&#039;&#039;, but free memory and CPU usage are rendered on the screen as well.&lt;br /&gt;
* &#039;&#039;&#039;SMB Debug&#039;&#039;&#039; - Same as &#039;&#039;Debug w/ Visuals&#039;&#039; with the addition of ridiculous amounts of Samba debugging info.  Use this only if asked.&lt;br /&gt;
&amp;lt;!-- {{collapse bottom}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[HOW-TO:Submit a bug report]]&lt;br /&gt;
* [[Bug tracker]]&lt;br /&gt;
* [[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
{{Updated|17}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Trac]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
[[Category:Advanced topics]]&lt;/div&gt;</summary>
		<author><name>Okichatan</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Archive:Custom_video_entries&amp;diff=111259</id>
		<title>Archive:Custom video entries</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Archive:Custom_video_entries&amp;diff=111259"/>
		<updated>2015-12-31T12:29:09Z</updated>

		<summary type="html">&lt;p&gt;Okichatan: /* NFO files */ added how to add artwork to your home movie&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Video library]]|[[Video management|Management]]}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;Need to add videos such as home movies or other videos that are not normally found by Kodi&#039;s scrapers? This page will show you a few solutions on adding custom videos, such as home movies, clips, special editions, and more. &amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== JustUseTheFileName ==&lt;br /&gt;
To simply add videos to the library as movies without any special info you can [[add-on manager|install]] the JustUseTheFileName scraper: http://up.kibje.com/20130711/metadata.justUseFilename.org.zip&lt;br /&gt;
&lt;br /&gt;
== NFO files ==&lt;br /&gt;
{{main|NFO files}}&lt;br /&gt;
* Add [[NFO files]] for each file. For step-by-steps look at the additional guides below.&lt;br /&gt;
* Here&#039;s a basic/bare minimal example of an NFO file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;
   &amp;lt;movie&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;Some title&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;originaltitle&amp;gt;Some title just in case - you most likely dont need this either&amp;lt;/originaltitle&amp;gt;&lt;br /&gt;
        &amp;lt;sorttitle&amp;gt;It will sort by this title if you include it&amp;lt;/sorttitle&amp;gt;&lt;br /&gt;
        &amp;lt;genre&amp;gt;HomeMovies&amp;lt;/genre&amp;gt;&lt;br /&gt;
        &amp;lt;id&amp;gt;-1&amp;lt;/id&amp;gt;&lt;br /&gt;
   &amp;lt;/movie&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* If you like to use photo (aka artwork, poster); Save the desired .jpg file in the &#039;&#039;&#039;same folder as the movie and the NFO file&#039;&#039;&#039;.  The jpg file should be named &#039;&#039;&#039;exactly the same&#039;&#039;&#039; as the video file to which it refers, &#039;&#039;&#039;except&#039;&#039;&#039; add &amp;quot;-poster&amp;quot; to the jpg filename, so for &#039;cartrip.mkv&#039;, the artwork file should be named &#039;cartrip-poster.jpg&#039;.  Kodi will import the jpg image automatically.&lt;br /&gt;
* Kodi will only look at your NFO files ONCE. To refresh see: [[Video library/Updating or removing videos#Refreshing the library]]&lt;br /&gt;
&lt;br /&gt;
== Filtering custom videos ==&lt;br /&gt;
{{see|Custom home items}}&lt;br /&gt;
&lt;br /&gt;
== Additional guides ==&lt;br /&gt;
* [http://forum.kodi.tv/showthread.php?tid=118344&amp;amp;pid=1299816#pid1299816 Best way to have &amp;quot;home videos&amp;quot; in Kodi (Kodi forum)]&lt;br /&gt;
&lt;br /&gt;
{{Isengard updated}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Video library]]&lt;/div&gt;</summary>
		<author><name>Okichatan</name></author>
	</entry>
</feed>