mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 03:49:20 +02:00
Integrate ffprobe symlink into 20-folders.sh, bump to 4.0.16.2946-3
Move the ffprobe symlink logic from the separate 21-ffprobe.sh into the existing 20-folders.sh init script and remove the standalone file. Update changelog and bump version. Fixes https://github.com/alexbelgium/hassio-addons/issues/2451 Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
|
|
||||||
|
## 4.0.16.2946-3 (2026-02-25)
|
||||||
|
- Symlink system ffprobe to /app/sonarr/bin/ where Sonarr expects it (fixes https://github.com/alexbelgium/hassio-addons/issues/2451)
|
||||||
|
|
||||||
## 4.0.16.2946-2 (2026-02-06)
|
## 4.0.16.2946-2 (2026-02-06)
|
||||||
- Add ffmpeg to provide ffprobe for runtime detection (fixes https://github.com/alexbelgium/hassio-addons/issues/2451)
|
- Add ffmpeg to provide ffprobe for runtime detection (fixes https://github.com/alexbelgium/hassio-addons/issues/2451)
|
||||||
|
|
||||||
|
|||||||
@@ -110,4 +110,4 @@ schema:
|
|||||||
slug: sonarr_nas
|
slug: sonarr_nas
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/sonarr
|
url: https://github.com/alexbelgium/hassio-addons/tree/master/sonarr
|
||||||
version: "4.0.16.2946-2"
|
version: "4.0.16.2946-3"
|
||||||
|
|||||||
@@ -25,3 +25,11 @@ fi
|
|||||||
if [ -d /config/addons_config ]; then
|
if [ -d /config/addons_config ]; then
|
||||||
rm -rf /config/addons_config
|
rm -rf /config/addons_config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Sonarr v4 looks for ffprobe in its own binary directory (/app/sonarr/bin/)
|
||||||
|
# via GlobalFFOptions.Configure(options => options.BinaryFolder = AppDomain.CurrentDomain.BaseDirectory)
|
||||||
|
# Symlink the system-installed ffprobe there so Sonarr can find a working copy
|
||||||
|
if [ -f /usr/bin/ffprobe ] && [ -d /app/sonarr/bin ]; then
|
||||||
|
ln -sf /usr/bin/ffprobe /app/sonarr/bin/ffprobe
|
||||||
|
echo "Symlinked /usr/bin/ffprobe to /app/sonarr/bin/ffprobe"
|
||||||
|
fi
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
|
||||||
# shellcheck shell=bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Sonarr v4 looks for ffprobe in its own binary directory (/app/sonarr/bin/)
|
|
||||||
# via GlobalFFOptions.Configure(options => options.BinaryFolder = AppDomain.CurrentDomain.BaseDirectory)
|
|
||||||
# Symlink the system-installed ffprobe there so Sonarr can find a working copy
|
|
||||||
|
|
||||||
if [ -f /usr/bin/ffprobe ] && [ -d /app/sonarr/bin ]; then
|
|
||||||
ln -sf /usr/bin/ffprobe /app/sonarr/bin/ffprobe
|
|
||||||
echo "Symlinked /usr/bin/ffprobe to /app/sonarr/bin/ffprobe"
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user