Difference between revisions of "Kodi setup"

 
(17 intermediate revisions by the same user not shown)
Line 28: Line 28:
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
apt-get install xbmc
+
apt-get install kodi
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 +
 +
=Plugins auto-setup=
 +
 +
Follow the instruction on these excellent pages, in order:
 +
# https://www.tvaddons.ag/fusion-installer-kodi/
 +
# https://www.tvaddons.ag/addon-installer-kodi/
 +
 +
 +
Same instructions - explained differently - http://kodiaddonstv.com/HOW-TO-INSTALL-EXODUS-ON-KODI-SOLVE-NOT-WORKING-ISSUE/
 +
 +
 +
=Useful plugins=
 +
 +
''April 2016''
 +
 +
 +
==SALTS==
 +
 +
SALTS is a plugin to get some streaming content.
 +
 +
 +
Setup #1 download the link to the SALTS repository
 +
* Go to: http://fusion.tvaddons.ag/xbmc-repos/  in '''english'''
 +
* Download [http://fusion.tvaddons.ag/xbmc-repos/english/repository.tknorris.release-1.0.2.zip repository.tknorris.release-x.x.x.zip]
 +
 +
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
 +
* Go to: http://fusion.tvaddons.ag/xbmc-repos/  in '''english'''
 +
* Download [http://fusion.tvaddons.ag/xbmc-repos/english/repository.exodus-1.0.0.zip repository-exodus-x.x.x.zip]
 +
 +
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
 +
* Go to: http://fusion.tvaddons.ag/xbmc-repos/  in '''english'''
 +
* Download [http://fusion.tvaddons.ag/xbmc-repos/english/repository.xbmchub-1.0.6.zip repository.xbmchub-x.x.x.zip]
 +
 +
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
 +
* Go to: http://fusion.tvaddons.ag/xbmc-repos/  in '''english'''
 +
* Download [http://fusion.tvaddons.ag/xbmc-repos/english/repository.xbmchub-1.0.6.zip repository.xbmchub-x.x.x.zip]
 +
 +
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''
  
  
Line 39: Line 129:
  
 
Download the following fonts:
 
Download the following fonts:
* Arial unicode font: http://www.font5.com.cn/zitixiazai/1/693.html
+
* '''Arial unicode font'''
* Deja Vu unicode: http://trac.xbmc.org/attachment/ticket/6397/DejaVuSans%2BDriodSansFallback.ttf
+
** [http://www.daxiongmao.eu/wiki_upload_files/kodi/arialuni.ttf Arial Unicode (Daxiongmao copy)]
 +
** Source: http://www.font5.com.cn/zitixiazai/1/693.html
 +
* '''Deja Vu unicode'''
 +
** [http://www.daxiongmao.eu/wiki_upload_files/kodi/DejaVuSans%2BDriodSansFallback.ttf Deja Vu Unicode (Daxiongmao copy)]
 +
** Source: http://trac.kodi.tv/attachment/ticket/6397/DejaVuSans%2BDriodSansFallback.ttf
 +
* Google fonts
 +
* '''Noto Sans CJK SC''' (Simplified Chinese): https://www.google.com/get/noto/#serif-hans
 +
* '''Noto Serif CJK SC''': https://www.google.com/get/noto/#serif-hans
 +
 
  
  
1. Download Arial unicode ; you should have a'' '20090701.rar' ''archive
+
==Installation guide==
  
 +
0. Stop your KODI application
  
 
2. Copy the archive on your media center
 
2. Copy the archive on your media center
 
  
 
3. Run the following commands
 
3. Run the following commands
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
unrar e 20090701.rar
+
wget http://daxiongmao.eu/wiki_upload_files/kodi/arialuni.ttf
wget http://trac.xbmc.org/attachment/ticket/6397/DejaVuSans%2BDriodSansFallback.ttf
+
wget http://daxiongmao.eu/wiki_upload_files/kodi/DejaVuSans%2BDriodSansFallback.ttf
  
 
# Copy fonts to system  
 
# Copy fonts to system  
cp arialuni.ttf /usr/share/xbmc/media/Fonts/
+
sudo mkdir -p /usr/share/fonts/truetype/chinese
cp DejaVuSans+DriodSansFallback.ttf /usr/share/xbmc/media/Fonts/
+
sudo cp arialuni.ttf /usr/share/fonts/truetype/chinese/
 +
sudo cp DejaVuSans+DriodSansFallback.ttf /usr/share/fonts/truetype/chinese/DejaVuSans_unicode.ttf
 +
sudo cp NotoS* /usr/share/fonts/truetype/chinese/
 +
 
 +
# Unzip fonts
 +
cd /usr/share/fonts/truetype/chinese
 +
sudo chown guillaume:users *
 +
sudo chmod 644 *
 +
sudo unzip NotoSansCJKsc-hinted.zip
 +
sudo unzip NotoSerifCJKsc-hinted.zip
 +
 
 +
# Set default NOTO for all system (if not already there!)
 +
sudo apt-get install fonts-noto-hinted
 +
sudo apt-get install fonts-noto-cjk
 +
sudo mkdir -p /usr/share/fonts/truetype/noto/
 +
sudo cp /usr/share/fonts/truetype/chinese/Noto* /usr/share/fonts/truetype/noto/
 +
 
 +
# Set kodi fonts
 +
cd /usr/share/fonts/truetype/noto/
 +
#sudo cp NotoSansCJKsc-Light.otf NotoSans-Regular.ttf
 +
#sudo cp NotoSansCJKsc-Bold.otf NotoSans-Bold.ttf
 +
 
 +
# Extract the Google Noto font and set it default
 +
sudo cp NotoSansCJKsc-Regular.otf NotoSans-Regular.ttf
 +
sudo cp NotoSans-Regular.ttf /usr/share/kodi/media/Fonts/
 +
 
 +
 
 +
# Copy fonts to KODI
 +
cd /usr/share/fonts/truetype/chinese
 +
sudo cp arialuni.ttf /usr/share/kodi/media/Fonts/
 +
sudo cp DejaVuSans_unicode.ttf /usr/share/kodi/media/Fonts/DejaVuSans_unicode.ttf
 +
sudo cp NotoSansCJKsc-Light.otf /usr/share/kodi/media/Fonts/NotoSans-Regular.ttf
 +
sudo cp NotoSansCJKsc-Bold.otf /usr/share/kodi/media/Fonts/NotoSans-Bold.ttf
 +
 
 +
# Copy fonts to your current skin
 +
# Kodi 16 (default skin = confluence)
 +
cd /usr/share/fonts/truetype/chinese
 +
sudo cp arialuni.ttf /usr/share/kodi/addons/skin.confluence/fonts/
 +
sudo cp DejaVuSans_unicode.ttf /usr/share/kodi/addons/skin.confluence/fonts/DejaVuSans_unicode.ttf
 +
sudo rm /usr/share/kodi/addons/skin.confluence/NotoSans-Regular.ttf
 +
sudo rm /usr/share/kodi/addons/skin.confluence/NotoSans-Bold.ttf
 +
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Regular.otf /usr/share/kodi/addons/skin.confluence/NotoSans-Regular.ttf
 +
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Bold.otf /usr/share/kodi/addons/skin.conluence/NotoSans-Bold.ttf
 +
 
 +
# Kodi 17 (default skin = estuary)
 +
cd /usr/share/fonts/truetype/chinese
 +
sudo cp arialuni.ttf /usr/share/kodi/addons/skin.estuary/fonts/
 +
sudo cp DejaVuSans_unicode.ttf /usr/share/kodi/addons/skin.estuary/fonts/DejaVuSans_unicode.ttf
 +
sudo rm /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Regular.ttf
 +
sudo rm /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Bold.ttf
 +
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Regular.otf /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Regular.ttf
 +
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Bold.otf /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Bold.ttf
 +
 
  
# Copy fonts to your current skin (default skin = confluence)
 
cp arialuni.ttf /usr/share/xbmc/addons/skin.confluence/fonts/
 
cp DejaVuSans+DriodSansFallback.ttf /usr/share/xbmc/addons/skin.confluence/fonts/
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
 +
4. Replace old Arial and Deja-Vu by Unicode versions
  
 +
<syntaxhighlight lang="bash">
 +
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
 +
</syntaxhighlight>
 +
 +
 +
5. Restart KODI
  
 +
* Go to KODI >> Home >> System >> Settings >> Appearance >> Skin >> Fonts
 +
* Click the up/down arrow to change the setting to “Arial based”;
  
  
Display chinese
 
http://jhleoh.blogspot.se/
 
http://immigrationroad.com/blog/how-to-watch-chinese-tv-online-using-xbmc/
 
  
  
 +
'''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''
 +
 +
<syntaxhighlight lang="bash">
 +
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
 +
</syntaxhighlight>
  
=Media center=
 
  
[[XBMC setup]]
+
==References==
  
ToBeDone: Remote control WinMCE6 on Ubuntu 14.04 + intel NUC
+
You can find more information on the following web sites:
 +
* http://jhleoh.blogspot.se/
 +
* http://immigrationroad.com/blog/how-to-watch-chinese-tv-online-using-xbmc/

Latest revision as of 11:36, 22 April 2017



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


Plugins auto-setup

Follow the instruction on these excellent pages, in order:

  1. https://www.tvaddons.ag/fusion-installer-kodi/
  2. https://www.tvaddons.ag/addon-installer-kodi/


Same instructions - explained differently - http://kodiaddonstv.com/HOW-TO-INSTALL-EXODUS-ON-KODI-SOLVE-NOT-WORKING-ISSUE/


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
sudo cp NotoS* /usr/share/fonts/truetype/chinese/

# Unzip fonts
cd /usr/share/fonts/truetype/chinese
sudo chown guillaume:users *
sudo chmod 644 *
sudo unzip NotoSansCJKsc-hinted.zip 
sudo unzip NotoSerifCJKsc-hinted.zip

# Set default NOTO for all system (if not already there!)
sudo apt-get install fonts-noto-hinted
sudo apt-get install fonts-noto-cjk
sudo mkdir -p /usr/share/fonts/truetype/noto/
sudo cp /usr/share/fonts/truetype/chinese/Noto* /usr/share/fonts/truetype/noto/

# Set kodi fonts
cd /usr/share/fonts/truetype/noto/
#sudo cp NotoSansCJKsc-Light.otf NotoSans-Regular.ttf 
#sudo cp NotoSansCJKsc-Bold.otf NotoSans-Bold.ttf 

# Extract the Google Noto font and set it default
sudo cp NotoSansCJKsc-Regular.otf NotoSans-Regular.ttf
sudo cp NotoSans-Regular.ttf /usr/share/kodi/media/Fonts/


# Copy fonts to KODI
cd /usr/share/fonts/truetype/chinese
sudo cp arialuni.ttf /usr/share/kodi/media/Fonts/
sudo cp DejaVuSans_unicode.ttf /usr/share/kodi/media/Fonts/DejaVuSans_unicode.ttf
sudo cp NotoSansCJKsc-Light.otf /usr/share/kodi/media/Fonts/NotoSans-Regular.ttf 
sudo cp NotoSansCJKsc-Bold.otf /usr/share/kodi/media/Fonts/NotoSans-Bold.ttf 

# Copy fonts to your current skin
# Kodi 16 (default skin = confluence)
cd /usr/share/fonts/truetype/chinese
sudo cp arialuni.ttf /usr/share/kodi/addons/skin.confluence/fonts/
sudo cp DejaVuSans_unicode.ttf /usr/share/kodi/addons/skin.confluence/fonts/DejaVuSans_unicode.ttf
sudo rm /usr/share/kodi/addons/skin.confluence/NotoSans-Regular.ttf
sudo rm /usr/share/kodi/addons/skin.confluence/NotoSans-Bold.ttf
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Regular.otf /usr/share/kodi/addons/skin.confluence/NotoSans-Regular.ttf 
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Bold.otf /usr/share/kodi/addons/skin.conluence/NotoSans-Bold.ttf

# Kodi 17 (default skin = estuary)
cd /usr/share/fonts/truetype/chinese
sudo cp arialuni.ttf /usr/share/kodi/addons/skin.estuary/fonts/
sudo cp DejaVuSans_unicode.ttf /usr/share/kodi/addons/skin.estuary/fonts/DejaVuSans_unicode.ttf
sudo rm /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Regular.ttf
sudo rm /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Bold.ttf
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Regular.otf /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Regular.ttf 
sudo cp /usr/share/fonts/truetype/noto/NotoSansCJKsc-Bold.otf /usr/share/kodi/addons/skin.estuary/fonts/NotoSans-Bold.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: