NoteFun

  1. 首页
  2. Configure Linux
  3. 正文

RaspberryPi run Kodi

2019年1月31日 13点热度 0人点赞 0条评论

Install KODI and addon

sudo apt install kodi kodi-peripheral-joystick kodi-inputstream-rtmp kodi-inputstream-adaptive kodi-visualization-shadertoy kodi-visualization-waveform -y

Set the display memory to 256MB

raspi-config
//Advanced Options->Memory Split

Create a systemd service

vim /lib/systemd/system/kodi.service

[Unit]
Description = Kodi Media Center
After = remote-fs.target network-online.target
Wants = network-online.target

[Service]
User = pi
Group = pi
Type = simple
ExecStart = /usr/bin/kodi
Restart = on-abort
RestartSec = 5

[Install]
WantedBy = multi-user.target

Enable KODI autostart

sudo systemctl enable kodi.service
标签: 暂无
最后更新:2019年2月20日

点赞
< 上一篇
下一篇 >

文章评论

取消回复
分类目录
  • Coding
  • Configure Linux
  • 懒得分类

COPYRIGHT © 2021 NoteFun. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS