Difference between revisions of "Kodi setup"

(Chinese support)
(Chinese support)
Line 145: Line 145:
  
 
# Copy fonts to KODI
 
# Copy fonts to KODI
cp arialuni.ttf /usr/share/xbmc/media/Fonts/
+
sudo cp arialuni.ttf /usr/share/kodi/media/Fonts/
cp DejaVuSans+DriodSansFallback.ttf /usr/share/xbmc/media/Fonts/DejaVuSans_unicode.ttf
+
sudo cp DejaVuSans+DriodSansFallback.ttf /usr/share/kodi/media/Fonts/DejaVuSans_unicode.ttf
  
 
# Copy fonts to your current skin (default skin = confluence)
 
# Copy fonts to your current skin (default skin = confluence)
cp arialuni.ttf /usr/share/xbmc/addons/skin.confluence/fonts/
+
sudo cp arialuni.ttf /usr/share/kodi/addons/skin.confluence/fonts/
cp DejaVuSans+DriodSansFallback.ttf /usr/share/xbmc/addons/skin.confluence/fonts/DejaVuSans_unicode.ttf
+
sudo cp DejaVuSans+DriodSansFallback.ttf /usr/share/kodi/addons/skin.confluence/fonts/DejaVuSans_unicode.ttf
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 157: Line 157:
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
cd /usr/share/xbmc/addons/skin.confluence/fonts/
+
cd /usr/share/kodi/addons/skin.confluence/fonts/
  
 
# Adjust old references
 
# Adjust old references
mv DejaVuSans.ttf DejaVuSans-original.ttf
+
sudo mv DejaVuSans.ttf DejaVuSans-original.ttf
mv arial.ttf arial-original.ttf
+
sudo mv arial.ttf arial-original.ttf
  
  
 
# New references
 
# New references
ln -s /usr/share/fonts/truetype/chinese/DejaVuSans_unicode.ttf DejaVuSans.ttf
+
sudo ln -s /usr/share/fonts/truetype/chinese/DejaVuSans_unicode.ttf DejaVuSans.ttf
ln -s /usr/share/fonts/truetype/chinese/arialuni.ttf arial.ttf
+
sudo ln -s /usr/share/fonts/truetype/chinese/arialuni.ttf arial.ttf
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 18:12, 19 July 2016



Installation

Requirements

apt-get install python-software-properties pkg-config
apt-get install software-properties-common
apt-get install unrar


Add new repository

add-apt-repository ppa:team-xbmc/ppa
apt-get update


Installation

apt-get install kodi


Useful plugins

April 2016


SALTS

SALTS is a plugin to get some streaming content.


Setup #1 download the link to the SALTS repository

Setup #2 add the repository on Kodi

  • Go to SYSTEM > Settings > Add-ons > Install from ZIP file
  • Select the ZIP file

Setup #3 install SALTS application

  • Now that the repository is available go to SYSTEM > Settings > Add-ons > Install from repository
  • Select the tknorris repository > Video add-on > Stream All The Sources > Install
  • Select the tknorris repository > Program add-on > SALTS themepak > Install
  • Select the tknorris repository > Context item > SALTS context Tools > Install


Exodus

Exodus is a plugin to get some streaming content.


Setup #1 download the link to the EXODUS repository

Setup #2 add the repository on Kodi

  • Go to SYSTEM > Settings > Add-ons > Install from ZIP file
  • Select the ZIP file

Setup #3 install EXODUS application

  • Now that the repository is available go to SYSTEM > Settings > Add-ons > Install from repository
  • Select the Exodus repository > Video add-on > Exodus > Install


Phoenix

Phoenix is a plugin to get some streaming content.


Setup #1 download the link to the TVADDONS repository

Setup #2 add the repository on Kodi

  • Go to SYSTEM > Settings > Add-ons > Install from ZIP file
  • Select the ZIP file

Setup #3 install PHOENIX application

  • Now that the repository is available go to SYSTEM > Settings > Add-ons > Install from repository
  • Select the TVADDONS.ag > Video add-on > Phoenix > Install


Films de France

"Films de France" is a plugin to get some streaming content in French + Live TV (France TV, Arte, etc.)


Setup #1 download the link to the TVADDONS repository

Setup #2 add the repository on Kodi

  • Go to SYSTEM > Settings > Add-ons > Install from ZIP file
  • Select the ZIP file

Setup #3 install PHOENIX application

  • Now that the repository is available go to SYSTEM > Settings > Add-ons > Install from repository
  • Select the TVADDONS.ag > Video add-on > Films de France > Install


Chinese support

Chinese fonts

Download the following fonts:


Installation guide

0. Stop your KODI application

2. Copy the archive on your media center

3. Run the following commands

wget http://daxiongmao.eu/wiki_upload_files/kodi/arialuni.ttf
wget http://daxiongmao.eu/wiki_upload_files/kodi/DejaVuSans%2BDriodSansFallback.ttf

# Copy fonts to system 
sudo mkdir -p /usr/share/fonts/truetype/chinese
sudo cp arialuni.ttf /usr/share/fonts/truetype/chinese/
sudo cp DejaVuSans+DriodSansFallback.ttf /usr/share/fonts/truetype/chinese/DejaVuSans_unicode.ttf

# Copy fonts to KODI
sudo cp arialuni.ttf /usr/share/kodi/media/Fonts/
sudo cp DejaVuSans+DriodSansFallback.ttf /usr/share/kodi/media/Fonts/DejaVuSans_unicode.ttf

# Copy fonts to your current skin (default skin = confluence)
sudo cp arialuni.ttf /usr/share/kodi/addons/skin.confluence/fonts/
sudo cp DejaVuSans+DriodSansFallback.ttf /usr/share/kodi/addons/skin.confluence/fonts/DejaVuSans_unicode.ttf


4. Replace old Arial and Deja-Vu by Unicode versions

cd /usr/share/kodi/addons/skin.confluence/fonts/

# Adjust old references
sudo mv DejaVuSans.ttf DejaVuSans-original.ttf
sudo mv arial.ttf arial-original.ttf


# New references
sudo ln -s /usr/share/fonts/truetype/chinese/DejaVuSans_unicode.ttf DejaVuSans.ttf
sudo ln -s /usr/share/fonts/truetype/chinese/arialuni.ttf arial.ttf


5. Restart KODI

  • Go to KODI >> Home >> System >> Settings >> Appearance >> Skin >> Fonts
  • Click the up/down arrow to change the setting to “Arial based”;



Bugs fixes

  • Don't forget to restart KODI to take on your changes!


  • Chinese characters do not appear! Then you should override DejaVuSans.ttf by arialuni.ttf
cd /usr/share/xbmc/addons/skin.confluence/fonts/

# Remove previous reference
rm DejaVuSans.ttf DejaVuSans-original.ttf

# Override 
ln -s /usr/share/fonts/truetype/chinese/arialuni.ttf DejaVuSans.ttf


References

You can find more information on the following web sites: