https://kodi.wiki/api.php?action=feedcontributions&user=Nazarko&feedformat=atomOfficial Kodi Wiki - User contributions [en]2024-03-28T16:19:03ZUser contributionsMediaWiki 1.39.6https://kodi.wiki/index.php?title=Raspberry_Pi&diff=129306Raspberry Pi2017-04-17T23:46:26Z<p>Nazarko: Couple of asks about official remote; GPIO now works OOB except for internal decoders</p>
<hr />
<div>{{mininav|[[Devices]]}}<br />
{{device notice}}<br />
<br />
[[File:Pi2ModB1GB_-comp.jpeg|320px|right]]<br />
<br />
{{forum link2|1=For more info and help, check out the [http://forum.kodi.tv/forumdisplay.php?fid=166 Kodi Raspberry Pi support forum]}}<br />
<section begin="intro" />The '''Raspberry Pi''', '''Raspberry Pi 2'''/'''3''' and '''Raspberry Pi Zero''' are a series of ARM-powered, credit card-sized single-board computers (developer boards) made in the UK by the non-profit Raspberry Pi Foundation organization for educational and hobbyist purposes. These low power computers are mass produced at very low prices and the high number of units sold gives it massive community support. As Kodi HTPC, all Raspberry Pis support full 1080p (Full HD) video playback of the most commonly used codecs, most if not all Kodi [[add-ons]], and have reasonably responsive GUI performance.<section end="intro" /><br />
<br />
== Installing Kodi ==<br />
{{Main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
{{#lst:HOW-TO:Install Kodi on Raspberry Pi|install}}<br />
<br />
== Frequently Asked Questions ==<br />
{{see|Raspberry Pi FAQ}}<br />
<br />
== Maximizing performance ==<br />
<section begin="performance" /><br />
{{note|Some of these tweaks are more aimed at the Pi 1 CPUs (A, B, A+, B+, Compute Module, Zero) as they only have a slow single-core CPU. Raspberry Pi 2/3 probably doesn't need some of these tweaks to run Kodi really well, but it also won't hurt anything, if you really want to push things to their limit.}}<br />
<br />
* Avoid "heavy" skins and lots of "service" type add-ons that run in the background.<br />
<br />
* Turn off RSS feeds and any scrolling text options for your skin. Depending on the skin/text, this can really boost a Pi 1, sometimes even a Pi 2/3.<br />
<br />
* Use an SD card with good rewrite speeds. The class of the SD card doesn't always mean it will be better, as that speed classification is for sustained reading and writing, whereas for Kodi, random read/write speeds are more important.<br />
::* [http://elinux.org/RPi_SD_cards#Working_.2F_Non-working_SD_cards Raspberry Pi only supports SDHC cards], apart from a few exceptions where the cards are marked as SDXL but maintain SDHC compatibility.<br />
::* [http://swag.raspberrypi.org/products/noobs-8gb-sd-card The class 6/8 Samsung SD cards sold on the Raspberry Pi Store] (the ones with NOOBS on them) typically have much better performance than many class 10 cards.<br />
::* Samsung "EVO" SD/mSD cards also have very excellent read/write speed for their price.<br />
::* For [http://www.raspberrypi.org/forums/viewtopic.php?p=53159 more information about SD card speeds, read this excellent thread on the R-Pi forum].<br />
<br />
* You can also try a combination of SD and fast USB drive for your Kodi install, but with the recent software improvements even just using a good SD card is about as fast as using a fast USB drive.<br />
<br />
* Avoid using wifi. If you do use wifi, use a wifi adapter that contains two antennae (internal or external) that advertises "300 Mbps". Otherwise, stick to wired ethernet, local USB drives, or ethernet-over-power devices (like Homeplug).<br />
::* [http://openelec.tv/forum/124-raspberry-pi/73670-the-best-wireless-usb-adapter-for-raspberry-pi-b Edimax EW-7811UTC AC600 is highly recommended in this thread].<br />
<br />
* If you are using wifi and it seems just on the edge of being fast enough, check out '''[[HOW-TO:Modify the video cache]]'''.<br />
<br />
* Try using '''[[NFS]]''' file shares instead of SMB file shares.<br />
<br />
* [http://forum.osmc.tv/showthread.php?tid=6825 Try mounting network shares through OS rather than Kodi]. This allows more tweaking of filesystem options, like chosing UDP and larger block sizes.<br />
<br />
* [http://forum.kodi.tv/showthread.php?tid=199272 Overclock]. Most Pi's can handle a significant overclock, as long as they have a good power supply. There is no universal setting that will work for everyone (except for the default speed that you get without overclocking). Try various overclocking settings and run Kodi for a while to see if it's stable. If one group of overclocking settings causes crashes, try a group of lower settings.<br />
:: {{note|Overclocking is pretty important for the Raspberry Pi 1 (A, B, A+, B+) and Zero, but much less so on the Pi 2/3 due to the multiple CPU cores as well as increased speed per core. You can still overclock the Pi 2 if you really want to, but for most users it makes little difference.}}<br />
<br />
* By default, "Extract thumbnail and video information" (in '''[[Settings/Video#File lists|file lists settings]]''') is disabled on the Pi, improving browsing performance.<br />
<br />
* For smoother video playback, enable "Adjust display refresh rate to match video" in '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* When using dvdplayer, "Sync playback to display" and "adjust PLL" for sync method are recommended; see '''[[Settings/Video#Playback|playback settings]]'''.<br />
<br />
* Make sure the video is using H.264 (up to High Profile — [[Hi10P]] will not work), or MPEG-4, or, if additional codecs have been enabled, MPEG-2 or VC-1.<br />
<br />
* Passthrough is recommended as it lowers CPU usage for DTS and AC3. Use '''[[Settings/System#Audio output|audio passthrough]]''' if your TV/receiver supports it.<br />
<br />
* To determine which audio passthrough formats your HDMI-connected TV supports, you can log in via SSH and run this command: <code>/opt/vc/bin/tvservice a</code> (on OpenELEC: <code>tvservice -a</code>).<br />
<br />
* Feeling adventurous? [[Development builds#Raspberry Pi specific testing|Check out the latest OpenELEC test builds]], which often have even more speed improvements. Just remember that these builds can often be unstable!<br />
<br />
* For locally connected drives containing videos and music, the filesystem can have an impact on read and write speeds. NTFS for example tends to be much slower on any Linux-based system than the more native ext2, ext3, etc.<br />
<br />
* If you use [[MySQL]], you will want to make sure that your images are pre-cached using the '''[[Texture Cache Maintenance utility]] tool'''. Local libraries typically don't need this as their images are cached when videos are scanned in. Using MySQL can improve performance as the database queries are handled by another machine.<br />
<br />
* Organizing your movies in single folders for each movie, rather than all movies in one folder, is recommended. The individual folders reduce the time it takes for Kodi to look for supporting media like external subtitles, which makes browsing, scanning and starting playback a little faster. You might also want to consider pre-scraping the meta data using a '''[[Library manager]]''' to reduce the time it takes to scan in both movies and TV shows.<br />
<br />
* [http://forum.kodi.tv/showthread.php?tid=222498 For Raspberry Pi units with only 256MB of RAM, see this thread].<br />
<section end="performance" /><br />
<br />
== Remote controls ==<br />
[[File:gpioir.png|right|250px|thumb|Wiring instructions for a TSOP4838 GPIO IR sensor.]]<br />
;GPIO IR receiver<br />
:Don't have a CEC TV or a smartphone remote? For less than a dollar/euro, you can add an IR receiver to your Raspberry Pi that works with most MCE and Apple remotes (and a few others). Most Kodi install options for the Pi should work with the GPIO IR out of the box, or by enabling a setting from within Kodi. Go to a local electronics store or search on eBay for "<code>TSOP4838</code>" and use some simple jumper wires (or solder the pins directly, if you wish). ''<small>(We need a link to a good, up to date GPIO IR guide. Most of the links I found are outdated and contain instructions for additional configurations that are no longer required. If you find a good link/guide, please add it to the wiki.)</small>''<br />
<br />
:If you are using '''[[OpenELEC]]''', just add this to your config.txt file ''(full help page '''[http://wiki.openelec.tv/index.php?title=Guide_To_lirc_rpi_GPIO_Receiver here]''')'': <br />
::<pre>dtoverlay=lirc-rpi</pre><br />
<br />
:The default GPIO pin used is 18. This can be changed by using the following<br />
::<pre>dtoverlay=lirc-rpi,gpio_in_pin=18</pre><br />
:Where <code>pin=18</code> would be changed to whatever GPIO pin number you would rather use.<br />
<br />
:If you are using '''[[OSMC]]''', your remote will probably work out of the box. If it doesn't, go to My OSMC -> Remotes and select your desired remote. There is also [https://osmc.tv/store/product/osmc-remote-control/ an official OSMC remote] which also works on other distributions.<br />
<br />
;[[CEC]]<br />
:If your TV supports '''[[CEC]]''', you should be able to use the remote control that came with your TV to control Kodi. The remote control signals are sent over the HDMI cable and most often don't require any further settings or configuration.<br />
<br />
;[[MCE remotes]]<br />
:Various '''MCE''' USB receivers and remotes will work on the Pi.<br />
<br />
;[[Keyboards]] and mice<br />
:Any '''[[keyboard]]''' such as wired, wireless, bluetooth. This includes remotes that are seen as keyboards, such as Rii remotes, the Mele F10-Pro remote, or the (very awesome) '''[[Flirc]]'''.<br />
<br />
;[[Smartphone/tablet remotes]]<br />
:Use your smartphone or tablet as a remote control.<br />
<br />
;[[Web interface]]s<br />
:Control Kodi from anything that has a web browser.<br />
{{-}}<br />
<br />
== Further reading ==<br />
* [http://raspberrypi.org RaspberryPi.org]<br />
* [http://elinux.org/RaspberryPiBoard Raspberry Pi Hub Wiki]<br />
* [http://lea-linux.org/documentations/Raspberry_Pi Raspberry Pi French Wiki]<br />
* [[Wikipedia:Raspberry Pi]]<br />
<br />
== Random notes ==<br />
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}<br />
* Notes for using a Pi with a GPIO touch screen:<br />
** http://forum.kodi.tv/showthread.php?tid=222880&pid=2000331#pid2000331<br />
** http://markamc.traki-iski.co.uk/raspberry-pixbian-egalax-touchscreen/ <br />
** http://arendwierks.blogspot.nl/p/touchscreen-fix-raspberry-pi-xbmc-kodi.html<br />
<br />
* Add-on for turning off the HDMI port when idle: https://github.com/timker/kodi.screensaver.pimon<br />
* <br />
<br />
{{Updated|16}}<br />
<br />
[[Category:Linux]]<br />
[[Category:HTPC]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Broadcom]]<br />
[[Category:ARM]]</div>Nazarkohttps://kodi.wiki/index.php?title=Raspberry_Pi&diff=124473Raspberry Pi2016-09-25T11:38:23Z<p>Nazarko: /* Remote controls */</p>
<hr />
<div>{{mininav|[[Devices]]}}<br />
{{device notice}}<br />
<br />
[[File:Pi2ModB1GB_-comp.jpeg|320px|right]]<br />
<br />
{{forum link2|1=For more info and help, check out the [http://forum.kodi.tv/forumdisplay.php?fid=166 Kodi Raspberry Pi support forum]}}<br />
<section begin="intro" />The '''Raspberry Pi''', '''Raspberry Pi 2'''/'''3''' and '''Raspberry Pi Zero''' are a series of ARM-powered, credit card-sized single-board computers (developer boards) made in the UK by the non-profit Raspberry Pi Foundation organization for educational and hobbyist purposes. These low power computers are mass produced at very low prices and the high number of units sold gives it massive community support. As Kodi HTPC, all Raspberry Pis support full 1080p (Full HD) video playback of the most commonly used codecs, most if not all Kodi [[add-ons]], and have reasonably responsive GUI performance.<section end="intro" /><br />
<br />
== Installing Kodi ==<br />
{{Main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
{{#lst:HOW-TO:Install Kodi on Raspberry Pi|install}}<br />
<br />
== Frequently Asked Questions ==<br />
{{see|Raspberry Pi FAQ}}<br />
<br />
== Maximizing performance ==<br />
<section begin="performance" /><br />
{{note|Some of these tweaks are more aimed at the Pi 1 CPUs (A, B, A+, B+, Compute Module, Zero) as they only have a slow single-core CPU. Raspberry Pi 2/3 probably doesn't need some of these tweaks to run Kodi really well, but it also won't hurt anything, if you really want to push things to their limit.}}<br />
<br />
* Avoid "heavy" skins and lots of "service" type add-ons that run in the background.<br />
<br />
* Turn off RSS feeds and any scrolling text options for your skin. Depending on the skin/text, this can really boost a Pi 1, sometimes even a Pi 2/3.<br />
<br />
* Use an SD card with good rewrite speeds. The class of the SD card doesn't always mean it will be better, as that speed classification is for sustained reading and writing, whereas for Kodi, random read/write speeds are more important.<br />
::* [http://elinux.org/RPi_SD_cards#Working_.2F_Non-working_SD_cards Raspberry Pi only supports SDHC cards], apart from a few exceptions where the cards are marked as SDXL but maintain SDHC compatibility.<br />
::* [http://swag.raspberrypi.org/products/noobs-8gb-sd-card The class 6/8 Samsung SD cards sold on the Raspberry Pi Store] (the ones with NOOBS on them) typically have much better performance than many class 10 cards.<br />
::* Samsung "EVO" SD/mSD cards also have very excellent read/write speed for their price.<br />
::* For [http://www.raspberrypi.org/forums/viewtopic.php?p=53159 more information about SD card speeds, read this excellent thread on the R-Pi forum].<br />
<br />
* You can also try a combination of SD and fast USB drive for your Kodi install, but with the recent software improvements even just using a good SD card is about as fast as using a fast USB drive.<br />
<br />
* Avoid using wifi. If you do use wifi, use a wifi adapter that contains two antennae (internal or external) that advertises "300 Mbps". Otherwise, stick to wired ethernet, local USB drives, or ethernet-over-power devices (like Homeplug).<br />
::* [http://openelec.tv/forum/124-raspberry-pi/73670-the-best-wireless-usb-adapter-for-raspberry-pi-b Edimax EW-7811UTC AC600 is highly recommended in this thread].<br />
<br />
* If you are using wifi and it seems just on the edge of being fast enough, check out '''[[HOW-TO:Modify the video cache]]'''.<br />
<br />
* Try using '''[[NFS]]''' file shares instead of SMB file shares.<br />
<br />
* [http://forum.osmc.tv/showthread.php?tid=6825 Try mounting network shares through OS rather than Kodi]. This allows more tweaking of filesystem options, like chosing UDP and larger block sizes.<br />
<br />
* [http://forum.kodi.tv/showthread.php?tid=199272 Overclock]. Most Pi's can handle a significant overclock, as long as they have a good power supply. There is no universal setting that will work for everyone (except for the default speed that you get without overclocking). Try various overclocking settings and run Kodi for a while to see if it's stable. If one group of overclocking settings causes crashes, try a group of lower settings.<br />
:: {{note|Overclocking is pretty important for the Raspberry Pi 1 (A, B, A+, B+) and Zero, but much less so on the Pi 2/3 due to the multiple CPU cores as well as increased speed per core. You can still overclock the Pi 2 if you really want to, but for most users it makes little difference.}}<br />
<br />
* By default, "Extract thumbnail and video information" (in '''[[Settings/Video#File lists|file lists settings]]''') is disabled on the Pi, improving browsing performance.<br />
<br />
* For smoother video playback, enable "Adjust display refresh rate to match video" in '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* When using dvdplayer, "Sync playback to display" and "adjust PLL" for sync method are recommended; see '''[[Settings/Video#Playback|playback settings]]'''.<br />
<br />
* Make sure the video is using H.264 (up to High Profile — [[Hi10P]] will not work), or MPEG-4, or, if additional codecs have been enabled, MPEG-2 or VC-1.<br />
<br />
* Passthrough is recommended as it lowers CPU usage for DTS and AC3. Use '''[[Settings/System#Audio output|audio passthrough]]''' if your TV/receiver supports it.<br />
<br />
* To determine which audio passthrough formats your HDMI-connected TV supports, you can log in via SSH and run this command: <code>/opt/vc/bin/tvservice a</code> (on OpenELEC: <code>tvservice -a</code>).<br />
<br />
* Feeling adventurous? [[Development builds#Raspberry Pi specific testing|Check out the latest OpenELEC test builds]], which often have even more speed improvements. Just remember that these builds can often be unstable!<br />
<br />
* For locally connected drives containing videos and music, the filesystem can have an impact on read and write speeds. NTFS for example tends to be much slower on any Linux-based system than the more native ext2, ext3, etc.<br />
<br />
* If you use [[MySQL]], you will want to make sure that your images are pre-cached using the '''[[Texture Cache Maintenance utility]] tool'''. Local libraries typically don't need this as their images are cached when videos are scanned in. Using MySQL can improve performance as the database queries are handled by another machine.<br />
<br />
* Organizing your movies in single folders for each movie, rather than all movies in one folder, is recommended. The individual folders reduce the time it takes for Kodi to look for supporting media like external subtitles, which makes browsing, scanning and starting playback a little faster. You might also want to consider pre-scraping the meta data using a '''[[Library manager]]''' to reduce the time it takes to scan in both movies and TV shows.<br />
<br />
* [http://forum.kodi.tv/showthread.php?tid=222498 For Raspberry Pi units with only 256MB of RAM, see this thread].<br />
<section end="performance" /><br />
<br />
== Remote controls ==<br />
[[File:gpioir.png|right|250px|thumb|Wiring instructions for a TSOP4838 GPIO IR sensor.]]<br />
;GPIO IR receiver<br />
:Don't have a CEC TV or a smartphone remote? For less than a dollar/euro, you can add an IR receiver to your Raspberry Pi that works with most MCE and Apple remotes (and a few others). Most Kodi install options for the Pi should work with the GPIO IR out of the box, or by enabling a setting from within Kodi. Go to a local electronics store or search on eBay for "<code>TSOP4838</code>" and use some simple jumper wires (or solder the pins directly, if you wish). ''<small>(We need a link to a good, up to date GPIO IR guide. Most of the links I found are outdated and contain instructions for additional configurations that are no longer required. If you find a good link/guide, please add it to the wiki.)</small>''<br />
<br />
:If you are using '''[[OpenELEC]]''', just add this to your config.txt file ''(full help page '''[http://wiki.openelec.tv/index.php?title=Guide_To_lirc_rpi_GPIO_Receiver here]''')'': <br />
::<pre>dtoverlay=lirc-rpi</pre><br />
<br />
:The default GPIO pin used is 18. This can be changed by using the following<br />
::<pre>dtoverlay=lirc-rpi,gpio_in_pin=18</pre><br />
:Where <code>pin=18</code> would be changed to whatever GPIO pin number you would rather use.<br />
<br />
:If you are using '''[[OSMC]]''', just go to My OSMC -> Pi Configuration and enable 'GPIO IR remote support' and click OK. A reboot will be required. You can also select from a list of remote presets from My OSMC -> Remotes to ensure that all buttons are working correctly. There is also an official OSMC remote which also works on other distributions.<br />
<br />
;[[CEC]]<br />
:If your TV supports '''[[CEC]]''', you should be able to use the remote control that came with your TV to control Kodi. The remote control signals are sent over the HDMI cable and most often don't require any further settings or configuration.<br />
<br />
;[[MCE remotes]]<br />
:Various '''MCE''' USB receivers and remotes will work on the Pi.<br />
<br />
;[[Keyboards]] and mice<br />
:Any '''[[keyboard]]''' such as wired, wireless, bluetooth. This includes remotes that are seen as keyboards, such as Rii remotes, the Mele F10-Pro remote, or the (very awesome) '''[[Flirc]]'''.<br />
<br />
;[[Smartphone/tablet remotes]]<br />
:Use your smartphone or tablet as a remote control.<br />
<br />
;[[Web interface]]s<br />
:Control Kodi from anything that has a web browser.<br />
{{-}}<br />
<br />
== Further reading ==<br />
* [http://raspberrypi.org RaspberryPi.org]<br />
* [http://elinux.org/RaspberryPiBoard Raspberry Pi Hub Wiki]<br />
* [http://lea-linux.org/documentations/Raspberry_Pi Raspberry Pi French Wiki]<br />
* [[Wikipedia:Raspberry Pi]]<br />
<br />
== Random notes ==<br />
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}<br />
* Notes for using a Pi with a GPIO touch screen:<br />
** http://forum.kodi.tv/showthread.php?tid=222880&pid=2000331#pid2000331<br />
** http://markamc.traki-iski.co.uk/raspberry-pixbian-egalax-touchscreen/ <br />
** http://arendwierks.blogspot.nl/p/touchscreen-fix-raspberry-pi-xbmc-kodi.html<br />
<br />
* Add-on for turning off the HDMI port when idle: https://github.com/timker/kodi.screensaver.pimon<br />
* <br />
<br />
{{Updated|16}}<br />
<br />
[[Category:Linux]]<br />
[[Category:HTPC]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Broadcom]]<br />
[[Category:ARM]]</div>Nazarkohttps://kodi.wiki/index.php?title=HOW-TO:Install_Kodi_on_Raspberry_Pi&diff=124472HOW-TO:Install Kodi on Raspberry Pi2016-09-25T11:37:11Z<p>Nazarko: Update OSMC links</p>
<hr />
<div>{{mininav|[[Raspberry Pi]]|page={{FULLPAGENAME}} }}<br />
The basic hardware you will need is <br />
* the R-Pi board itself<br />
* a power supply (Micro-USB, 5V, 1200 mA)<br />
* a SDHC memory card to install the software. (Because video decoding is more resource-intensive than many other operations, it may be more important to have a fast/high quality memory card for Kodi than for other uses.)<br />
<br />
:''See also: [[Raspberry Pi FAQ]]''<br />
<br />
== Basic options ==<br />
<br />
<section begin="install"/><br />
;Easy / Kodi centric distributions<br />
* '''[[LibreELEC]] -''' [https://libreelec.tv/download-temp/ Download] • [http://wiki.libreelec.tv Wiki] • [http://forum.libreelec.tv Forum]<br />
<br />
* '''[[OpenELEC]] -''' [http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi Installing] • [http://wiki.openelec.tv/index.php?title=Raspberry_Pi_FAQ FAQ] • [http://openelec.tv/forum/124-raspberry-pi Help forum]<br />
<br />
* '''[[OSMC]] -''' [https://osmc.tv/ Home] [https://osmc.tv/download/ Installing] • [https://osmc.tv/wiki Wiki] • [https://discourse.osmc.tv Support Forum] <br />
<br />
* '''[[XBian]] -''' [http://xbian.org/getxbian/ Installing] • [http://xbian.org/faq/ FAQ] • [http://xbian.org/getting-started/ Starters guide] • [http://forum.xbian.org/ Forum]<br />
<br />
<br />
;Advanced / can be used with Kodi<br />
* '''Raspbian -''' <s>Up-to-date</s> versions '''(only up to version 15.2)''' of Kodi are now on the default Raspbian repositories. See '''[[HOW-TO:Install Kodi on Raspberry Pi#Raspbian|full guide here]]''' (Version 16.1 is at the moment only available in Raspbian testing.)<br />
<br />
* '''CarPC -''' [http://www.engineering-diy.blogspot.ro/2015/01/raspberrypi-carpc-tutorial.html Guide]<br />
<br />
* '''TriPi -''' Kodi, RetroPie, and a Rapbian desktop environment, in all one image with full Xbox360 controller support. (Xbox One controllers not supported yet) [https://tripi.junaos.com Guide]<br />
<br />
* '''RetroPie - ''' See '''[[HOW-TO:Install Kodi on Raspberry Pi#RetroPie|full guide here]]'''<br />
<br />
* '''Recalbox -''' [http://www.recalbox.com/diyrecalbox Installing] <small>''('''note:''' game controllers currently don't work in Kodi, so an additional remote or keyboard is needed)''</small><br />
<br />
* '''Arch Linux ARM -''' [http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2 RPi2] • [http://archlinuxarm.org/platforms/armv6/raspberry-pi RPi1]<br />
<br />
* '''[[Buildroot]]''' - For experimented users only !<br />
<section end="install"/><br />
<br />
== Specific install guides ==<br />
For installs that don't directly include and/or boot into Kodi automatically.<br />
<br />
=== Raspbian ===<br />
{{editor note|We need to expand on this section, but here are the basic commands if you are familiar with the command-line:}}<br />
<br />
'''(only up to version 15.2)'''<br />
<br />
<pre><br />
sudo apt-get update<br />
sudo apt-get install kodi<br />
</pre><br />
<br />
;Alternative source<br />
* You can also download Kodi from http://michael.gorven.za.net<br />
* Pplware has a build of 16.1 for Raspbian, see https://www.raspberrypi.org/forums/viewtopic.php?p=832735#p832735 and https://mtantawy.com/quick-tip-how-to-update-to-latest-kodi-16-jarvis-on-raspberry-pi/#comment-80<br />
<br />
=== RetroPie ===<br />
Here's a [https://www.youtube.com/watch?v=MyeCQS7ITnU youtube guide]:<br /><br />
{{youtube|MyeCQS7ITnU}}<br />
<br />
== Compiling Kodi ==<br />
Notes for advanced users who wish to try and build Kodi from source code.<br />
* Various good notes mentioned here: http://not-guild.de/temp/kodi.txt<br />
<br />
{{updated|16}}<br />
<br />
[[Category:Manual]]<br />
[[Category:Installation|Raspberry Pi]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:How-to]]</div>Nazarkohttps://kodi.wiki/index.php?title=Archive:Install_XBMC_on_Apple_TV_1_(Linux)&diff=101768Archive:Install XBMC on Apple TV 1 (Linux)2015-10-12T01:03:32Z<p>Nazarko: </p>
<hr />
<div>{{mininav|[[Apple TV 1]] }}<br />
<br />
{{BCHD}}<br />
<br />
Apple TV 1 (silver) is no longer available from Apple, but can be purchased from alternative sources (eBay, kijiji, craigslist, etc.).<br />
<br />
'''It is highly recommended that you [http://rufn.it/aTV/ replace] the WiFi card with a [[Broadcom Crystal HD]] to enable playback of HD videos.'''<br />
<br />
== Before installing a replacement OS ==<br />
{{ATV1 linux warning}}<br />
<br />
== OSMC ==<br />
:''See also: '''[[OSMC]]'''''<br />
{{#lst:Crystalbuntu|intro}}<br />
<br />
OSMC (Open Source Media Center) is a free and open source media player based on Linux and founded in 2014 that lets you play back media from your local network, attached storage and the Internet. OSMC is the leading media center in terms of feature set and community and is based on the Kodi project. It's simple and easy to use; free and open source and has automatic updates and an App Store. <br />
<br />
OSMC can be installed on an Apple TV using easy to use installers for Linux, Mac and Windows here: ''' https://osmc.tv/download'''. OSMC is officially supporting Apple TV (1st Generation) and CrystalHD hardware acceleration until at least 2017.<br />
== OpenELEC ==<br />
:''See also: '''[[OpenELEC]]'''''<br />
OpenELEC is a fully-featured but highly optimized Linux OS created solely to run XBMC on the mk1 AppleTV and other HTPC systems. OpenELEC provides a set-top-box like XBMC experience; with a controlled Linux environment that puts simplicity, reliability and performance ahead of the users ability to tweak/customize (and break) the underlying OS. OpenELEC can be installed to a USB stick or the internal hard drive; allowing you to run an optimised XBMC installation alongside the original Apple OS or replace it completely.<br />
<br />
OpenELEC has an excellent guide for installing on mk1 Apple TV's here: '''[http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_AppleTV Installing OpenELEC on AppleTV]'''<br />
<br />
[[Category:Apple TV 1]]</div>Nazarkohttps://kodi.wiki/index.php?title=Template:BCHD&diff=101767Template:BCHD2015-10-12T00:58:42Z<p>Nazarko: </p>
<hr />
<div>{{warning|1=Starting in Kodi v14, support for the '''[[BCHD]]''' is being dropped from the software. <br />
<br />
'''''Apple TV 1''''' users can use these modified/unofficial versions:<br />
<br />
*OpenELEC- '''[http://chewitt.openelec.tv/appletv/ here]'''<br />
*OSMC - '''[https://osmc.tv/download here]'''}}<br />
<noinclude>[[Category:Template messages]]</noinclude></div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=101449OSMC2015-09-23T14:54:53Z<p>Nazarko: Updated Wiki links</p>
<hr />
<div>{{mininav|[[General topics]]{{l2|[[Devices]]}}|[[Installing]]{{l2|[[Linux]]}}}}<br />
<section begin="intro" />OSMC (short for Open Source Media Center) is a Linux distribution based on Debian that brings Kodi to a variety of devices. It is the successor to Raspbmc and Crystalbuntu. <section end="intro" /><br />
<br />
= OSMC = <br />
<br />
OSMC is an embedded, minimal, self updating Linux distributing which ships a Kodi front-end for a [https://osmc.tv/wiki/general/supported-devices/ variety of devices]. The project was founded by Sam Nazarko in 2014 and is maintained by a group of volunteers in their spare time.<br />
<br />
== OSMC features ==<br />
<br />
* OSMC is a simple and easy to use OS. It is based on Debian, which means that it has over 30,000 packages available in its repositories which makes it very expansive.<br />
* OSMC is quick to install. Set up an excellent HTPC experience in just minutes. <br />
* OSMC is self-updating, which means it keeps getting better each month.<br />
* OSMC has an applications store which makes adding new features to expand your HTPC experience simple. <br />
<br />
You can learn more about OSMC and its capabilities at https://osmc.tv/about/. Why not give it a try?<br />
<br />
== Obtaining OSMC ==<br />
<br />
OSMC can be downloaded for all supported platforms on their official Download page [https://osmc.tv/download here]. On Raspberry Pi, OSMC can also be installed via the 'NOOBS' (New Out of Box Software) installer. OSMC recommends users download and install directly from the OSMC website where possible.<br />
<br />
The OSMC web page features a GUI based utility to download and install OSMC on to a variety of platforms. This utility can be run on Windows, Mac OS X and Linux based computers. <br />
<br />
OSMC ships reasonably up to date images on their website, but it is recommended that you go to My OSMC -> Updater and install updates after installation.<br />
<br />
== Getting help ==<br />
<br />
OSMC provides several resources to get help and support:<br />
<br />
* [https://osmc.tv/wiki The OSMC Wiki]<br />
* [https://discourse.osmc.tv The OSMC Forums]<br />
* [http://webchat.freenode.net/?channels=osmc #OSMC on the Freenode IRC Network]<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=Archive:Raspberry_Pi_FAQ&diff=97862Archive:Raspberry Pi FAQ2015-06-22T23:31:26Z<p>Nazarko: Change Raspbmc to OSMC for codec key install information</p>
<hr />
<div>{{XBMC FAQ}}<br />
{{mininav|[[Raspberry Pi]] }}<br />
'''F'''requently '''A'''sked '''Q'''uestions Kodi running on the '''[[Raspberry Pi]]'''.<br />
<br />
__TOC__<br />
{{-}}<br />
<br />
== General FAQ ==<br />
:<big>''See also: '''[[XBMC all platforms FAQ]]''' for FAQs that apply to all versions of Kodi.''</big><br />
{| width="100%"<br />
<!--{{FAQ|1=doesitblend<br />
| BGcolor=<br />
| Question= How well does it work?<br />
| Answer=<br />
* {{editor note|short write up on general feel/limitations? Maybe also link to more "in-depth"/longer write-ups/reviews?}}<br />
}}--><br />
<br />
{{FAQ|1=Install<br />
| BGcolor= WhiteSmoke<br />
| Question= Installing Kodi (for Linux) on the Raspberry Pi<br />
| Answer=<br />
{{main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
{{#lst:HOW-TO:Install Kodi on Raspberry Pi|install}}<br />
}}<br />
<br />
{{FAQ|1=Version<br />
| BGcolor= WhiteSmoke<br />
| Question= Can I run Kodi for Android on Raspberry Pi?<br />
| Answer=<br />
* Sort answer is no. There are current no full featured versions of the [[Android|Android operating-system]] that work on Raspberry Pi (first-generation) or Raspberry Pi 2. If and when the [[w:Raspberry Pi Foundation|Raspberry Pi Foundation]] released a full featured versions of Android for Raspberry Pi, (which if ever it probably only will for the newer Raspberry Pi 2), then in theory Kodi for Android should just work on it. This will however depend on they by the meaning of "''full featured''" fulfill all the Android API requirements that Kodi needs to fully function properly.<br />
}}<br />
<br />
{{FAQ|1=Version<br />
| BGcolor= WhiteSmoke<br />
| Question= Can I run Kodi for Windows on Raspberry Pi?<br />
| Answer=<br />
* No. There are no full featured versions of the [[Windows|Windows operating-system]] that work on Raspberry Pi (first-generation) or Raspberry Pi 2, and there probably never will be. Microsoft have a released an IoT (Internet of Things) version of Windows 10 for Raspberry Pi 2, and by definition that IoT version is not a full featured versions of Windows which is what Kodi for Windows would need to run on the Raspberry Pi.}}<br />
<br />
{{FAQ|1=Version<br />
| BGcolor= <br />
| Question= Is Kodi for Raspberry Pi different from normal Kodi?<br />
| Answer=<br />
* The current stable version of Kodi for Raspberry Pi is {{current version}}. This is the same code that all of the other platforms (Linux, iOS, Mac OS X, Windows, etc) are using.<br />
* There are two acceleration options on the Pi. "omxplayer" runs much of the player logic on the gpu which is highest performance option and can handle raw Blu-Ray quality videos. It does not support DVD menus or ALSA audio.<br />
* "MMAL" acceleration uses dvdplayer with hardware acceleration of the video codec. Performance is a little lower than omxplayer, but should still handle most 1080p content.<br />
* By default both are enabled, and omxplayer acceleration will be disabled when not appropriate (i.e. DVDs with menus or when ALSA audio is enabled).<br />
* If you don't play raw Blu-Ray quality videos then disabling omxplayer acceleration is an option which some users may prefer. <br />
}}<br />
<br />
{{FAQ|1=Current_build<br />
| BGcolor= WhiteSmoke<br />
| Question= How do I find out what version of Kodi am I running?<br />
| Answer=<br />
* Kodi main menu > System > Lower submenu > System info. '''Note the build date.'''<br />
}}<br />
<br />
{{FAQ|1=Formats<br />
| BGcolor= <br />
| Question= Video and audio formats the Raspberry Pi can playback<br />
| Answer=<br />
* H.264 (up to High Profile) encoded videos are supported up to 1080P using hardware video decoding. ''Note: [[Hi10P]] will not work.''<br />
* MPEG-4 encoded videos are supported up to 1080P using hardware video decoding. This includes XviD and recent versions on DivX (but not the older 3.xx DivX).<br />
* The Raspberry Pi Foundation offers additional video codec licenses for a few dollars. At the moment you can purchase MPEG-2 and VC1, both with support up to 1080P. Read [[#Enabling_additional_video_codecs|below]] on how to enable these.<br />
* MJPEG, VP6, VP8 and OGG Theora are supported as GPU accelerated software decoders. These are limited to DVD resolutions.<br />
* Codecs without gpu support like DivX 3, msmpeg and sorenson spark will be decoded by dvdplayer on the ARM. Should work for SD resolutions.<br />
* DVD ISOs with menus should work fine (using dvdplayer).<br />
* Software DTS audio decode works well in recent builds. TrueHD audio is CPU intensive and may require overclocking.<br />
}}<br />
<br />
{{FAQ|1=Output<br />
| BGcolor= WhiteSmoke<br />
| Question= Video and audio output on the Raspberry Pi<br />
| Answer=<br />
* Video output via HDMI up to 1080P. The GUI is 1080p by default, but can be reduced in video settings without affecting video resolution.<br />
* Video output via the analog component video (RCA) jack will be in SD.<br />
* Analog audio output via the mini phone jack is supported.<br />
* I2S and USB ALSA audio cards are supported with {{current version}} builds. omxplayer acceleration is not available (it will be disabled automatically). <br />
* DTS and AC3 audio passthrough audio is supported (and recommended, as it will reduce CPU load on the R-Pi)<br />
}}<br />
<br />
{{FAQ|1=Multichannel_Audio<br />
| BGcolor= WhiteSmoke<br />
| Question= How about multichannel audio support?<br />
| Answer=<br />
* By default audio is downmixed to stereo.<br />
* If your receiver/TV supports DTS or AC3 passthrough then enable these in audio settings and you will get 6 channel audio.<br />
* Multichannel PCM audio is supported over HDMI. Note: not all receivers support this and toslink/optical will not.<br />
* Enable by setting the speaker configuration to suitable value (e.g. 5.1 or 7.1).<br />
* If your recevier does not support multichannel PCM, then leave this at 2.0. You can still get multichannel audio through passthrough.<br />
}}<br />
<br />
{{FAQ|1=Extra_codecs<br />
| BGcolor= <br />
| Question= Enabling additional video codecs<br />
| Answer=<br />
You can buy additional video codecs (VC-1 - used in some bluray discs, and MPEG-2) from the [http://www.raspberrypi.com/license-keys/ Raspberry Pi Foundation online shop]. After purchase the keys are emailed to you, looking like this (invalid keys used for example):<br />
<br />
<pre>decode_MPG2=0x1cc591c7<br />
decode_WVC1=0x8aa09876</pre><br />
<br />
In order to enable additional video codecs you should modify ''/boot/config.txt'' and add these lines literally. The method may vary per distribution:<br />
<br />
* Manual: Open ''/boot/config.txt'' with a text editor like nano or vi, and add the keys.<br />
* [[XBian]]: You can add/remote your keys using [http://xbian.org/getting-started/configuring-xbian/ XBian-config]. After reboot your keys will be entered and ready to use.<br />
* [[OSMC]]: Go in to My OSMC -> Pi Config. Navigate to Codecs and enter your keys with the on-screen keyboard. After a reboot your keys will be entered and ready to use.<br />
* [[OpenELEC]]: Type <code>mount /flash -o remount,rw</code> to remount the boot partition in read/write mode. The file to edit is located in ''/flash/config.txt'', and contains stubs for the license keys. Add the keys using nano or vi. There is also an unofficial [http://openelec.tv/forum/124-raspberry-pi/68533 add-on] which can be used to enter the codec information.<br />
}}<br />
<br />
{{FAQ|1=Media<br />
| BGcolor= WhiteSmoke<br />
| Question= Accessing media<br />
| Answer=<br />
{{See also|Adding videos to the library|File sharing}}<br />
* You can connect to media that's being shared from a computer, HTPC, or NAS device on your local network.<br />
* You can access media on the main SD card or from the USB ports (hard drives, USB stick drives, hubs, all supported).<br />
}}<br />
<br />
{{FAQ|1=Add-ons|2=Skins<br />
| BGcolor= <br />
| Question= Add-ons and skins<br />
| Answer=<br />
* Kodi for Raspberry Pi is a full version of Kodi and will be able to use all non-platform specific [[add-ons]] and [[skins]]. More feature rich (CPU demanding) skins might not run smoothly, so keep to "lighter" skins.<br />
* Recommended lite skins include: Confluence (default skin), Amber, Metropolis, Quartz, Quartz Reloaded, Slik, xTV-SAF. Aeon Nox 5 is quite usable.<br />
}}<br />
<br />
{{FAQ|1=Shutdown<br />
| BGcolor= WhiteSmoke<br />
| Question= How to properly shutdown/disconnect<br />
| Answer=<br />
* It is not possible to use traditional "shutdown" on the Raspberry Pi. The only way to power it off is to disconnect the power. <br />
* ALWAYS select the shutdown command in Kodi before powering off the Raspberry Pi. Failure to do so can corrupt the Kodi library databases, other databases, or even other OS files.<br />
* Most users leave the Raspberry Pi on all the time, as it uses very little power (the cost of electricity for a year is about the price of a hamburger).<br />
}}<br />
<br />
{{FAQ|1=Remotes<br />
| BGcolor= <br />
| Question= Remotes for Raspberry Pi<br />
| Answer=<br />
{{see|Raspberry Pi#Remote controls}}<br />
}}<br />
<br />
{{FAQ|1=MySQL<br />
| BGcolor= WhiteSmoke<br />
| Question= MySQL library sharing<br />
| Answer=<br />
* If you are using [[MySQL]] library sharing features, please note that your library will only sync with the Raspberry Pi if all your other Kodi instances are running the same version ([[#Current_build|how to check your version]]).<br />
}}<br />
|}<br />
<br />
== Troubleshooting ==<br />
{{see also|Troubleshooting}}<br />
{| width="100%"<br />
<br />
{{FAQ|1=Forum|2=IRC<br />
| BGcolor=<br />
| Question= Getting more help with Kodi for Raspberry Pi<br />
| Answer=<br />
* '''[http://forum.kodi.tv/forumdisplay.php?fid=166 Kodi for Raspberry Pi specific help forum]'''<br />
* '''[irc://irc.freenode.org/xbmc-rpi #xbmc-rpi]''' [[w:IRC|IRC]] chat channel on irc.freenode.org.<br />
* '''[http://webchat.freenode.net/?channels=xbmc-rpi #xbmc-rpi]''' [[w:IRC|IRC]] channel on Freenode (Webchat)<br />
* '''[http://webchat.freenode.net/?channels=openelec #openelec]''' OpenELEC [[w:IRC|IRC]] support on Freenode (Webchat)<br />
* '''[http://webchat.freenode.net/?channels=xbian #xbian]''' XBian [[w:IRC|IRC]] support on Freenode (Webchat)<br />
* '''[http://webchat.freenode.net/?channels=osmc #osmc]''' OSMC [[w:IRC|IRC]] support on Freenode (Webchat)<br />
* Also see the individual Kodi/OS distribution documentation and support forums noted '''[[Raspberry Pi/FAQ#Install|above]]'''.<br />
* For general Raspberry Pi info and help be sure to see http://raspberrypi.org and the very excellent '''[http://elinux.org/R-Pi_Hub Raspberry Pi Wiki]'''<br />
}}<br />
<br />
{{FAQ|1=Logs|2=Userdata|3=logs<br />
| BGcolor= WhiteSmoke<br />
| Question= Userdata folder and logs<br />
| Answer=<br />
:''See '''[[How-to:Submit a proper bug report]]''' for bug reporting details and '''[[Debug log]]''' for how to post the debug log.''<br />
* [[Userdata folder]]:<br />
** OpenELEC: {{highlight|/storage/.kodi/userdata/}}<br />
** OSMC: {{highlight|/home/osmc/.kodi/userdata/}}<br />
** XBian: {{highlight|/home/xbian/.kodi/userdata/}}<br />
* [[Debug log]]: <br />
** OpenELEC: {{highlight|/storage/.kodi/temp/kodi.log}}<br />
** OSMC: {{highlight|/home/osmc/.kodi/temp/kodi.log}}. On OSMC, a Debug log can be uploaded via My OSMC -> Log Uploader.<br />
** XBian: {{highlight|/home/xbian/.kodi/temp/kodi.log}}<br />
}}<br />
<br />
{{FAQ|1=Language<br />
| BGcolor=<br />
| Question= Wrong language displayed in Kodi<br />
| Answer=<br />
* If you're getting a different language displayed in Kodi than the one you've set in {{highlight|bordered=yes|[[Settings/Appearance#International|Settings -> Appearance -> International]]}}, it could be caused by your TV's language settings over [[CEC]]. <br />
* Go into {{highlight|bordered=yes|[[Settings/System#Input devices|Settings -> System -> Input devices -> Peripherals -> RasPi CEC module -> Use TV's language]]}} and set to off.<br />
}}<br />
<br />
{{FAQ|1=Issues<br />
| BGcolor= WhiteSmoke<br />
| Question= Raspberry Pi known issues<br />
| Answer=<br />
{{#lst:Frodo issues|Raspberry Pi}}<br />
}}<br />
<br />
{{FAQ|1=Buffering|2=Performance<br />
| BGcolor= <br />
| Question= Performance: video buffering, stuttering, choppiness <br />
| Answer=<br />
{{main|Raspberry Pi#Maximizing performance}}<br />
{{#lst:Raspberry Pi|performance}}<br />
}}<br />
<br />
{{FAQ|1=Memory Usage<br />
| BGcolor= WhiteSmoke<br />
| Question= Memory usage (especially with 256M Pi)<br />
| Answer=<br />
* gpu_mem should be set to 128M on a Pi1, 256M on a Pi2. On a 256M Pi1 it is recommended to set it to 112M. On a 512M Pi1 it may be worth increasing this if you are running heavy skins or if you want to increase the default fanart resolution or colour depth. 256M should be more than enough on a Pi1, although 320M on a Pi2 may be appropriate if using higher resolution imageres/fanartres and also higher colour.<br />
* A 256M Pi is quite short on memory. Be careful with running other apps in the background (e.g. torrents) or installing add-ons that consume memory.<br />
* The default cachemembuffersize will be 2M for a 256M Pi, and 20M for a 512M Pi1/Pi2. You can use 0 to cache to sdcard.<br />
* Reducing the "GUI resolution limit" (e.g. to 720p) in settings/system/video will save memory. This is a default on a 256M Pi. Video will still play at full resolution (e.g. 1080p).<br />
* Enabling "higher colour depth artwork" will use more memory. It should be disabled on 256M Pi.<br />
* Reducing imageres/fanartres will reduce memory usage.<br />
}}<br />
<br />
{{FAQ|1=TV is not detected unless powered on first<br />
| BGcolor=<br />
| Question=TV is not detected unless powered on first<br />
| Answer=<br />
* Some TVs/receivers only report their capabilities (EDID) through HDMI when powered on before the Pi.<br />
* If TV doesn't get the right resolution or CEC doesn't work when Pi is powered before the TV/receiver then you can:<br />
* Run: <code>sudo tvservice -d edid.dat</code> (after booting with TV/receiver powered on first)<br />
* copy the edid.dat to the FAT partition (/boot on raspbmc and /flash on openelec)<br />
* and add to config.txt: <code>hdmi_edid_file=1</code> and <code>hdmi_force_hotplug=1</code><br />
* Note: if you change TV/receiver or use a different HDMI input you should capture a new edid.dat file<br />
}}<br />
<br />
{{FAQ|1=Videos don't play from archives<br />
| BGcolor= WhiteSmoke<br />
| Question=Videos don't play from archives<br />
| Answer=<br />
* When browsing, any archives need to be extracted to identify the content. This can be very slow and even cause out-of-memory crashes with large archive files.<br />
* On the Pi this is now optional (enabled by default), enable or disable with: {{highlight|bordered=yes|[[Settings/Appearance#File lists|Settings -> Appearance -> File lists -> Support browsing into archives]]}}<br />
* If your library does contain rar files, beware of disabling - you may need to rescan library after enabling again. Also note that subitles in rar won't work when disabled. <br />
* Note: using rar files doesn't save any space as video files are already highly compressed, so just extracting them would be the preferred solution.<br />
}}<br />
<br />
{{FAQ|1=Coloured square appears on screen<br />
| BGcolor=<br />
| Question=Coloured square appears on screen<br />
| Answer=<br />
* A coloured square may appear in the top right corner of screen to warn you of problems that should be remedied.* More info [http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=82373 here].<br />
* A multicoloured square means the voltage is too low. You should try a better power supply or cable between power supply and Pi (Note: under-voltage detection is only supported on B+ and Pi 2) <br />
* A red square means temperature is high (85'C) and overclock has been disabled. This is pretty rare, but can occur in a hot environment, with a case with no ventilation and with the Pi on hot equipment.<br />
}}<br />
<br />
{{FAQ|1=Audio or video dropouts on HDMI<br />
| BGcolor= WhiteSmoke<br />
| Question=Audio or video dropouts on HDMI<br />
| Answer=<br />
* If the dropouts only occur when playing video with "adjust display refresh rate to match video" enabled, then try adding hdmi_clock_change_limit=20 to config.txt<br />
* If the dropouts occur when cpu is busy (e.g. scrolling through library) then an insufficient power supply is most likely. <br />
* If the dropouts occur randomly, or you have interference visible, then try config_hdmi_boost from [http://elinux.org/R-Pi_Troubleshooting#Troubleshooting_power_problems here]<br />
}}<br />
<br />
<br />
{{Helix updated}}<br />
<br />
[[Category:Manual]]<br />
[[Category:FAQ]]<br />
[[Category:Troubleshooting]]</div>Nazarkohttps://kodi.wiki/index.php?title=Archive:Raspberry_Pi_FAQ&diff=97861Archive:Raspberry Pi FAQ2015-06-22T23:30:07Z<p>Nazarko: Update Raspbmc -> OSMC</p>
<hr />
<div>{{XBMC FAQ}}<br />
{{mininav|[[Raspberry Pi]] }}<br />
'''F'''requently '''A'''sked '''Q'''uestions Kodi running on the '''[[Raspberry Pi]]'''.<br />
<br />
__TOC__<br />
{{-}}<br />
<br />
== General FAQ ==<br />
:<big>''See also: '''[[XBMC all platforms FAQ]]''' for FAQs that apply to all versions of Kodi.''</big><br />
{| width="100%"<br />
<!--{{FAQ|1=doesitblend<br />
| BGcolor=<br />
| Question= How well does it work?<br />
| Answer=<br />
* {{editor note|short write up on general feel/limitations? Maybe also link to more "in-depth"/longer write-ups/reviews?}}<br />
}}--><br />
<br />
{{FAQ|1=Install<br />
| BGcolor= WhiteSmoke<br />
| Question= Installing Kodi (for Linux) on the Raspberry Pi<br />
| Answer=<br />
{{main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
{{#lst:HOW-TO:Install Kodi on Raspberry Pi|install}}<br />
}}<br />
<br />
{{FAQ|1=Version<br />
| BGcolor= WhiteSmoke<br />
| Question= Can I run Kodi for Android on Raspberry Pi?<br />
| Answer=<br />
* Sort answer is no. There are current no full featured versions of the [[Android|Android operating-system]] that work on Raspberry Pi (first-generation) or Raspberry Pi 2. If and when the [[w:Raspberry Pi Foundation|Raspberry Pi Foundation]] released a full featured versions of Android for Raspberry Pi, (which if ever it probably only will for the newer Raspberry Pi 2), then in theory Kodi for Android should just work on it. This will however depend on they by the meaning of "''full featured''" fulfill all the Android API requirements that Kodi needs to fully function properly.<br />
}}<br />
<br />
{{FAQ|1=Version<br />
| BGcolor= WhiteSmoke<br />
| Question= Can I run Kodi for Windows on Raspberry Pi?<br />
| Answer=<br />
* No. There are no full featured versions of the [[Windows|Windows operating-system]] that work on Raspberry Pi (first-generation) or Raspberry Pi 2, and there probably never will be. Microsoft have a released an IoT (Internet of Things) version of Windows 10 for Raspberry Pi 2, and by definition that IoT version is not a full featured versions of Windows which is what Kodi for Windows would need to run on the Raspberry Pi.}}<br />
<br />
{{FAQ|1=Version<br />
| BGcolor= <br />
| Question= Is Kodi for Raspberry Pi different from normal Kodi?<br />
| Answer=<br />
* The current stable version of Kodi for Raspberry Pi is {{current version}}. This is the same code that all of the other platforms (Linux, iOS, Mac OS X, Windows, etc) are using.<br />
* There are two acceleration options on the Pi. "omxplayer" runs much of the player logic on the gpu which is highest performance option and can handle raw Blu-Ray quality videos. It does not support DVD menus or ALSA audio.<br />
* "MMAL" acceleration uses dvdplayer with hardware acceleration of the video codec. Performance is a little lower than omxplayer, but should still handle most 1080p content.<br />
* By default both are enabled, and omxplayer acceleration will be disabled when not appropriate (i.e. DVDs with menus or when ALSA audio is enabled).<br />
* If you don't play raw Blu-Ray quality videos then disabling omxplayer acceleration is an option which some users may prefer. <br />
}}<br />
<br />
{{FAQ|1=Current_build<br />
| BGcolor= WhiteSmoke<br />
| Question= How do I find out what version of Kodi am I running?<br />
| Answer=<br />
* Kodi main menu > System > Lower submenu > System info. '''Note the build date.'''<br />
}}<br />
<br />
{{FAQ|1=Formats<br />
| BGcolor= <br />
| Question= Video and audio formats the Raspberry Pi can playback<br />
| Answer=<br />
* H.264 (up to High Profile) encoded videos are supported up to 1080P using hardware video decoding. ''Note: [[Hi10P]] will not work.''<br />
* MPEG-4 encoded videos are supported up to 1080P using hardware video decoding. This includes XviD and recent versions on DivX (but not the older 3.xx DivX).<br />
* The Raspberry Pi Foundation offers additional video codec licenses for a few dollars. At the moment you can purchase MPEG-2 and VC1, both with support up to 1080P. Read [[#Enabling_additional_video_codecs|below]] on how to enable these.<br />
* MJPEG, VP6, VP8 and OGG Theora are supported as GPU accelerated software decoders. These are limited to DVD resolutions.<br />
* Codecs without gpu support like DivX 3, msmpeg and sorenson spark will be decoded by dvdplayer on the ARM. Should work for SD resolutions.<br />
* DVD ISOs with menus should work fine (using dvdplayer).<br />
* Software DTS audio decode works well in recent builds. TrueHD audio is CPU intensive and may require overclocking.<br />
}}<br />
<br />
{{FAQ|1=Output<br />
| BGcolor= WhiteSmoke<br />
| Question= Video and audio output on the Raspberry Pi<br />
| Answer=<br />
* Video output via HDMI up to 1080P. The GUI is 1080p by default, but can be reduced in video settings without affecting video resolution.<br />
* Video output via the analog component video (RCA) jack will be in SD.<br />
* Analog audio output via the mini phone jack is supported.<br />
* I2S and USB ALSA audio cards are supported with {{current version}} builds. omxplayer acceleration is not available (it will be disabled automatically). <br />
* DTS and AC3 audio passthrough audio is supported (and recommended, as it will reduce CPU load on the R-Pi)<br />
}}<br />
<br />
{{FAQ|1=Multichannel_Audio<br />
| BGcolor= WhiteSmoke<br />
| Question= How about multichannel audio support?<br />
| Answer=<br />
* By default audio is downmixed to stereo.<br />
* If your receiver/TV supports DTS or AC3 passthrough then enable these in audio settings and you will get 6 channel audio.<br />
* Multichannel PCM audio is supported over HDMI. Note: not all receivers support this and toslink/optical will not.<br />
* Enable by setting the speaker configuration to suitable value (e.g. 5.1 or 7.1).<br />
* If your recevier does not support multichannel PCM, then leave this at 2.0. You can still get multichannel audio through passthrough.<br />
}}<br />
<br />
{{FAQ|1=Extra_codecs<br />
| BGcolor= <br />
| Question= Enabling additional video codecs<br />
| Answer=<br />
You can buy additional video codecs (VC-1 - used in some bluray discs, and MPEG-2) from the [http://www.raspberrypi.com/license-keys/ Raspberry Pi Foundation online shop]. After purchase the keys are emailed to you, looking like this (invalid keys used for example):<br />
<br />
<pre>decode_MPG2=0x1cc591c7<br />
decode_WVC1=0x8aa09876</pre><br />
<br />
In order to enable additional video codecs you should modify ''/boot/config.txt'' and add these lines literally. The method may vary per distribution:<br />
<br />
* Manual: Open ''/boot/config.txt'' with a text editor like nano or vi, and add the keys.<br />
* [[XBian]]: You can add/remote your keys using [http://xbian.org/getting-started/configuring-xbian/ XBian-config]. After reboot your keys will be entered and ready to use.<br />
* [[Raspbmc]]: Navigate to {{highlight|Programs -> Raspbmc Settings -> System Configuration -> MPEG2 codec license/VC1 codec key}}. Enter your keys with the onscreen keyboard then Kodi will prompt you to reboot. After reboot your keys will be entered and ready to use.<br />
* [[OpenELEC]]: Type <code>mount /flash -o remount,rw</code> to remount the boot partition in read/write mode. The file to edit is located in ''/flash/config.txt'', and contains stubs for the license keys. Add the keys using nano or vi. There is also an unofficial [http://openelec.tv/forum/124-raspberry-pi/68533 add-on] which can be used to enter the codec information.<br />
}}<br />
<br />
{{FAQ|1=Media<br />
| BGcolor= WhiteSmoke<br />
| Question= Accessing media<br />
| Answer=<br />
{{See also|Adding videos to the library|File sharing}}<br />
* You can connect to media that's being shared from a computer, HTPC, or NAS device on your local network.<br />
* You can access media on the main SD card or from the USB ports (hard drives, USB stick drives, hubs, all supported).<br />
}}<br />
<br />
{{FAQ|1=Add-ons|2=Skins<br />
| BGcolor= <br />
| Question= Add-ons and skins<br />
| Answer=<br />
* Kodi for Raspberry Pi is a full version of Kodi and will be able to use all non-platform specific [[add-ons]] and [[skins]]. More feature rich (CPU demanding) skins might not run smoothly, so keep to "lighter" skins.<br />
* Recommended lite skins include: Confluence (default skin), Amber, Metropolis, Quartz, Quartz Reloaded, Slik, xTV-SAF. Aeon Nox 5 is quite usable.<br />
}}<br />
<br />
{{FAQ|1=Shutdown<br />
| BGcolor= WhiteSmoke<br />
| Question= How to properly shutdown/disconnect<br />
| Answer=<br />
* It is not possible to use traditional "shutdown" on the Raspberry Pi. The only way to power it off is to disconnect the power. <br />
* ALWAYS select the shutdown command in Kodi before powering off the Raspberry Pi. Failure to do so can corrupt the Kodi library databases, other databases, or even other OS files.<br />
* Most users leave the Raspberry Pi on all the time, as it uses very little power (the cost of electricity for a year is about the price of a hamburger).<br />
}}<br />
<br />
{{FAQ|1=Remotes<br />
| BGcolor= <br />
| Question= Remotes for Raspberry Pi<br />
| Answer=<br />
{{see|Raspberry Pi#Remote controls}}<br />
}}<br />
<br />
{{FAQ|1=MySQL<br />
| BGcolor= WhiteSmoke<br />
| Question= MySQL library sharing<br />
| Answer=<br />
* If you are using [[MySQL]] library sharing features, please note that your library will only sync with the Raspberry Pi if all your other Kodi instances are running the same version ([[#Current_build|how to check your version]]).<br />
}}<br />
|}<br />
<br />
== Troubleshooting ==<br />
{{see also|Troubleshooting}}<br />
{| width="100%"<br />
<br />
{{FAQ|1=Forum|2=IRC<br />
| BGcolor=<br />
| Question= Getting more help with Kodi for Raspberry Pi<br />
| Answer=<br />
* '''[http://forum.kodi.tv/forumdisplay.php?fid=166 Kodi for Raspberry Pi specific help forum]'''<br />
* '''[irc://irc.freenode.org/xbmc-rpi #xbmc-rpi]''' [[w:IRC|IRC]] chat channel on irc.freenode.org.<br />
* '''[http://webchat.freenode.net/?channels=xbmc-rpi #xbmc-rpi]''' [[w:IRC|IRC]] channel on Freenode (Webchat)<br />
* '''[http://webchat.freenode.net/?channels=openelec #openelec]''' OpenELEC [[w:IRC|IRC]] support on Freenode (Webchat)<br />
* '''[http://webchat.freenode.net/?channels=xbian #xbian]''' XBian [[w:IRC|IRC]] support on Freenode (Webchat)<br />
* '''[http://webchat.freenode.net/?channels=osmc #osmc]''' OSMC [[w:IRC|IRC]] support on Freenode (Webchat)<br />
* Also see the individual Kodi/OS distribution documentation and support forums noted '''[[Raspberry Pi/FAQ#Install|above]]'''.<br />
* For general Raspberry Pi info and help be sure to see http://raspberrypi.org and the very excellent '''[http://elinux.org/R-Pi_Hub Raspberry Pi Wiki]'''<br />
}}<br />
<br />
{{FAQ|1=Logs|2=Userdata|3=logs<br />
| BGcolor= WhiteSmoke<br />
| Question= Userdata folder and logs<br />
| Answer=<br />
:''See '''[[How-to:Submit a proper bug report]]''' for bug reporting details and '''[[Debug log]]''' for how to post the debug log.''<br />
* [[Userdata folder]]:<br />
** OpenELEC: {{highlight|/storage/.kodi/userdata/}}<br />
** OSMC: {{highlight|/home/osmc/.kodi/userdata/}}<br />
** XBian: {{highlight|/home/xbian/.kodi/userdata/}}<br />
* [[Debug log]]: <br />
** OpenELEC: {{highlight|/storage/.kodi/temp/kodi.log}}<br />
** OSMC: {{highlight|/home/osmc/.kodi/temp/kodi.log}}. On OSMC, a Debug log can be uploaded via My OSMC -> Log Uploader.<br />
** XBian: {{highlight|/home/xbian/.kodi/temp/kodi.log}}<br />
}}<br />
<br />
{{FAQ|1=Language<br />
| BGcolor=<br />
| Question= Wrong language displayed in Kodi<br />
| Answer=<br />
* If you're getting a different language displayed in Kodi than the one you've set in {{highlight|bordered=yes|[[Settings/Appearance#International|Settings -> Appearance -> International]]}}, it could be caused by your TV's language settings over [[CEC]]. <br />
* Go into {{highlight|bordered=yes|[[Settings/System#Input devices|Settings -> System -> Input devices -> Peripherals -> RasPi CEC module -> Use TV's language]]}} and set to off.<br />
}}<br />
<br />
{{FAQ|1=Issues<br />
| BGcolor= WhiteSmoke<br />
| Question= Raspberry Pi known issues<br />
| Answer=<br />
{{#lst:Frodo issues|Raspberry Pi}}<br />
}}<br />
<br />
{{FAQ|1=Buffering|2=Performance<br />
| BGcolor= <br />
| Question= Performance: video buffering, stuttering, choppiness <br />
| Answer=<br />
{{main|Raspberry Pi#Maximizing performance}}<br />
{{#lst:Raspberry Pi|performance}}<br />
}}<br />
<br />
{{FAQ|1=Memory Usage<br />
| BGcolor= WhiteSmoke<br />
| Question= Memory usage (especially with 256M Pi)<br />
| Answer=<br />
* gpu_mem should be set to 128M on a Pi1, 256M on a Pi2. On a 256M Pi1 it is recommended to set it to 112M. On a 512M Pi1 it may be worth increasing this if you are running heavy skins or if you want to increase the default fanart resolution or colour depth. 256M should be more than enough on a Pi1, although 320M on a Pi2 may be appropriate if using higher resolution imageres/fanartres and also higher colour.<br />
* A 256M Pi is quite short on memory. Be careful with running other apps in the background (e.g. torrents) or installing add-ons that consume memory.<br />
* The default cachemembuffersize will be 2M for a 256M Pi, and 20M for a 512M Pi1/Pi2. You can use 0 to cache to sdcard.<br />
* Reducing the "GUI resolution limit" (e.g. to 720p) in settings/system/video will save memory. This is a default on a 256M Pi. Video will still play at full resolution (e.g. 1080p).<br />
* Enabling "higher colour depth artwork" will use more memory. It should be disabled on 256M Pi.<br />
* Reducing imageres/fanartres will reduce memory usage.<br />
}}<br />
<br />
{{FAQ|1=TV is not detected unless powered on first<br />
| BGcolor=<br />
| Question=TV is not detected unless powered on first<br />
| Answer=<br />
* Some TVs/receivers only report their capabilities (EDID) through HDMI when powered on before the Pi.<br />
* If TV doesn't get the right resolution or CEC doesn't work when Pi is powered before the TV/receiver then you can:<br />
* Run: <code>sudo tvservice -d edid.dat</code> (after booting with TV/receiver powered on first)<br />
* copy the edid.dat to the FAT partition (/boot on raspbmc and /flash on openelec)<br />
* and add to config.txt: <code>hdmi_edid_file=1</code> and <code>hdmi_force_hotplug=1</code><br />
* Note: if you change TV/receiver or use a different HDMI input you should capture a new edid.dat file<br />
}}<br />
<br />
{{FAQ|1=Videos don't play from archives<br />
| BGcolor= WhiteSmoke<br />
| Question=Videos don't play from archives<br />
| Answer=<br />
* When browsing, any archives need to be extracted to identify the content. This can be very slow and even cause out-of-memory crashes with large archive files.<br />
* On the Pi this is now optional (enabled by default), enable or disable with: {{highlight|bordered=yes|[[Settings/Appearance#File lists|Settings -> Appearance -> File lists -> Support browsing into archives]]}}<br />
* If your library does contain rar files, beware of disabling - you may need to rescan library after enabling again. Also note that subitles in rar won't work when disabled. <br />
* Note: using rar files doesn't save any space as video files are already highly compressed, so just extracting them would be the preferred solution.<br />
}}<br />
<br />
{{FAQ|1=Coloured square appears on screen<br />
| BGcolor=<br />
| Question=Coloured square appears on screen<br />
| Answer=<br />
* A coloured square may appear in the top right corner of screen to warn you of problems that should be remedied.* More info [http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=82373 here].<br />
* A multicoloured square means the voltage is too low. You should try a better power supply or cable between power supply and Pi (Note: under-voltage detection is only supported on B+ and Pi 2) <br />
* A red square means temperature is high (85'C) and overclock has been disabled. This is pretty rare, but can occur in a hot environment, with a case with no ventilation and with the Pi on hot equipment.<br />
}}<br />
<br />
{{FAQ|1=Audio or video dropouts on HDMI<br />
| BGcolor= WhiteSmoke<br />
| Question=Audio or video dropouts on HDMI<br />
| Answer=<br />
* If the dropouts only occur when playing video with "adjust display refresh rate to match video" enabled, then try adding hdmi_clock_change_limit=20 to config.txt<br />
* If the dropouts occur when cpu is busy (e.g. scrolling through library) then an insufficient power supply is most likely. <br />
* If the dropouts occur randomly, or you have interference visible, then try config_hdmi_boost from [http://elinux.org/R-Pi_Troubleshooting#Troubleshooting_power_problems here]<br />
}}<br />
<br />
<br />
{{Helix updated}}<br />
<br />
[[Category:Manual]]<br />
[[Category:FAQ]]<br />
[[Category:Troubleshooting]]</div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=97860OSMC2015-06-22T23:21:10Z<p>Nazarko: Provide a clearer description: what OSMC actually is, what it does, how to get it. Added additional categories.</p>
<hr />
<div>{{mininav|[[General topics]]{{l2|[[Devices]]}}|[[Installing]]{{l2|[[Linux]]}}}}<br />
{{to do}}<br />
<section begin="intro" />OSMC (short for Open Source Media Center) is a Linux distribution based on Debian that brings Kodi to a variety of devices. It is the successor to Raspbmc and Crystalbuntu. <section end="intro" /><br />
<br />
= OSMC = <br />
<br />
OSMC is an embedded, minimal, self updating Linux distributing which ships a Kodi front-end for a [https://osmc.tv/help/wiki/devices variety of devices]. The project was founded by Sam Nazarko in 2014 and is maintained by a group of volunteers in their spare time.<br />
<br />
== OSMC features ==<br />
<br />
* OSMC is a simple and easy to use OS. It is based on Debian, which means that it has over 30,000 packages available in its repositories which makes it very expansive.<br />
* OSMC is quick to install. Set up an excellent HTPC experience in just minutes. <br />
* OSMC is self-updating, which means it keeps getting better each month.<br />
* OSMC has an applications store which makes adding new features to expand your HTPC experience simple. <br />
<br />
You can learn more about OSMC and its capabilities at https://osmc.tv/about/. Why not give it a try?<br />
<br />
== Obtaining OSMC ==<br />
<br />
OSMC can be downloaded for all supported platforms on their official Download page [https://osmc.tv/download here]. On Raspberry Pi, OSMC can also be installed via the 'NOOBS' (New Out of Box Software) installer. OSMC recommends users download and install directly from the OSMC website where possible.<br />
<br />
The OSMC web page features a GUI based utility to download and install OSMC on to a variety of platforms. This utility can be run on Windows, Mac OS X and Linux based computers. <br />
<br />
OSMC ships reasonably up to date images on their website, but it is recommended that you go to My OSMC -> Updater and install updates after installation.<br />
<br />
== Getting help ==<br />
<br />
OSMC provides several resources to get help and support:<br />
<br />
* [https://osmc.tv/help/wiki The OSMC Wiki]<br />
* [https://discourse.osmc.tv The OSMC Forums]<br />
* [http://webchat.freenode.net/?channels=osmc #OSMC on the Freenode IRC Network]<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Apple TV 1]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=Raspberry_Pi&diff=97859Raspberry Pi2015-06-22T23:21:01Z<p>Nazarko: Add information on how to enable GPIO-IR remotes in OSMC</p>
<hr />
<div>{{mininav|[[Devices]]}}<br />
{{device notice}}<br />
<br />
[[File:Single-board computer Raspberry Pi.jpg|320px|right]]<br />
<br />
{{forum link2|1=For more info and help, check out the [http://forum.kodi.tv/forumdisplay.php?fid=166 Kodi Raspberry Pi support forum]}}<br />
<section begin="intro" />The '''Raspberry Pi''' (and Raspberry Pi 2) is an series of ARM powered, credit card sized computer developed in the UK by the Raspberry Pi Foundation for educational and hobbyist purposes. These low power computers is mass produced at very low prices and the high number of units sold gives it massive community support. As an Kodi HTPC, all Raspberry Pis supports full 1080p (Full HD) video playback of the most commonly used codecs, support for most if not all Kodi [[add-ons]], and reasonably responsive GUI performance.<section end="intro" /><br />
<br />
== Installing Kodi ==<br />
{{Main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
{{#lst:HOW-TO:Install Kodi on Raspberry Pi|install}}<br />
<br />
== Frequently Asked Questions ==<br />
{{see|Raspberry Pi FAQ}}<br />
<br />
== Maximizing performance ==<br />
<section begin="performance" /><br />
* Use a lightweight skin such as the default Confluence, Amber, Quartz, Bellow, or xTV-SAF.<br />
<br />
* Turn off RSS feeds and any scrolling text options for your skin.<br />
<br />
* Use an SD card with good rewrite speeds. The class of the SD card doesn't always mean it will be faster, as that speed listing is for sustained reading and writing. For Kodi random read/write speeds are more important. '''''[http://swag.raspberrypi.org/products/noobs-8gb-sd-card The class 4/6 Samsung SD cards sold on the Raspberry Pi Store] (the ones with NOOBS on them) typically have much better performance than most class 10 cards.''''' For more information about SD card speeds, check out this excellent thread on the R-Pi forum: ''' http://www.raspberrypi.org/forums/viewtopic.php?p=53159 '''<br />
<br />
* You can also try to use a combination of SD and fast USB drive for your Kodi install, but recent improvements to the software make it so that even just using a good SD card is about as fast as using a fast USB drive.<br />
<br />
* Avoid using wifi. If you do use wifi, use a wifi adapter that contains two antenna (either internally or externally). Otherwise, stick to wired ethernet, local USB drives, or ethernet-over-power devices (like Homeplug, etc).<br />
<br />
* If you are using wifi and it seems just on the edge of being fast enough, check out '''[[HOW-TO:Modify the video cache]]'''.<br />
<br />
* Try using '''[[NFS]]''' file shares instead of SMB file shares.<br />
<br />
* Try mounting network shares through OS rather than Kodi. This allows more tweaking of filesystem options, like chosing UDP and larger block sizes. See [http://forum.osmc.tv/showthread.php?tid=6825 This raspbmc thread for details]<br />
<br />
* Overclock. Most Pi's can handle a significant overclock, as long as they have a good power supply. There is no universal setting that will work for everyone (except for the default speed that you get without overclocking). Try various overclocking settings and run Kodi for a while and see if it's stable. If one group of overclocking settings causes crashes, try a group of settings that are lower than that. For more information about this check out this forum thread: ''' http://forum.kodi.tv/showthread.php?tid=199272 '''<br />
<br />
* "Extract thumbnail and video information" from '''[[Settings/Video#File lists|file lists settings]]''' is disabled by default on the Pi as it improves browsing performance.<br />
<br />
* For smoother video playback enable "Adjust display refresh rate to match video" from '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* When using dvdplayer "Sync playback to display" and "adjust PLL" for sync method are recommended. See '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* Make sure the video is using H.264 (up to High Profile. Hi10P will not work) or MPEG-4, or, if a codec was purchased and enabled, MPEG-2 or VC-1.<br />
<br />
* Passthrough is recommended as it lowers CPU usage for DTS and AC3. Use '''[[Settings/System#Audio output|audio passthrough]]''' if your TV/receiver supports it.<br />
<br />
* To determine which audio passthrough formats your HDMI-connected TV supports, you can log in to your chosen distribution, via SSH, and run this command: <code>/opt/vc/bin/tvservice a</code> (on OpenELEC: <code>tvservice -a</code>).<br />
<br />
* Feeling adventurous? Check out the latest OpenELEC test builds, which often have even more speed improvements. Just remember that these builds can often be unstable: ''' http://forum.kodi.tv/showthread.php?tid=192380 '''<br />
<br />
* Some additional advanced tips for speeding up boot times. {{editor note|Some of this can likely be broken up into individual bullet points for this list, but I haven't examined any of this in detail yet. I'm not sure which ones only improve boot time and which ones improve actual performance once already booted. If anyone wants to take a whack at this, please do.}} http://forum.kodi.tv/showthread.php?tid=201354<br />
<br />
* For locally connected drives containing videos and music, the format of the drive can have an impact on read and write speeds. For example, NTFS tends to be much slower on any Linux-based system than the more native EXOFS formats (ext2, ext3, etc).<br />
<br />
* If you use [[MySQL]] then you will want to make sure your images are pre-cached using the '''[[Texture Cache Maintenance utility]] tool'''. Local libraries typically don't need this as their images are cached when videos are scanned in. Using MySQL can improve performance as the database queries are handled by another machine.<br />
<br />
* Organizing your movies in single folders for each movie, rather than all movies in one folder, is recommended. The individual folders reduce the time it takes for Kodi to look for supporting media like external subtitles, making browsing, scanning and starting playback a little faster. You might also want to consider pre-scraping the meta data using a '''[[Library manager]]''' to reduce the time it takes to scan in both movies and TV shows.<br />
<br />
* For Raspberry Pi units with only 256MB of RAM, see http://forum.kodi.tv/showthread.php?tid=222498<br />
<section end="performance" /><br />
<br />
== Remote controls ==<br />
[[File:gpioir.png|right|250px|thumb|Wiring instructions for a TSOP4838 GPIO IR sensor.]]<br />
;GPIO IR receiver<br />
:Don't have a CEC TV or a smartphone remote? For less than a dollar/euro, you can add an IR receiver to your Raspberry Pi that works with most MCE and Apple remotes (and a few others). Most Kodi install options for the Pi should work with the GPIO IR out of the box, or by enabling a setting from within Kodi. Go to a local electronics store or search on ebay for "<code>TSOP4838</code>" and use some simple jumper wires (or solder the pins directly, if you wish). ''<small>(We need a link to a good, up to date GPIO IR guide. Most of the links I found are outdated and contain instructions for additional configurations that are no longer required. If you find a good link/guide, please add it to the wiki.)</small>''<br />
<br />
<br />
If you are using '''[[OpenELEC]]''' just add this to your config.txt file: <br />
:<pre>device_tree_overlay=lirc-rpi</pre><br />
<br />
If you are using '''[[OSMC]]''', just go to My OSMC -> Pi Configuration and enable 'GPIO IR remote support' and click OK. A reboot will be required. You can also select from a list of remote presets from My OSMC -> Remotes to ensure that all buttons are working correctly.<br />
<br />
;[[CEC]]<br />
:If your TV supports '''[[CEC]]''' then you should be able to use the remote control that came with your TV to control Kodi. The remote control signals are sent over the HDMI cable and most often don't require any further settings or configuration.<br />
<br />
<br />
;[[MCE remotes]]<br />
:Various '''MCE''' USB receivers and remotes will work on the Pi.<br />
<br />
<br />
;[[Keyboards]] and mice<br />
:Any '''[[Keyboard]]''' such as wired, wireless, bluetooth. This includes remotes that are seen as keyboards, such as Rii remotes, the Mele F10-Pro remote, or the (very awesome) '''[[Flirc]]'''.<br />
<br />
<br />
;[[Smartphone/tablet remotes]]<br />
:Use your smartphone or tablet as a remote control.<br />
<br />
<br />
;[[Web interface]]s<br />
:Control Kodi from anything that has a web browser.<br />
{{-}}<br />
<br />
== Further reading ==<br />
* [http://raspberrypi.org RaspberryPi.org]<br />
* [http://elinux.org/RaspberryPiBoard Raspberry Pi Hub Wiki]<br />
* [http://lea-linux.org/documentations/Raspberry_Pi Raspberry Pi French Wiki]<br />
* [[Wikipedia:Raspberry Pi]]<br />
<br />
== Random notes ==<br />
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}<br />
* Notes for using a Pi with a GPIO touch screen:<br />
** http://forum.kodi.tv/showthread.php?tid=222880&pid=2000331#pid2000331<br />
** http://markamc.traki-iski.co.uk/raspberry-pixbian-egalax-touchscreen/ <br />
<br />
* Add-on for turning off the HDMI port when idle: https://github.com/timker/kodi.screensaver.pimon<br />
<br />
* <br />
<br />
<br />
{{Helix updated}}<br />
<br />
[[Category:Linux]]<br />
[[Category:HTPC]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Broadcom]]<br />
[[Category:ARM]]</div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=88003OSMC2015-03-19T07:49:06Z<p>Nazarko: </p>
<hr />
<div>{{mininav| [[Devices]] }}<br />
{{to do}}<br />
<section begin="intro" />OSMC is the successor of RaspBMC and Crystalbuntu XBMC/OS distributions, created and maintained by Sam Nazarko.<section end="intro" /><br />
<br />
* More info on OSMC and what it is: https://osmc.tv/about/<br />
<br />
= OSMC = <br />
<br />
OSMC is an {{kodi}} and linux-based OS distribution for [[Raspberry Pi]], created and maintained by Sam Nazarko.<br />
<br />
== Main features ==<br />
* Custom Linux distribution with minimalised kernel.<br />
* Debian APT<br />
* Auto-updating<br />
* UI installers for Windows, Linux and Mac OS X to allow installation onto am removable device (like USB key or external Hard drive), and NFS share<br />
* PVR / AirTunes / AirPlay integration<br />
* Many addons will work on OSMC including SpotiMC for Spotify support<br />
* Same stability and support as the [[Crystalbuntu]] and Raspbmc Linux distribution<br />
* AFP, NFS and SMB file sharing<br />
* Configuration utility allowing installation of custom nightlies, audio configuration, update management,<br />
* Server mode – allows MySQL database hosting and Thumbnail sharing for {{kodi}} multiseat systems.<br />
* 1080p decoding<br />
* Free!<br />
<br />
== Installing OSMC ==<br />
* https://osmc.tv/download/<br />
<br />
== Updating OSMC ==<br />
OSMC has an advanced update feature where you can choose when you want updates to be downloaded and installed, or if you want to do it manually.<br />
You can also use Debian APT to update OSMC.<br />
<br />
== Back Up Configuration/settings ==<br />
# Login to the pi and, from the /home/osmc/ dir, type: <code>tar -czf backup.tar.gz .kodi/ </code><br />
# Transfer that file to a secondary machine (ftp, sftp, or scp are all viable options)<br />
Put back the backup on the system:<br />
# Return the tar file you copied in step 2 to the Raspberry Pi<br />
# Run the following commands: <code> sudo systemctl stop mediacenter; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo systemctl start mediacenter </code><br />
<br />
== Further reading ==<br />
* https://osmc.tv - Project home<br />
* https://osmc.tv/help/wiki - Wiki and FAQ<br />
* https://discourse.osmc.tv - OSMC support forums<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
<br />
= Crystalbuntu =<br />
Crystalbuntu is an easy to use XBMC and linux-based OS distribution for [[Apple TV 1]] (silver) created and maintained by Sam Nazarko. It is based on a light weight Ubuntu 12.04 LTS distribution.<br />
<br />
* http://crystalbuntu.com<br />
<br />
== See also ==<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Apple TV 1]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=Talk:OSMC/to_do&diff=87996Talk:OSMC/to do2015-03-18T16:46:35Z<p>Nazarko: </p>
<hr />
<div>OSMC is the successor of RaspBMC and Crystalbuntu, and to reflect the additional hardware it will support.<br />
* The page will still likely need a Raspberry Pi specific section.</div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=87995OSMC2015-03-18T16:45:02Z<p>Nazarko: </p>
<hr />
<div>{{mininav| [[Devices]] }}<br />
{{to do}}<br />
<section begin="intro" />OSMC is the successor of RaspBMC and Crystalbuntu XBMC/OS distributions, created and maintained by Sam Nazarko.<section end="intro" /><br />
<br />
* More info on OSMC and what it is: https://osmc.tv/about/<br />
<br />
= OSMC = <br />
<br />
OSMC is an {{kodi}} and linux-based OS distribution for [[Raspberry Pi]], created and maintained by Sam Nazarko.<br />
<br />
== Main features ==<br />
* Custom Linux distribution with minimalised kernel.<br />
* Debian APT<br />
* Auto-updating<br />
* UI installers for Windows, Linux and Mac OS X to allow installation onto am removable device (like USB key or external Hard drive), and NFS share<br />
* PVR / AirTunes / AirPlay integration<br />
* Many addons will work on OSMC including SpotiMC for Spotify support<br />
* Same stability and support as the [[Crystalbuntu]] and Raspbmc Linux distribution<br />
* AFP, NFS and SMB file sharing<br />
* Configuration utility allowing installation of custom nightlies, audio configuration, update management,<br />
* Server mode – allows MySQL database hosting and Thumbnail sharing for {{kodi}} multiseat systems.<br />
* 1080p decoding<br />
* Free!<br />
<br />
== Installing OSMC ==<br />
* https://osmc.tv/download/<br />
<br />
== Updating OSMC ==<br />
OSMC has an advanced update feature where you can choose when you want updates to be downloaded and installed, or if you want to do it manually.<br />
You can also use Debian APT to update OSMC.<br />
<br />
== Back Up Configuration/settings ==<br />
# Login to the pi and, from the /home/pi/ dir, type: <code>tar -czf backup.tar.gz .kodi/ </code><br />
# Transfer that file to a secondary machine (ftp, sftp, or scp are all viable options)<br />
Put back the backup on the system:<br />
# Return the tar file you copied in step 2 to the Raspberry Pi<br />
# Run the following commands: <code> sudo systemctl stop mediacenter; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo systemctl start mediacenter </code><br />
<br />
== Further reading ==<br />
* https://osmc.tv - Project home<br />
* https://osmc.tv/help/wiki - Wiki and FAQ<br />
* https://discourse.osmc.tv - OSMC support forums<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
<br />
= Crystalbuntu =<br />
Crystalbuntu is an easy to use XBMC and linux-based OS distribution for [[Apple TV 1]] (silver) created and maintained by Sam Nazarko. It is based on a light weight Ubuntu 12.04 LTS distribution.<br />
<br />
* http://crystalbuntu.com<br />
<br />
== See also ==<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Apple TV 1]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=87994OSMC2015-03-18T16:43:00Z<p>Nazarko: </p>
<hr />
<div>{{mininav| [[Devices]] }}<br />
{{to do}}<br />
<section begin="intro" />OSMC is the future name of the RaspBMC and Crystalbuntu XBMC/OS distributions, created and maintained by Sam Nazarko.<section end="intro" /><br />
<br />
* More info on OSMC and what it is: https://osmc.tv/about/<br />
<br />
= OSMC = <br />
<br />
OSMC is an {{kodi}} and linux-based OS distribution for [[Raspberry Pi]], created and maintained by Sam Nazarko.<br />
<br />
== Main features ==<br />
* Custom Linux distribution with minimalised kernel.<br />
* Debian APT<br />
* Auto-updating<br />
* UI installers for Windows, Linux and Mac OS X to allow installation onto am removable device (like USB key or external Hard drive), and NFS share<br />
* PVR / AirTunes / AirPlay integration<br />
* Many addons will work on OSMC including SpotiMC for Spotify support<br />
* Same stability and support as the [[Crystalbuntu]] and Raspbmc Linux distribution<br />
* AFP, NFS and SMB file sharing<br />
* Configuration utility allowing installation of custom nightlies, audio configuration, update management,<br />
* Server mode – allows MySQL database hosting and Thumbnail sharing for {{kodi}} multiseat systems.<br />
* 1080p decoding<br />
* Free!<br />
<br />
== Installing OSMC ==<br />
* https://osmc.tv/download/<br />
<br />
== Updating OSMC ==<br />
OSMC has an advanced update feature where you can choose when you want updates to be downloaded and installed, or if you want to do it manually.<br />
You can also use Debian APT to update your OSMC setup.<br />
<br />
== Back Up Configuration/settings ==<br />
# Login to the pi and, from the /home/pi/ dir, type: <code>tar -czf backup.tar.gz .kodi/ </code><br />
# Transfer that file to a secondary machine (ftp, sftp, or scp are all viable options)<br />
Put back the backup on the system:<br />
# Return the tar file you copied in step 2 to the Raspberry Pi<br />
# Run the following commands: <code> sudo systemctl stop mediacenter; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo systemctl start mediacenter </code><br />
<br />
== Further reading ==<br />
* https://osmc.tv - Project home<br />
* https://discourse.osmc.tv - OSMC support forums<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
<br />
= Crystalbuntu =<br />
Crystalbuntu is an easy to use XBMC and linux-based OS distribution for [[Apple TV 1]] (silver) created and maintained by Sam Nazarko. It is based on a light weight Ubuntu 12.04 LTS distribution.<br />
<br />
* http://crystalbuntu.com<br />
<br />
== See also ==<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Apple TV 1]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=87993OSMC2015-03-18T16:41:33Z<p>Nazarko: </p>
<hr />
<div>{{mininav| [[Devices]] }}<br />
{{to do}}<br />
<section begin="intro" />OSMC is the future name of the RaspBMC and Crystalbuntu XBMC/OS distributions, created and maintained by Sam Nazarko.<section end="intro" /><br />
<br />
* More info on OSMC and what it is: https://osmc.tv/about/<br />
<br />
= OSMC = <br />
<br />
OSMC is an {{kodi}} and linux-based OS distribution for [[Raspberry Pi]], created and maintained by Sam Nazarko.<br />
<br />
== Main features ==<br />
* Custom Linux distribution with minimalised kernel.<br />
* Debian APT<br />
* Auto-updating<br />
* UI installers for Windows, Linux and Mac OS X to allow installation onto am removable device (like USB key or external Hard drive), and NFS share<br />
* PVR / AirTunes / AirPlay integration<br />
* Many addons will work on OSMC including SpotiMC for Spotify support<br />
* Same stability and support as the [[Crystalbuntu]] and Raspbmc Linux distribution<br />
* AFP, NFS and SMB file sharing<br />
* Configuration utility allowing installation of custom nightlies, audio configuration, update management,<br />
* Server mode – allows MySQL database hosting and Thumbnail sharing for {{kodi}} multiseat systems.<br />
* 1080p decoding<br />
* Free!<br />
<br />
== Installing OSMC ==<br />
* https://osmc.tv/download/<br />
<br />
== Updating OSMC ==<br />
OSMC has an advanced update function where you can choose when you want updates to be downloaded and installed.<br />
You can also use Debian APT to update your OSMC setup.<br />
<br />
=== How to force an update if your Pi won't update ===<br />
<br />
Ssh into your Pi and run the following commands:<br />
<br />
<pre>sudo -s<br />
cd /scripts/upd_sys<br />
rm *.sh<br />
wget http://svn.stmlabs.com/svn/raspbmc/release/update-system/getfile.sh<br />
wget http://svn.stmlabs.com/svn/raspbmc/release/update-system/cdn_env_prep.sh<br />
reboot</pre><br />
<br />
== Back Up Configuration/settings ==<br />
# Login to the pi and, from the /home/pi/ dir, type: <code>tar -czf backup.tar.gz .kodi/ </code><br />
# Transfer that file to a secondary machine (ftp, sftp, or scp are all viable options)<br />
Put back the backup on the system:<br />
# Return the tar file you copied in step 2 to the Raspberry Pi<br />
# Run the following commands: <code> sudo systemctl stop mediacenter; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo systemctl start mediacenter </code><br />
<br />
== Further reading ==<br />
* https://osmc.tv - Project home<br />
* https://discourse.osmc.tv - OSMC support forums<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
<br />
= Crystalbuntu =<br />
Crystalbuntu is an easy to use XBMC and linux-based OS distribution for [[Apple TV 1]] (silver) created and maintained by Sam Nazarko. It is based on a light weight Ubuntu 12.04 LTS distribution.<br />
<br />
* http://crystalbuntu.com<br />
<br />
== See also ==<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Apple TV 1]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=OSMC&diff=87992OSMC2015-03-18T16:38:30Z<p>Nazarko: /* OSMC */</p>
<hr />
<div>{{mininav| [[Devices]] }}<br />
{{to do}}<br />
<section begin="intro" />OSMC is the future name of the RaspBMC and Crystalbuntu XBMC/OS distributions, created and maintained by Sam Nazarko.<section end="intro" /><br />
<br />
* More info on OSMC and what it is: http://forum.stmlabs.com/showthread.php?tid=15102<br />
<br />
= OSMC = <br />
<br />
OSMC is an {{kodi}} and linux-based OS distribution for [[Raspberry Pi]], created and maintained by Sam Nazarko.<br />
<br />
== Main features ==<br />
* Custom Linux distribution with minimalised kernel.<br />
* Auto-updating<br />
* UI installers for Windows, Linux and Mac OS X to allow installation onto am removable device (like USB key or external Hard drive), and NFS share<br />
* PVR / AirTunes / AirPlay integration<br />
* Many addons will work on Raspbmc including SpotiMC for Spotify support<br />
* Same stability and support as the [[Crystalbuntu]] Linux distribution<br />
* AFP, NFS and SMB file sharing<br />
* Configuration utility allowing installation of custom nightlies, audio configuration, update management,<br />
* Server mode – allows MySQL database hosting and Thumbnail sharing for {{kodi}} multiseat systems.<br />
* 1080p decoding<br />
* Free!<br />
<br />
== Installing OSMC ==<br />
* https://osmc.tv/download/<br />
<br />
== Updating OSMC ==<br />
OSMC has an advanced update function where you can choose when you want updates to be downloaded and installed.<br />
You can also use Debian APT to update your OSMC setup.<br />
<br />
=== How to force an update if your Pi won't update ===<br />
<br />
Ssh into your Pi and run the following commands:<br />
<br />
<pre>sudo -s<br />
cd /scripts/upd_sys<br />
rm *.sh<br />
wget http://svn.stmlabs.com/svn/raspbmc/release/update-system/getfile.sh<br />
wget http://svn.stmlabs.com/svn/raspbmc/release/update-system/cdn_env_prep.sh<br />
reboot</pre><br />
<br />
== Back Up Configuration/settings ==<br />
# Login to the pi and, from the /home/pi/ dir, type: <code>tar -czf backup.tar.gz .kodi/ </code><br />
# Transfer that file to a secondary machine (ftp, sftp, or scp are all viable options)<br />
Put back the backup on the system:<br />
# Return the tar file you copied in step 2 to the Raspberry Pi<br />
# Run the following commands: <code> sudo systemctl stop mediacenter; tar -xzf backup.tar.gz; rm backup.tar.gz; sudo systemctl start mediacenter </code><br />
<br />
== Further reading ==<br />
* https://osmc.tv - Project home<br />
* https://discourse.osmc.tv - OSMC support forums<br />
<br />
== See also ==<br />
* [[Raspberry Pi]]<br />
<br />
= Crystalbuntu =<br />
Crystalbuntu is an easy to use XBMC and linux-based OS distribution for [[Apple TV 1]] (silver) created and maintained by Sam Nazarko. It is based on a light weight Ubuntu 12.04 LTS distribution.<br />
<br />
* http://crystalbuntu.com<br />
<br />
== See also ==<br />
* [[Apple TV 1]]<br />
* [[Apple TV 1 FAQ]]<br />
* [[HOW-TO:Install XBMC on Apple TV 1 (Linux)]]<br />
<br />
[[Category:Linux]]<br />
[[Category:Apple TV 1]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Embedded distro]]</div>Nazarkohttps://kodi.wiki/index.php?title=Raspberry_Pi&diff=87991Raspberry Pi2015-03-18T16:28:24Z<p>Nazarko: </p>
<hr />
<div>{{mininav|[[Devices]]}}<br />
<br />
{{divbox|orange|| {{center| {{larger| Yes, Kodi works on the '''Raspberry Pi 2!''' }} }} }}<br />
<br />
[[File:Single-board computer Raspberry Pi.jpg|320px|right]]<br />
<br />
{{forum link2|1=For more info and help, check out the [http://forum.xbmc.org/forumdisplay.php?fid=166 XBMC Raspberry Pi support forum]}}<br />
<section begin="intro" />The '''Raspberry Pi''' is an ARM powered, credit card sized computer developed in the UK by the Raspberry Pi Foundation for educational and hobbyist purposes. The low power computer is mass produced at very low prices and the high number of units sold gives it massive community support. As an XBMC HTPC, the Pi supports full 1080P video playback, supports most major codecs, most if not all XBMC add-ons, and a reasonably responsive GUI.<section end="intro" /><br />
<br />
== Installing Kodi ==<br />
{{Main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
<section begin="install"/>The easiest way to install Kodi on an R-Pi is to use one of these pre-made OS/Kodi packages:<br />
* '''[[OpenELEC]] -''' [http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi Installing] • [http://wiki.openelec.tv/index.php?title=Raspberry_Pi_FAQ FAQ] • [http://openelec.tv/forum/124-raspberry-pi Help forum] • [[HOW-TO:Install XBMC on Raspberry Pi with USB drive|USB drive install]]<br />
* '''[[OSMC]] -''' [https://osmc.tv/download/ Installing] • [https://osmc.tv/help/wiki FAQ] • [https://osmc.tv/help/ Help] • [https://discourse.osmc.tv Forum] <br />
* '''[[XBian]] -''' [http://xbian.org/getxbian/ Installing] • [http://xbian.org/faq/ FAQ] • [http://xbian.org/getting-started/ Starters guide] • [http://forum.xbian.org/ Forum] <br />
* '''Raspbian -''' http://michael.gorven.za.net/<br />
<section end="install"/><br />
<br />
== Frequently Asked Questions ==<br />
{{see|Raspberry Pi FAQ}}<br />
<br />
== Maximizing performance ==<br />
<section begin="performance" /><br />
* Use a lightweight skin such as the default Confluence, Amber, Quartz, Bellow, or xTV-SAF.<br />
<br />
* Turn off RSS feeds and any scrolling text options for your skin.<br />
<br />
* Use an SD card with good rewrite speeds. The class of the SD card doesn't always mean it will be faster, as that speed listing is for sustained reading and writing. For {{kodi}} random read/write speeds are more important. '''''[http://swag.raspberrypi.org/products/noobs-8gb-sd-card The class 4/6 Samsung SD cards sold on the Raspberry Pi Store] (the ones with NOOBS on them) typically have much better performance than most class 10 cards.''''' For more information about SD card speeds, check out this excellent thread on the R-Pi forum: ''' http://www.raspberrypi.org/forums/viewtopic.php?p=53159 '''<br />
<br />
* You can also try to use a combination of SD and fast USB drive for your {{kodi}} install, but recent improvements to the software make it so that even just using a good SD card is about as fast as using a fast USB drive.<br />
<br />
* Avoid using wifi. If you do use wifi, use a wifi adapter that contains two antenna (either internally or externally). Otherwise, stick to wired ethernet, local USB drives, or ethernet-over-power devices (like Homeplug, etc).<br />
<br />
* If you are using wifi and it seems just on the edge of being fast enough, check out '''[[HOW-TO:Modify the video cache]]'''.<br />
<br />
* Try using '''[[NFS]]''' file shares instead of SMB file shares.<br />
<br />
* Try mounting network shares through OS rather than Kodi. This allows more tweaking of filesystem options, like chosing UDP and larger block sizes. See [http://forum.osmc.tv/showthread.php?tid=6825 This raspbmc thread for details]<br />
<br />
* Overclock. Most Pi's can handle a significant overclock, as long as they have a good power supply. There is no universal setting that will work for everyone (except for the default speed that you get without overclocking). Try various overclocking settings and run {{kodi}} for a while and see if it's stable. If one group of overclocking settings causes crashes, try a group of settings that are lower than that. For more information about this check out this forum thread: ''' http://forum.xbmc.org/showthread.php?tid=199272 '''<br />
<br />
* "Extract thumbnail and video information" from '''[[Settings/Video#File lists|file lists settings]]''' is disabled by default on the Pi as it improves browsing performance.<br />
<br />
* For smoother video playback enable "Adjust display refresh rate to match video" from '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* When using dvdplayer "Sync playback to display" and "adjust PLL" for sync method are recommended. See '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* Make sure the video is using H.264 (up to High Profile. Hi10P will not work) or MPEG-4, or, if a codec was purchased and enabled, MPEG-2 or VC-1.<br />
<br />
* Passthrough is recommended as it lowers CPU usage for DTS and AC3. Use '''[[Settings/System#Audio output|audio passthrough]]''' if your TV/receiver supports it.<br />
<br />
* To determine which audio passthrough formats your HDMI-connected TV supports, you can log in to your chosen distribution, via SSH, and run this command: <code>/opt/vc/bin/tvservice a</code> (on OpenELEC: <code>tvservice -a</code>).<br />
<br />
* Feeling adventurous? Check out the latest OpenELEC test builds, which often have even more speed improvements. Just remember that these builds can often be unstable: ''' http://forum.xbmc.org/showthread.php?tid=192380 '''<br />
<br />
* Some additional advanced tips for speeding up boot times. {{editor note|Some of this can likely be broken up into individual bullet points for this list, but I haven't examined any of this in detail yet. I'm not sure which ones only improve boot time and which ones improve actual performance once already booted. If anyone wants to take a whack at this, please do.}} http://forum.xbmc.org/showthread.php?tid=201354<br />
<br />
* For locally connected drives containing videos and music, the format of the drive can have an impact on read and write speeds. For example, NTFS tends to be much slower on any Linux-based system than the more native EXOFS formats (ext2, ext3, etc).<br />
<br />
* If you use [[MySQL]] then you will want to make sure your images are pre-cached using the '''[[Texture Cache Maintenance utility]] tool'''. Local libraries typically don't need this as their images are cached when videos are scanned in. Using MySQL can improve performance as the database queries are handled by another machine.<br />
<br />
* Organizing your movies in single folders for each movie, rather than all movies in one folder, is recommended. The individual folders reduce the time it takes for {{kodi}} to look for supporting media like external subtitles, making browsing, scanning and starting playback a little faster. You might also want to consider pre-scraping the meta data using a '''[[Library manager]]''' to reduce the time it takes to scan in both movies and TV shows.<br />
<section end="performance" /><br />
<br />
== Remote controls ==<br />
[[File:gpioir.png|right|250px|thumb|Wiring instructions for a TSOP4838 GPIO IR sensor.]]<br />
;GPIO IR receiver<br />
:Don't have a CEC TV or a smartphone remote? For less than a dollar/euro, you can add an IR receiver to your Raspberry Pi that works with most MCE and Apple remotes (and a few others). Most {{kodi}} install options for the Pi should work with the GPIO IR out of the box, or by enabling a setting from within {{kodi}}. Go to a local electronics store or search on ebay for "<code>TSOP4838</code>" and use some simple jumper wires (or solder the pins directly, if you wish). ''<small>(We need a link to a good, up to date GPIO IR guide. Most of the links I found are outdated and contain instructions for additional configurations that are no longer required. If you find a good link/guide, please add it to the wiki.)</small>''<br />
<br />
<br />
If you are using '''[[OpenELEC]]''' just add this to your config.txt file: <br />
:<pre>device_tree_overlay=lirc-rpi</pre><br />
<br />
<br />
;[[CEC]]<br />
:If your TV supports '''[[CEC]]''' then you should be able to use the remote control that came with your TV to control {{kodi}}. The remote control signals are sent over the HDMI cable and most often don't require any further settings or configuration.<br />
<br />
<br />
;[[MCE remotes]]<br />
:Various '''MCE''' USB receivers and remotes will work on the Pi.<br />
<br />
<br />
;[[Keyboards]] and mice<br />
:Any '''[[Keyboard]]''' such as wired, wireless, bluetooth. This includes remotes that are seen as keyboards, such as Rii remotes, the Mele F10-Pro remote, or the (very awesome) '''[[Flirc]]'''.<br />
<br />
<br />
;[[Smartphone/tablet remotes]]<br />
:Use your smartphone or tablet as a remote control.<br />
<br />
<br />
;[[Web interface]]s<br />
:Control {{kodi}} from anything that has a web browser.<br />
{{-}}<br />
<br />
== How good is it, really? ==<br />
See for yourself: https://www.youtube.com/watch?v=ErWF2sYgJec<br /><br />
{{youtube|ErWF2sYgJec}}<br />
<br />
== Further reading ==<br />
* [http://raspberrypi.org RaspberryPi.org]<br />
* [http://elinux.org/RaspberryPiBoard Raspberry Pi Hub Wiki]<br />
* [http://lea-linux.org/documentations/Raspberry_Pi Raspberry Pi French Wiki]<br />
* [[Wikipedia:Raspberry Pi]]<br />
<br />
==Random notes==<br />
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}<br />
*<br />
<br />
<br />
<br />
{{Gotham updated}}<br />
<br />
[[Category:Linux]]<br />
[[Category:HTPC]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Broadcom]]<br />
[[Category:ARM]]</div>Nazarkohttps://kodi.wiki/index.php?title=Linux&diff=87990Linux2015-03-18T16:24:05Z<p>Nazarko: </p>
<hr />
<div>{{mininav|[[Devices]]}}<br />
{{forum link2|1=Read this page and still need help? Check out the [http://forum.xbmc.org/forumdisplay.php?fid=52 ''XBMC for Linux'' support forum].}}<br />
<section begin="intro" />XBMC for Linux is primarily developed for Ubuntu Linux. Third-party packages for most other Linux distributions are however available, and it is also possible to compile XBMC Media Center from scratch for nearly any Linux distribution. Linux supports full hardware decoding with most graphics cards. Linux is generall the best way to get a fast, free, and "applicance" feel for an XBMC HTPC.<section end="intro" /><br />
<br />
== Main topics ==<br />
Other Linux-specific wiki pages for topics, guides, and advice. For [[General topics|everything else]], standard XBMC pages will normally apply.<br />
* [[HOW-TO:Install XBMC for Linux]]<br />
* [[XBMC for Linux specific FAQ]]<br />
* [[Supplemental tools/Linux]]<br />
* [[Developing XBMC for Linux]]<br />
<br />
== Requirements ==<br />
{{see also|Supported hardware}}<br />
{{#lst:Supported hardware|Linux}}<br />
<br />
== Linux distributions ==<br />
For install instructions for various Linux distros, see '''[[HOW-TO:Install XBMC for Linux]]'''.<br />
<br />
=== x86 ===<br />
* [[XBMCbuntu]]<br />
* [[OpenELEC]]<br />
<br />
=== ARM ===<br />
;[[Raspberry Pi]]<br />
* [[OpenELEC]]<br />
* [[OSMC]]<br />
* [[XBian]]<br />
<br />
;[[SolidRun CuBox-i|SolidRun CuBox-i / CuBoxTV]]<br />
* [[OpenELEC]]<br />
* [[GeeXboX]]<br />
* [[XBian]]<br />
<br />
;Other<br />
* Amlogic M3 devices - http://forum.xbmc.org/showthread.php?tid=192034<br />
* Amlogic M1/M3 devices - http://www.pivosforums.com/viewtopic.php?f=25&t=4518<br />
<br />
== How-to's ==<br />
{{#dpl:<br />
| category = How-to<br />
| category = Linux<br />
}}<br />
<br />
== Device specific info ==<br />
{{Device notice}}<br />
<br />
<!-- This section is auto-generated based on the following criteria. It then lists the page name and the text in the "intro" section, if provided. --><br />
<dpl><br />
category = HTPC<br />
category = Linux<br />
format = ,{{list2|%PAGE%}}<br />
</dpl><br />
<br />
== Random notes ==<br />
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}<br />
*<br />
{{Gotham updated}}<br />
<br />
[[Category:Linux|*]]<br />
[[Category:Hardware]]<br />
[[Category:Index]]<br />
[[Category:Manual]]</div>Nazarkohttps://kodi.wiki/index.php?title=Raspberry_Pi&diff=87989Raspberry Pi2015-03-18T16:20:38Z<p>Nazarko: </p>
<hr />
<div>{{mininav|[[Devices]]}}<br />
<br />
{{divbox|orange|| {{center| {{larger| Yes, Kodi works on the '''Raspberry Pi 2!''' }} }} }}<br />
<br />
[[File:Single-board computer Raspberry Pi.jpg|320px|right]]<br />
<br />
{{forum link2|1=For more info and help, check out the [http://forum.xbmc.org/forumdisplay.php?fid=166 XBMC Raspberry Pi support forum]}}<br />
<section begin="intro" />The '''Raspberry Pi''' is an ARM powered, credit card sized computer developed in the UK by the Raspberry Pi Foundation for educational and hobbyist purposes. The low power computer is mass produced at very low prices and the high number of units sold gives it massive community support. As an XBMC HTPC, the Pi supports full 1080P video playback, supports most major codecs, most if not all XBMC add-ons, and a reasonably responsive GUI.<section end="intro" /><br />
<br />
== Installing Kodi ==<br />
{{Main|HOW-TO:Install Kodi on Raspberry Pi}}<br />
<section begin="install"/>The easiest way to install Kodi on an R-Pi is to use one of these pre-made OS/Kodi packages:<br />
* '''[[OpenELEC]] -''' [http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi Installing] • [http://wiki.openelec.tv/index.php?title=Raspberry_Pi_FAQ FAQ] • [http://openelec.tv/forum/124-raspberry-pi Help forum] • [[HOW-TO:Install XBMC on Raspberry Pi with USB drive|USB drive install]]<br />
* '''[[XBian]] -''' [http://xbian.org/getxbian/ Installing] • [http://xbian.org/faq/ FAQ] • [http://xbian.org/getting-started/ Starters guide] • [http://forum.xbian.org/ Forum] <br />
* '''Raspbian -''' http://michael.gorven.za.net/<br />
* '''[[OSMC]] -''' [https://osmc.tv/download/ Installing] • [https://osmc.tv/help/wiki FAQ] • [https://osmc.tv/help/ Help] • [https://discourse.osmc.tv Forum] <br />
<section end="install"/><br />
<br />
== Frequently Asked Questions ==<br />
{{see|Raspberry Pi FAQ}}<br />
<br />
== Maximizing performance ==<br />
<section begin="performance" /><br />
* Use a lightweight skin such as the default Confluence, Amber, Quartz, Bellow, or xTV-SAF.<br />
<br />
* Turn off RSS feeds and any scrolling text options for your skin.<br />
<br />
* Use an SD card with good rewrite speeds. The class of the SD card doesn't always mean it will be faster, as that speed listing is for sustained reading and writing. For {{kodi}} random read/write speeds are more important. '''''[http://swag.raspberrypi.org/products/noobs-8gb-sd-card The class 4/6 Samsung SD cards sold on the Raspberry Pi Store] (the ones with NOOBS on them) typically have much better performance than most class 10 cards.''''' For more information about SD card speeds, check out this excellent thread on the R-Pi forum: ''' http://www.raspberrypi.org/forums/viewtopic.php?p=53159 '''<br />
<br />
* You can also try to use a combination of SD and fast USB drive for your {{kodi}} install, but recent improvements to the software make it so that even just using a good SD card is about as fast as using a fast USB drive.<br />
<br />
* Avoid using wifi. If you do use wifi, use a wifi adapter that contains two antenna (either internally or externally). Otherwise, stick to wired ethernet, local USB drives, or ethernet-over-power devices (like Homeplug, etc).<br />
<br />
* If you are using wifi and it seems just on the edge of being fast enough, check out '''[[HOW-TO:Modify the video cache]]'''.<br />
<br />
* Try using '''[[NFS]]''' file shares instead of SMB file shares.<br />
<br />
* Try mounting network shares through OS rather than Kodi. This allows more tweaking of filesystem options, like chosing UDP and larger block sizes. See [http://forum.osmc.tv/showthread.php?tid=6825 This raspbmc thread for details]<br />
<br />
* Overclock. Most Pi's can handle a significant overclock, as long as they have a good power supply. There is no universal setting that will work for everyone (except for the default speed that you get without overclocking). Try various overclocking settings and run {{kodi}} for a while and see if it's stable. If one group of overclocking settings causes crashes, try a group of settings that are lower than that. For more information about this check out this forum thread: ''' http://forum.xbmc.org/showthread.php?tid=199272 '''<br />
<br />
* "Extract thumbnail and video information" from '''[[Settings/Video#File lists|file lists settings]]''' is disabled by default on the Pi as it improves browsing performance.<br />
<br />
* For smoother video playback enable "Adjust display refresh rate to match video" from '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* When using dvdplayer "Sync playback to display" and "adjust PLL" for sync method are recommended. See '''[[Settings/Video#Playback|playback settings]]'''<br />
<br />
* Make sure the video is using H.264 (up to High Profile. Hi10P will not work) or MPEG-4, or, if a codec was purchased and enabled, MPEG-2 or VC-1.<br />
<br />
* Passthrough is recommended as it lowers CPU usage for DTS and AC3. Use '''[[Settings/System#Audio output|audio passthrough]]''' if your TV/receiver supports it.<br />
<br />
* To determine which audio passthrough formats your HDMI-connected TV supports, you can log in to your chosen distribution, via SSH, and run this command: <code>/opt/vc/bin/tvservice a</code> (on OpenELEC: <code>tvservice -a</code>).<br />
<br />
* Feeling adventurous? Check out the latest OpenELEC test builds, which often have even more speed improvements. Just remember that these builds can often be unstable: ''' http://forum.xbmc.org/showthread.php?tid=192380 '''<br />
<br />
* Some additional advanced tips for speeding up boot times. {{editor note|Some of this can likely be broken up into individual bullet points for this list, but I haven't examined any of this in detail yet. I'm not sure which ones only improve boot time and which ones improve actual performance once already booted. If anyone wants to take a whack at this, please do.}} http://forum.xbmc.org/showthread.php?tid=201354<br />
<br />
* For locally connected drives containing videos and music, the format of the drive can have an impact on read and write speeds. For example, NTFS tends to be much slower on any Linux-based system than the more native EXOFS formats (ext2, ext3, etc).<br />
<br />
* If you use [[MySQL]] then you will want to make sure your images are pre-cached using the '''[[Texture Cache Maintenance utility]] tool'''. Local libraries typically don't need this as their images are cached when videos are scanned in. Using MySQL can improve performance as the database queries are handled by another machine.<br />
<br />
* Organizing your movies in single folders for each movie, rather than all movies in one folder, is recommended. The individual folders reduce the time it takes for {{kodi}} to look for supporting media like external subtitles, making browsing, scanning and starting playback a little faster. You might also want to consider pre-scraping the meta data using a '''[[Library manager]]''' to reduce the time it takes to scan in both movies and TV shows.<br />
<section end="performance" /><br />
<br />
== Remote controls ==<br />
[[File:gpioir.png|right|250px|thumb|Wiring instructions for a TSOP4838 GPIO IR sensor.]]<br />
;GPIO IR receiver<br />
:Don't have a CEC TV or a smartphone remote? For less than a dollar/euro, you can add an IR receiver to your Raspberry Pi that works with most MCE and Apple remotes (and a few others). Most {{kodi}} install options for the Pi should work with the GPIO IR out of the box, or by enabling a setting from within {{kodi}}. Go to a local electronics store or search on ebay for "<code>TSOP4838</code>" and use some simple jumper wires (or solder the pins directly, if you wish). ''<small>(We need a link to a good, up to date GPIO IR guide. Most of the links I found are outdated and contain instructions for additional configurations that are no longer required. If you find a good link/guide, please add it to the wiki.)</small>''<br />
<br />
<br />
If you are using '''[[OpenELEC]]''' just add this to your config.txt file: <br />
:<pre>device_tree_overlay=lirc-rpi</pre><br />
<br />
<br />
;[[CEC]]<br />
:If your TV supports '''[[CEC]]''' then you should be able to use the remote control that came with your TV to control {{kodi}}. The remote control signals are sent over the HDMI cable and most often don't require any further settings or configuration.<br />
<br />
<br />
;[[MCE remotes]]<br />
:Various '''MCE''' USB receivers and remotes will work on the Pi.<br />
<br />
<br />
;[[Keyboards]] and mice<br />
:Any '''[[Keyboard]]''' such as wired, wireless, bluetooth. This includes remotes that are seen as keyboards, such as Rii remotes, the Mele F10-Pro remote, or the (very awesome) '''[[Flirc]]'''.<br />
<br />
<br />
;[[Smartphone/tablet remotes]]<br />
:Use your smartphone or tablet as a remote control.<br />
<br />
<br />
;[[Web interface]]s<br />
:Control {{kodi}} from anything that has a web browser.<br />
{{-}}<br />
<br />
== How good is it, really? ==<br />
See for yourself: https://www.youtube.com/watch?v=ErWF2sYgJec<br /><br />
{{youtube|ErWF2sYgJec}}<br />
<br />
== Further reading ==<br />
* [http://raspberrypi.org RaspberryPi.org]<br />
* [http://elinux.org/RaspberryPiBoard Raspberry Pi Hub Wiki]<br />
* [http://lea-linux.org/documentations/Raspberry_Pi Raspberry Pi French Wiki]<br />
* [[Wikipedia:Raspberry Pi]]<br />
<br />
==Random notes==<br />
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}<br />
*<br />
<br />
<br />
<br />
{{Gotham updated}}<br />
<br />
[[Category:Linux]]<br />
[[Category:HTPC]]<br />
[[Category:Raspberry Pi]]<br />
[[Category:Broadcom]]<br />
[[Category:ARM]]</div>Nazarko