RPI-5 Kodi not usable as no Netflix (widevine) support or HDHomeRun support

Hi,

I have managed to get a RP5 to boot Kodi on poweron, but it seems all my hard work is for nothing.

1. I find that I cannot watch TV as there is no Kodi addon for HDHomerun ...
2. I can't install widevine lib so can't install plugin to watch netflix or amazon..
3. I can't find my server videos/music etc (SMB) as smb on kodi is not working ...

Numbers 1. and 2. are my two must haves. So unless someone can point me to howto's on both of the above,
then it looks like I am back to running my mediabox with debian .... I was hoping to get everything working on FreeBSD ..
 
hi mate, the kodi-addon-inputstream.adaptive package is supposed to enable widevine

Code:
sudo pkg install kodi-addon-inputstream.adaptive

if you look in the ~/.kodi/cdm directory youll see its empty

the linux-widevine-cdm port enables drm playback with chromium

this is how to build the port with poudriere


heres the libwidevinecdm.so from the linux-widevine-cdm port
not sure if you could move the libwidevinecdm.so file into the ~/.kodi/cdm directory
and if that would work
 

Attachments

I had the inputstream adaptive installed already.

I also went to the effort of building the linux-widevine-cdm module in a Poudriere Jail and installed it in the normal way. But it seems kodi does not pick up either .. it works fine in chromium .. so obviously widevine works (Thanks for the excellent guide)

I managed to get the kodi netflix add-on installed and I am logged in fine, but when I play something still complains about both widevine and inputstream adaptive .. this is really hard!

NapoleonWils0n Tried your library in .kodi/cdm (had to create cdm) but still no joy ..

My built libwidevinecdm.so is located here:
/usr/local/share/chromium/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
/usr/local/lib/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
Maybe kodi cannot find them there ?
 
HI Mate, i did a bit of digging

widevine script location that downloads the widevine cdm

Code:
/home/djwilcox/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine

but it seems to check for linux but not freebsd so doesnt download the widevine cdm

i think you are right maybe kodi cant find the widevine file

could be the directory structure in ~/.kodi/cdm were the libwidevinecdm.so is, is the issue

i guess whats needed is to install the inputstream adaptive plugin on kodi on linux
and then check were the libwidevinecdm.so gets installed and then recreate that directory structure on freebsd

clicking reinstall widevine cdm in the addon just throws an error

20240622_13h46m51s_grim.png



20240622_13h47m02s_grim.png


20240622_13h47m10s_grim.png


20240622_13h47m17s_grim.png


20240622_13h47m25s_grim.png
 
Yep, I have the same. I think the python script needs to change, so that FreeBSD is treated the same as Linux. As you say, It has a test in there for Linux but not FreeBSD .. Maybe a developer can chip in ?
 
Looks like I can't even use libwidevine on RP5 as when I tried to build it for arm64 i Get:

00:01:27] Ignoring www/linux-widevine-cdm | linux-widevine-cdm-4.10.2710.0: is only for amd64, while you are running aarch64
.. and then there are following errors, so even if we get the above working for amd64, out of luck with RPi
 
Back
Top