黑群晖一键修复:ROOT、TMDB、AME、DTS、转码、CPU型号等

准备工作:SSH连接群晖

黑群晖一键修复:root、AME、DTS、转码、CPU型号等

一、DSM7.2.2安装Video Station

除非特别的需要,一般不建议再安装Video Station,第三方的更好:Jellyfin、Emby、Plex

curl https://ghfast.top/https://raw.githubusercontent.com/007revad/Video_Station_for_DSM_722/main/videostation_for_722.sh | bash

备用地址

# DSM7.2.2 AME版本4.1.0-4005
wget https://dsm.ainas.cc:88/Script/videostation_for_722.sh -O videostation_for_722.sh && chmod +x videostation_for_722.sh && ./videostation_for_722.sh

项目地址:https://github.com/007revad/Video_Station_for_DSM_722

二、AME3.x激活补丁

只适用于x86_64的:DSM7.x Advanced Media Extensions (AME)版本3.0.1-2004、3.1.0-3005

# DSM7.1 AME版本3.0.1-2004
curl http://code.imnks.com/ame3patch/ame71-2004.py | python
# DSM7.2 AME版本3.1.0-3005
curl http://code.imnks.com/ame3patch/ame72-3005.py | python

7.2备用地址

curl https://dsm.ainas.cc:88/Script/ame72-3005.py | python

来源:https://xpenology.com/forum/topic/65643-ame-30-patcher/

三、修复VideoStation对 DTS、EAC3 和 TrueHD 的支持

支持群晖全部机型,支持DSM6.x、7.x,需要提前安装ffmpeg套件!!!2023.6.4更新补丁版本v2.0

(DTS or EAC3 or TrueHD) + (Any non HEVC standard video format): ✅ OK
(no DTS, no EAC3, no TrueHD) + (HEVC): ✅ OK
(DTS or EAC3 or TrueHD) + (HEVC): ⚠️ 不支持

#注意注意注意:末尾的 -v 6 按照自己安装的ffmpeg版本修改 4 5 6(建议6),脚本加了代理国内测试OK

curl https://ghfast.top/https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- -p https://ghfast.top/https://raw.githubusercontent.com -v 6

项目地址:https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher

修改ffmpeg版本,编辑:/var/packages/VideoStation/target/bin/ffmpeg

图片[2]-黑群晖一键修复:ROOT、TMDB、AME、DTS、转码、CPU型号等-AiNas.cc

四、一键修复视频转码

支持x86_64机型,支持DSM6.0 7321-0到7.2.1 69057-5

#选1
bash -c "$(curl "https://ghfast.top/https://raw.githubusercontent.com/wirgen/synocodectool-patch/master/patch.sh")" -- -p
#重启生效
reboot

项目地址:https://github.com/wirgen/synocodectool-patch

五、多合一修复,包含前面的三项

bash -c "$(curl "https://ghfast.top/https://raw.githubusercontent.com/darknebular/Wrapper_VideoStation/main/installer.sh")"

项目地址:https://github.com/darknebular/Wrapper_VideoStation

六、一键开启root修改密码

支持群晖全部机型,支持DSM6、7

注意:root权限密码尽量复杂,root账号慎用,一不小心万劫不复!万劫不复!万劫不复!

#开启允许root登录,最后IMNKS.COM是密码,自行修改!!!修改!!!修改!!!
chmod 755 /etc/ssh/sshd_config
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
synouser --setpw root IMNKS.COM
systemctl restart sshd
#关闭允许root登录,非必要或者使用后建议关闭!!!!!!关闭!!!!!!
sed -i 's/PermitRootLogin yes/#PermitRootLogin prohibit-password/g' /etc/ssh/sshd_config
systemctl restart sshd

七、解决TMDB无法连接的问题

如更新有误,可以在 控制面板-网络 里修改 系统名称 即可清空自定义hosts

#自动筛选ip,@裙下孤魂 2023.10.16制作,全自动更新!默认自动更新tmdb、themoviedb、github

curl -L https://www.ainas.cc:88/Patch/hosts-auto1007.sh | bash

八、一键添加M2存储(建议用RR插件nvmevolume)

Add your SATA or SAS HDDs and SSDs plus SATA and NVMe M.2 drives to your Synology’s compatible drive databases, including your M.2 card and Expansion Unit databases.

The script works in DSM 7 and DSM 6.

#已添加github下载代理
curl https://ghfast.top/https://raw.githubusercontent.com/007revad/Synology_HDD_db/main/syno_hdd_db.sh | bash -s -- -nr
#重启生效
reboot
黑群晖一键修复:root、AME、DTS、转码、CPU型号等

项目地址:https://github.com/007revad/Synology_HDD_db

© 版权声明
THE END
喜欢就支持一下吧
点赞1 分享