[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
Hello I am running kodibuntu and I have two strange things happening.

If I go to my list and select a tv show I get this error in the log

14:31:45 T:2830101312 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: No JSON object could be decoded
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/plugin.video.netflix-master/addon.py", line 36, in <module>
list.seasons(name, url, thumb)
File "/home/kodi/.kodi/addons/plugin.video.netflix-master/resources/list.py", line 399, in seasons
content = json.loads(content)['video']['seasons']
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
-->End of Python script error report<--
14:31:45 T:2993448768 ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/?mode=list_seasons&name=Royal%20Pains&thumb=%2fhome%2fkodi%2f.kodi%2fuserdata%2faddon_data%2fplugin.video.netflix%2fcache%2fcover%2f70143864.jpg&url=70143864
14:31:45 T:2993448768 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/?mode=list_seasons&name=Royal%20Pains&thumb=%2fhome%2fkodi%2f.kodi%2fuserdata%2faddon_data%2fplugin.video.netflix%2fcache%2fcover%2f70143864.jpg&url=70143864) failed
14:31:45 T:2830101312 NOTICE: Thread BackgroundLoader start, auto delete: false


If i select continue watching from the context menu it is fine it plays the next episode.


Other issue is no remote.

I have brought over the code from chrome launcher plugin

netflix.lirc file and put the following in launchBrowser.sh

url=$1
#start my changes
# lets find out if irxevent actually exist before we try to call them.
command -v irxevent >/dev/null 2>&1
IRXEVENT=$?

if [ $IRXEVENT -eq 0 ]; then
killall irxevent >/dev/null 2>&1
fi

# http://stackoverflow.com/questions/59895...-stored-in
#DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#echo "Director: $DIR"
if [ $IRXEVENT -eq 0 ]; then
irxevent -d netflix.lirc &
else
echo "irxevent is not installed, can't do remote control"
fi

/usr/bin/blackbox &
# end my changes
# notice the ampersand to send google chrome into back ground so that the script continues and we execute the xdotool below
/usr/bin/google-chrome --start-maximized --disable-translate --disable-new-tab-first-run --no-default-browser-check --no-first-run --kiosk "$url" &

That has got me up and running but the stop button does not work and back takes me back to kodi and then relaunches the plugin and starts playing again.

Should my remote work without my hacks ??

Cheers

Chris
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
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
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - by sirhcjw - 2015-12-24, 06:37
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 217