[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
I don't know if anyone else is expecting the problem that audio is not working on Linux (xbmc, ALSA) but to suspend the audio I made a small workaround last night in the code of the plugin.
It basically suspends xbmc audio to free the ALSA audio device and tells xbmc to stop playing navigation sounds.
The problematic thing with this patch is that it enables the xbmc sounds again before the video stream stops but it works quite well for me.

492 elif osLinux:
493 xbmc.audioSuspend()
494 xbmc.enableNavSounds(False)
495 xbmc.executebuiltin("RunPlugin(plugin://plugin.program.chrome.launcher/?url="+urllib.quote_plus(url)+"&mode=showSite&kiosk="+kiosk+"&userAgent="+urllib.quote_plus(userAgent)+")")
........
502 subprocess.Popen('xdotool mousemove 9999 9999', shell=True)
503 xbmc.audioResume()
504 xbmc.enableNavSounds(True)
Reply


Messages In This Thread
Search empty? - by cgrey - 2014-01-11, 06:13
Not working on windows 7 - by dandiodati - 2014-02-26, 21:55
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - by mr.willem - 2014-09-20, 00:33
Problems with this addon - by builderjer - 2014-11-30, 19:55
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)7