[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
I've just about got this plugin working on openelec. I'm running chrome from a chrooted ubuntu jail. I'm getting some quirky behavior though. I have a script which sets some permissions and copies some files into the jail before launching chrome. chrome-launcher is configured to run this script:

Code:
#!/bin/bash

chmod -R a+rwX /dev/snd
# copy some files

/storage/data/ubuntu/usr/sbin/chroot /storage/data/ubuntu /bin/bash -x << EOF
chmod 1777 /dev/shm
lircd
su retro
/usr/local/bin/browser.sh
EOF

browser.sh is a slightly modified copy of the linux shell script included in this plugin (the one that fires up irexec, xdotools and all that).

When I execute this script from the command line all works perfectly. When I run it from the UI and let chrome-launcher execute the script, I get no sound. Can any of you devs think of any permissions issues I could be running into between running from the CL as root and running from kodi? My understanding is that kodi runs as root. Secondly, how can I debug this? How do I configure kodi to log the output from this script?

If this works well, I'll try to post some steps for setting this up for you openelec users.
Reply


Messages In This Thread
Who's Watching is empty? - by RiverBend - 2015-01-08, 18:55
Full-screen mode - by oakertood - 2015-03-29, 01:08
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - by jdwilliams19 - 2015-06-28, 17:30
25% - by Mattlock - 2015-07-06, 03:56
Additional/Original Browser Option? - by durv - 2015-09-07, 05:07
[RELEASE] NetfliXBMC - EMPTY LISTS - by Nibar - 2015-12-08, 03:38
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 217