What is the difference between OSMC and Kodi?
Kodi is a media center application and OSMC is the operating system that runs Kodi and brings it to your device. OSMC is not a fork of Kodi but rather a Linux distribution that ships Kodi as the main application.
This is a similar concept to Kodi running on top of Windows or Android. OSMC is based on Debian (a flavour of GNU/Linux) and has been heavily optimised to provide the best TV experience possible.
Kodi 是一个多媒体应用 ,而 OSMC 是一个运行在硬件设备上的能跑 Koidi 的操作系统 。
OSMC 不是对 Kodi 的简单复制 ,而更像是一个以 Kodi 为主要应用的 Linux 发行版。
可以简单理解为: Kodi运行在安卓或者 windows 上。OSMC是一个基于 Debian 且深度优化的操作系统。
用fstab 自动挂载smba共享文件
编辑 /etc/fstab 文件:
sudo nano /etc/fstab
在文件的最后添加如下:
//192.168.31.22/share /mnt/pi4_movies cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=root,password=*****,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770,vers=1.0 0 0
//192.168.31.22/share
为smba服务器共享出来的文件
/mnt/pi4_movies
为本机挂载点 pi4_movies 需要事先创建
username=root,password=*****
为smba的用户和密码
其他参数保持默认即可.
执行如下命令,验证有没有错误发生:
sudo mount -a
如果没有错误发生,则执行如下命令重载systemd:
sudo systemctl daemon-reload
sudo systemctl restart remote-fs.target
添加文件
视频 文件 添加视频 为此媒体源命名(此处输入目录)完成 确定
网友评论