安装和配置rclone
curl https://rclone.org/install.sh | sudo bash
rclone config
新建一个remote
取名为tianyi,类型为WebDAV
url: http://test.szrq.cf:5244/dav/tianyi
vendor选择other
mkdir /tianyiwebdav
sudo apt install fuse3
rclone mount tianyi:/video /tianyiwebdav --allow-other --vfs-cache-mode writes&
vi /etc/systemd/system/rclone.service
[Unit]
Description=Rclone
After=network-online.target
[Service]
User=root
ExecStart=rclone mount tianyi:/video /tianyiwebdav --allow-other --vfs-cache-mode writes
Restart=on-abort
[Install]
WantedBy=multi-user.target
apt install docker.io
docker run \
--name EmbyServer \
--net=host \
-v /emby:/config \
-v /tianyiwebdav:/media \
-e TZ="Asia/Shanghai" \
-e UID=0 \
-e GID=0 \
-e GIDLIST=0 \
--restart always \
-d lovechen/embyserver:latest
ifconfig查看当前IP
http://IP:8096打开Emby Server
进入界面,点击右上角管理Emby Server,点击左侧电视直播,点击添加电视源->M3U
打开直播源分享网站https://github.com/fanmingming/live,复制Global直播源地址,粘贴到文件或 URL,点击储存即可。

