Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kodi [2022/01/04 03:24] – Youtube add-on lbrpdx | kodi [2023/03/31 22:56] (current) – stvhay | ||
---|---|---|---|
Line 2: | Line 2: | ||
If you haven’t heard already, **Kodi** is available with **Batocera**. It’s been preinstalled and configured for controller support. | If you haven’t heard already, **Kodi** is available with **Batocera**. It’s been preinstalled and configured for controller support. | ||
+ | |||
+ | <WRAP center round help> | ||
+ | Kodi is not available on oga/rk3326, orangepi-zero2, | ||
+ | </ | ||
===== What is Kodi? ===== | ===== What is Kodi? ===== | ||
Kodi is a free and open-source media player software application developed by the XBMC Foundation, a non-profit technology consortium. Kodi is available for multiple operating systems and hardware platforms, with a software 10-foot user interface for use with televisions and remote controls or gamepads. It allows users to play and view most streaming media, such as videos, music, podcasts, and videos from the Internet. It supports all common digital media files from local and network storage media. | Kodi is a free and open-source media player software application developed by the XBMC Foundation, a non-profit technology consortium. Kodi is available for multiple operating systems and hardware platforms, with a software 10-foot user interface for use with televisions and remote controls or gamepads. It allows users to play and view most streaming media, such as videos, music, podcasts, and videos from the Internet. It supports all common digital media files from local and network storage media. | ||
- | |||
===== Enable and use Kodi ===== | ===== Enable and use Kodi ===== | ||
Line 13: | Line 16: | ||
* Make sure Kodi is enabled in the **SYSTEM SETTINGS** -> **KODI SETTINGS** menu | * Make sure Kodi is enabled in the **SYSTEM SETTINGS** -> **KODI SETTINGS** menu | ||
- | * From this menu, you can associate | + | * From this menu, you can enable |
- | * Then, when enabled and depending on the configuration options, you can launch Kodi with the '' | + | * Then, when enabled and depending on the configuration options, you can launch Kodi from the first entry in the **MAIN MENU**. |
- | * Once you are in the Kodi interface, to exit and get back to Batocera' | + | * Once you are in the Kodi interface, to exit and get back to Batocera' |
- | {{ :: | + | {{ : |
+ | |||
+ | ===== Configure 5.1 surround sound ===== | ||
+ | |||
+ | By default, Kodi will only output stereo sound via two channels, even if [[: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now all will rocks. 8-) | ||
+ | |||
+ | ===== Enabling Binary Add-ons ===== | ||
+ | |||
+ | When you first run Kodi, many of the binary add-ons that ship with Kodi are not enabled. To view your add-ons, navigate to **Add-ons** then **My add-ons**, which will list all of your add-ons by category. Here is a list of some of the add-ons you might want to enable: | ||
+ | |||
+ | ^ Plugin Category | ||
+ | | Image decoder | ||
+ | | Image decoder | ||
+ | | Look and feel | Screensaver | ||
+ | | Look and feel | Visualisation | ||
+ | | PVR clients | ||
+ | |||
+ | This is not an exhaustive list of binary add-ons, but should get you off to a good start. | ||
===== Netflix ===== | ===== Netflix ===== | ||
Line 25: | Line 49: | ||
Workaround to force always the same '' | Workaround to force always the same '' | ||
- | 1. Log [[access_the_batocera_via_ssh|through SSH]] on your Batocera machine. | + | - Log [[access_the_batocera_via_ssh|through SSH]] on your Batocera machine. |
+ | - Save permanently your current '' | ||
+ | cat / | ||
+ | ln -sf / | ||
+ | batocera-save-overlay | ||
+ | </ | ||
+ | - Now, your UUID is saved in ''/ | ||
- | 2. Save permanently your current '' | + | Caveat: you have to recreate the symbolic link and [[:modify_the_system_while_it_s_running|save the overlay after each Batocera upgrade/ |
- | # cat / | + | |
- | # ln -sf / | + | |
- | # batocera-save-overlay | + | |
- | + | ||
- | 3. Now, your UUID is saved in ''/ | + | |
- | + | ||
- | Caveat: you have to recreate the symbolic link and [[modify_the_system_while_it_s_running|save the overlay after each Batocera upgrade/ | + | |
===== Fix local network access for Kodi ===== | ===== Fix local network access for Kodi ===== | ||
Line 40: | Line 63: | ||
To fix local network access (such as NAS, networked TV devices, media servers, etc.) for Kodi on Batocera there is a very simple thing to do! | To fix local network access (such as NAS, networked TV devices, media servers, etc.) for Kodi on Batocera there is a very simple thing to do! | ||
- | In Kodi, navigate to **Settings** -> **Services** -> **SMB client** | + | In Kodi, navigate to **Settings** -> **Services** -> **SMB client**. |
| | ||
And change its two parameters: | And change its two parameters: | ||
Line 58: | Line 81: | ||
With this in mind, consider that [[: | With this in mind, consider that [[: | ||
</ | </ | ||
+ | |||
+ | ==== Specific cases ==== | ||
+ | |||
+ | Some NAS vendors support only older versions of SMB. Known examples are: | ||
+ | * **Freebox Revolution** - Set the mininum protocol version to SMBv1. | ||
+ | * **Orange Livebox 2019** - Set the mininum protocol version to SMBv1. | ||
+ | |||
+ | <wrap lo> | ||
===== Add the Youtube Kodi add-on ===== | ===== Add the Youtube Kodi add-on ===== | ||
- | <WRAP center round warning> | + | <WRAP center round important> |
Adding the Youtube add-on for Kodi requires a bit of manual work, and some knowledge on how Google services use API keys and application access rights. It's **NOT** easy to configure for anyone, unfortunately. | Adding the Youtube add-on for Kodi requires a bit of manual work, and some knowledge on how Google services use API keys and application access rights. It's **NOT** easy to configure for anyone, unfortunately. | ||
</ | </ | ||
- | |||
- | |||
- | {{ :: | ||
There' | There' | ||
- | 1- [Easy]: | + | |
- | Go to the Settings (gear icon) -> Add-ons -> Install from repository -> Kodi Add-on repository -> Video add-ons -> Youtube (at the end of the list). It might also download dependencies, | + | - Launch the Youtube Add-on, from the " |
+ | - From your browser, go to '' | ||
+ | - Go back to the Youtube plugin, **Settings** (last option in the list), select **API** on the left-hand side menu and put: | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | These keys are very long, but there is an option to help you with copy/paste: toggle the '' | ||
+ | </ | ||
+ | - Redo step 2 you'll be prompted with a new code, but then you'll be able to use the Youtube Add-on. | ||
- | 2- [Still easy]: Launch the Youtube Add-on, from the " | + | {{:youtube-sign-in.png? |
- | Click on "sign-in". The first time, you'll get a message box, telling you to log twice. Do as requested, and on a computer or smartphone with your, sign in with a web browser to the URL that is given to you from the plugin '' | + | |
- | 3- [More complicated]: | + | And that's it, you'll now have Youtube running in Kodi in Batocera. Enjoy it until Google |
- | 4- [Painful]: Go back to the Youtube | + | {{:kodi_youtube.png? |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | These keys are very long, but there is an option to help you with copy/paste: toggle the '' | + | ===== Wait for NAS connection before start ===== |
+ | Batocera can check for if a network server (e.g. NAS, SQL server, etc.) is available or not before starting Kodi. This can avoid situations such as where Kodi might be set to start on boot and starts before the network connection is available, causing a variety of issues (videos not playing, shares not loading correctly, crashing issues, etc.) | ||
- | 5- [Easy again] Redo step [2] you'll be prompted with a new code, but then you'll be able to use the Youtube Add-on. | + | Open '' |
- | {{ :: | + | < |
+ | #kodi.network.waithost=192.168.0.50 | ||
+ | </ | ||
+ | There will be a short summary explaining it and its related key settings. Fill out the values appropriately and uncomment the lines, then save the document. An example might end up looking like this: | ||
- | ==== Specific cases ==== | + | < |
+ | kodi.network.waithost=192.168.0.10 | ||
+ | kodi.network.waittime=10 | ||
+ | kodi.network.waitmode=wish | ||
+ | </ | ||
- | Some NAS vendors support only older versions of SMB. Known examples | + | The first two settings |
- | * **Freebox Revolution** | + | * '' |
- | * | + | |
- | + | * '' | |
- | <wrap lo> | + | |
- kodi.1641263064.txt.gz
- Last modified: 2 years ago
- by lbrpdx