From ca9b214f1fd5133a304acefce4bbb35edea38918 Mon Sep 17 00:00:00 2001 From: AlexPresso <15526962+AlexPresso@users.noreply.github.com> Date: Sun, 8 Aug 2021 17:37:23 +0200 Subject: [PATCH] Improvements and Fix wrapping procedure on non ARMv8 (#10) * Improvements and Fix wrapping procedure on non ARMv8 * Add informational messages * Display improvements * Fix options * Improve readme --- .gitignore | 1 + README.md | 22 ++++++++++----- motd.txt | 6 ++++ patcher.sh | 80 ++++++++++++++++++++++++++++++++++++++++-------------- 4 files changed, 81 insertions(+), 28 deletions(-) create mode 100644 .gitignore create mode 100644 motd.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a09c56d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea diff --git a/README.md b/README.md index e5e6121..148344e 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ I'm working hard to fix it but in the mean time, please do not update to DSM 7.0 ## Supported architectures ([check your NAS architecture here](https://github.com/SynoCommunity/spksrc/wiki/Architecture-per-Synology-model)) -- ARMv8 ⚠️ (fails on DSM 7.0) -- Old ARM ⚠️ (sometimes fails on DSM 7.0) -- x64 ⚠️ (sometimes fails on DSM 7.0) -- x86 ⚠️ (sometimes fails on DSM 7.0) +- ARMv8 ⚠️ (partial support) +- Old ARM ⚠️ (partial support) +- x64 ✅ +- x86 ✅ ## Dependencies - DSM 6.2.2-24922 Update 4 (and above) @@ -27,7 +27,15 @@ I'm working hard to fix it but in the mean time, please do not update to DSM 7.0 - Install SynoCommunity ffmpeg ([help](https://synocommunity.com/#easy-install)) - Connect to your NAS using SSH (admin user required) ([help](https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General_Setup/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet)) - Use the command `sudo -i` to switch to root user -- Use the folowing command to execute the patch: - -`curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash` +- Use the [folowing](https://github.com/AlexPresso/VideoStation-FFMPEG-Patcher#usage) command to execute the patch - VideoStation will have to be repatched everytime you update it (and when you update DSM) + +## Usage +Basic command usage: +`curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash` +With options: +`curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s --