ehough / docker-kodi

Dockerized Kodi with audio and video
https://hub.docker.com/r/erichough/kodi/
GNU General Public License v3.0
237 stars 58 forks source link

Update Dockerfile #27

Open SicLuceatLux opened 5 years ago

SicLuceatLux commented 5 years ago

Necessary for Netflix and Amazon add on. Easier to install when already shipped.

ehough commented 5 years ago

Thank you!

I'm going to test your changes to double-check that they work on my system as well. To make sure that we're on the same page, could you confirm which Netflix and Amazon add-ons you're using? I found these:

https://forum.kodi.tv/showthread.php?tid=329767

and

https://forum.kodi.tv/showthread.php?tid=331136

SicLuceatLux commented 5 years ago

Hi,

you are welcome. Yes, these are the correct ones.

If libnss3, libnss3-tools and libnspr4 are not present the addons will not start after the mendatory firstrun widevine installation. AFAIK these libs are required by widevine and are usually installed together with chrome if we consider a generic ubuntu desktop case.

comparable issue https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/44

Cyber1000's comment

_Hi,

I had it much easier with installing today:

latest Raspbian Stretch Lite
No Linux-UI, only console
Kodi 18.0-1
Raspberry Pi 3B
SDCard wih 32Gb (and only 2Gb used so far)
/boot/config.txt tweaked with gpu_mem=256 (for reference, don't think it matters here)

So nearly the same setup, but with Pi 3 instead of 3B+ and no grafical linux interface like LXDE.

I did:

aptitude install kodi-inputstream-adaptive libnss3 libnspr4
installed this "Amazon VOD" plugin
user under which kodi runs must have some rights to mount, unmount, ... .
My user is named "kodi" and so /etc/sudoers file must contain this:
kodi ALL=NOPASSWD:/bin/mount, /bin/umount, /sbin/losetup, /sbin/modprobe
started a film, kodi said, it had to activate and download from chrome OS, I accepted and waited
works!

My problems where that I had to add the entry in /etc/sudoers and install kodi-inputstream-adaptive, libnss3, libnspr4, I missed some of them out first place, but after that everything worked. I didn't have to copy files manually ..._

libnss3 is depending on libnspr4 so libnspr4 will be installed automatically..

After adding those libs there is no futher "hack" needed to get the netflix and amazon add ons working. Just add repo and follow the standard procedure.

gsantner commented 4 years ago

I didn't notice this PR, but I've run into same issue, see https://github.com/ehough/docker-kodi/issues/34.

grafik

Haven't checked PR changes, but I know that my additions fixed the problem.