2017-08-24, 02:52
(2017-08-24, 01:38)matthuisman Wrote: The hardest part I find currently is matching a ssd_wv with correct version of inpustream.
Some versions of LibreELEC (ie. my test builds) include /usr/lib/libssd_wv.so, and a built-in (and matched) version of inputstream.adaptive, and in this case the helper would just need to create a libssd_wv.so symbolic link in DECRYPTERPATH with /usr/lib/libssd_wv.so as the target.
ie.
Code:
rpi22:~/.kodi/cdm # ls -la
total 16348
drwxr-xr-x 3 root root 4096 Aug 24 00:32 .
drwxr-xr-x 13 root root 4096 Aug 24 00:28 ..
lrwxrwxrwx 1 root root 21 Jun 30 01:01 libssd_wv.so -> /usr/lib/libssd_wv.so
-rwxr-xr-x 1 root root 5122508 Jul 5 14:06 libwidevinecdm.so
Official LibreELEC releases will (eventually) offer inputstream.adaptive as an installable addon and this addon will include lib/libssd_wv.so, avoiding any matching issues.
In both cases there should be no need for the helper to download libssd_wv.so, it would just need to create the symbolic link.
Pseudo-code for the helper:
Code:
if [ -f /usr/lib/libssd_wv.so ]; then
ln -s /usr/lib/libssd_wv.so ${DECRYPTERPATH}/libssd_wv.so
elif [ -f ${HOME}/.kodi/addons/inputstream.adaptive/lib/libssd_wv.so ]; then
ln -s ${HOME}/.kodi/addons/inputstream.adaptive/lib/libssd_wv.so ${DECRYPTERPATH}/libssd_wv.so
else
# download/install libssd_wv.so from the internet etc.
fi