Release Foscam HD - Video feed with camera controls, and motion/sound detection preview
Same 'Username required\n' debug error on motion alert with a FI9831P - exception thrown with error including debug entry below:

System version 1.4.1.10 / Application firmware 2.11.1.118

Running Openelec Kodi 14.1 on ARM7

20:14:12 T:1815651392 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: invalid literal for int() with base 10: 'Username required\n'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.foscam/service.py", line 167, in <module>
Main()
File "/storage/.kodi/addons/script.foscam/service.py", line 33, in __init__
self.alarm_check()
File "/storage/.kodi/addons/script.foscam/service.py", line 162, in alarm_check
self.duration_shown = preview.start()
File "/storage/.kodi/addons/script.foscam/resources/lib/gui.py", line 103, in start
duration = self.extract_mjpeg.start()
File "/storage/.kodi/addons/script.foscam/resources/lib/utils.py", line 171, in start
frame = get_mjpeg_frame(self.stream)
File "/storage/.kodi/addons/script.foscam/resources/lib/utils.py", line 142, in get_mjpeg_frame
bytes = int(content_length.split(':')[-1])
ValueError: invalid literal for int() with base 10: 'Username required\n'
-->End of Python script error report<--


My settings.xml

<settings>
<setting id="check_interval" value="5" />
<setting id="debug" value="0" />
<setting id="host" value="192.168.1.18" />
<setting id="mjpeg" value="false" />
<setting id="motion_enable" value="true" />
<setting id="motion_sensitivity" value="0" />
<setting id="motion_trigger_interval" value="5" />
<setting id="password" value="REMOVED MY ACTUAL PASSWORD" />
<setting id="port" value="88" />
<setting id="preview_duration" value="10" />
<setting id="preview_position" value="Bottom right" />
<setting id="preview_scaling" value="1.000000" />
<setting id="sound_enable" value="false" />
<setting id="sound_sensitivity" value="1" />
<setting id="sound_trigger_interval" value="15" />
<setting id="username" value="admin" />
</settings>

Cheers!
Reply


Messages In This Thread
RE: Foscam HD - by George - 2014-03-27, 17:30
RE: Foscam HD - Video feed with camera controls, and motion/sound detection preview - by quixers - 2015-02-12, 22:37


Logout Mark Read Team Forum Stats Members Help
Foscam HD - Video feed with camera controls, and motion/sound detection preview1
This forum uses Lukasz Tkacz MyBB addons.