☰
Current Page
Main Menu
Home
Home
Editing
Kodi
Edit
Preview
h1
h2
h3
Keybinding
default
vim
emacs
Markup
Markdown
Plain Text
Pod
RDoc
reStructuredText
AsciiDoc
BibTeX
Creole
MediaWiki
Org-mode
Textile
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
--- title: Kodi --- Player software for Media Centre nodes. # Hardware * [Xios DS][1] * [Archos 80 Cobalt][2] * [RaspBMC][3] [OSMC][4] * [Tesco Hudl 2][5] * [Kindle Fire 7][6] # Configuration ## Remote Config Set in `.kodi/remote.conf`. This is a **non-userdata setting** so must be restored after upgrades. [AppleTV][7] remote.conf: # Apple TV remote factory_code = 0x87ee0001 work_mode = 1 repeat_enable = 1 release_delay = 150 debug_enable = 1 reg_control = 0xfbe40 key_begin 0x0b 103 ;UP 0x0d 108 ;DOWN 0x08 105 ;LEFT 0x07 106 ;RIGHT 0x04 28 ;OK 0x02 14 ;MENU key_end ## Disable Logging <advancedsettings> <loglevel>-1</loglevel> </advancedsettings> ## Buffer Media Kodi does not buffer local media (including `smb://` and `nfs://`) by default. Set [advancedsettings/network/buffermode][9] (v17 Krypton: [advancedsettings/cache/buffermode][10]) to 1 (cache all): <advancedsettings> <network> <buffermode>1</buffermode> <readbufferfactor>5</readbufferfactor> <!-- <cachemembuffersize>52428800</cachemembuffersize> --> </network> </advancedsettings> ## Shared Database <advancedsettings> <musicdatabase> <type>mysql</type> <host>${MYSQL_IP}</host> <port>3306</port> <user>${USER}</user> <pass>${PASSWORD}</pass> </musicdatabase> <videodatabase> <type>mysql</type> <host>${MYSQL_IP}</host> <port>3306</port> <user>${USER}</user> <pass>${PASSWORD}</pass> </videodatabase> <videolibrary> <importwatchedstate>true</importwatchedstate> <importresumepoint>true</importresumepoint> </videolibrary> </advancedsettings> `${MYSQL_IP}` : Hostname or IP address of MySQL server. `${USER}` : MySQL username `${PASSWORD}` : MySQL password ### Server permissions Give user permission to use and create new Kodi databases. grant all privileges on `MyMusic%`.* to ${USER}; grant all privileges on `MyVideos%`.* to ${USER}; ## Services Enables Airplay, [UPnP][14], web interface (no username or password) <settings> <services> <airplay>true</airplay> <airplaypassword default="true"></airplaypassword> <airplayvolumecontrol default="true">true</airplayvolumecontrol> <devicename>${LOCATION}</devicename> <esallinterfaces>true</esallinterfaces> <escontinuousdelay default="true">25</escontinuousdelay> <esenabled default="true">true</esenabled> <esinitialdelay default="true">750</esinitialdelay> <esmaxclients default="true">20</esmaxclients> <esport default="true">9777</esport> <esportrange default="true">10</esportrange> <upnpannounce default="true">true</upnpannounce> <upnpcontroller default="true">false</upnpcontroller> <upnprenderer>true</upnprenderer> <upnpserver default="true">false</upnpserver> <useairplaypassword default="true">false</useairplaypassword> <webserver>true</webserver> <webserverpassword></webserverpassword> <webserverport default="true">80</webserverport> <webserverusername default="true"></webserverusername> <webskin default="true">${WEB_INTERFACE}</webskin> <zeroconf default="true">true</zeroconf> </services> </settings> `${LOCATION}` : the name of the room the player is in. `${WEB_INTERFACE}` : `webinterface.chorus` if it is installed, otherwise `webinterface.default` ## Multi Room Audio Add-on : <http://kodi.wiki/view/Add-on:XSqueeze> # Troubleshooting ## Migrating database paths ``` use MyVideos119; update path set strPath = REPLACE(strPath, 'smb://MEDIA/', '/auto/'); ``` ## Fixing broken databases * Enable loglevel=0 in advancedsettings.xml Check for log messages about upgrade failures NOTICE: Attempting to update the database MyVideos99 from version 93 to 99 ERROR: SQL: [MyVideos99] Undefined MySQL error: Code (1060) Query: ALTER TABLE movie ADD userrating integer * Stop media nodes rake HOSTS="lounge ballroom bedroom-mark" media_stop * Login to Hastur mysql * Drop old database drop database MyVideos99 * Start master media node rake HOSTS="lounge" media_restart * Check logs for successful upgrade * Restart other media nodes rake HOSTS="lounge ballroom bedroom-mark" media_restart [1]: XiosDS [2]: Archos80Cobalt [3]: RaspBMC [4]: OSMC [5]: TescoHudl2 [6]: KindleFire7 [7]: /AppleTV/AppleTV [8]: Kodi?action=sourceblock&num=1 [9]: http://kodi.wiki/view/Advancedsettings.xml#network [10]: http://kodi.wiki/view/Advancedsettings.xml#cache [11]: Kodi?action=sourceblock&num=2 [12]: Kodi?action=sourceblock&num=3 [14]: UPnP [15]: Kodi?action=sourceblock&num=4 <!-- vim: filetype=markdown -->
Uploading file...
Sidebar
# SideBar * [Home][1] * [Projects][2] * * * <!-- --> * [Code][3] * [Tech][4] * [Network][5] * [MediaCentre][6] * [UAV][7] * * * <!-- --> * [Travel][8] * [Music][9] * [Horse Riding][10] * [Study][11] * [Games][12] * [Other Activities][13] * * * <!-- --> * [Car][14] * [House][15] * [Watch][16] * [Clothing][17] * [Miscellany][18] * * * [1]: /Home [2]: /Projects [3]: /Code/Code [4]: /Tech/Tech [5]: /Network/Network [6]: /MediaCentre/MediaCentre [7]: /UAV/UAV [8]: /Travel/Travel [9]: /Music/Music [10]: /HorseRiding/HorseRiding [11]: /Study/Study [12]: /Games/Games [13]: /Do/Do [14]: /Car/Car [15]: /House/House [16]: /Watch/Watch [17]: /Clothing/Clothing [18]: /Miscellany/Miscellany <!-- vim: filetype=markdown -->
Edit message:
Cancel