SYMBOL INDEX (655 symbols across 58 files) FILE: motioneye/cleanup.py function start (line 30) | def start(): function stop (line 41) | def stop(): function running (line 58) | def running(): function _run_process (line 62) | def _run_process(): function _do_cleanup (line 79) | def _do_cleanup(): FILE: motioneye/config.py function text_double (line 137) | def text_double(v, data): function webcontrol_html_output (line 141) | def webcontrol_html_output(v, data): function text_scale (line 145) | def text_scale(v, data): function webcontrol_interface (line 149) | def webcontrol_interface(v, data): function netcam_keepalive_params (line 187) | def netcam_keepalive_params(v, data): function netcam_tolerant_check_params (line 197) | def netcam_tolerant_check_params(v, data): function netcam_use_tcp_params (line 206) | def netcam_use_tcp_params(v, data): function netcam_params (line 215) | def netcam_params(v, data): function adapt_config_directives (line 251) | def adapt_config_directives(data, mapping): function additional_section (line 266) | def additional_section(func): function additional_config (line 270) | def additional_config(func): function get_main (line 274) | def get_main(as_lines=False): function set_main (line 340) | def set_main(main_config): function get_camera_ids (line 390) | def get_camera_ids(filter_valid=True): function get_enabled_local_motion_cameras (line 434) | def get_enabled_local_motion_cameras(): function get_network_shares (line 443) | def get_network_shares(): function get_camera (line 468) | def get_camera(camera_id, as_lines=False): function set_camera (line 557) | def set_camera(camera_id, camera_config): function add_camera (line 632) | def add_camera(device_details): function rem_camera (line 730) | def rem_camera(camera_id): function main_ui_to_dict (line 761) | def main_ui_to_dict(ui): function main_dict_to_ui (line 809) | def main_dict_to_ui(data): function input_sanity_check (line 842) | def input_sanity_check(regex, value, key, msg): function motion_camera_ui_to_dict (line 852) | def motion_camera_ui_to_dict(ui, prev_config=None): function motion_camera_dict_to_ui (line 1390) | def motion_camera_dict_to_ui(data): function simple_mjpeg_camera_ui_to_dict (line 1897) | def simple_mjpeg_camera_ui_to_dict(ui, prev_config=None): function simple_mjpeg_camera_dict_to_ui (line 1918) | def simple_mjpeg_camera_dict_to_ui(data): function get_action_commands (line 1941) | def get_action_commands(camera_config): function get_monitor_command (line 1961) | def get_monitor_command(camera_id): function invalidate_monitor_commands (line 1973) | def invalidate_monitor_commands(): function backup (line 1977) | def backup(): function restore (line 2022) | def restore(content): function invalidate (line 2057) | def invalidate(): function _value_to_python (line 2070) | def _value_to_python(value): function _python_to_value (line 2089) | def _python_to_value(value): function _conf_to_dict (line 2103) | def _conf_to_dict(lines, list_names=None, no_convert=None): function _dict_to_conf (line 2145) | def _dict_to_conf(lines, data, list_names=None): function _set_default_motion (line 2245) | def _set_default_motion(data): function _set_default_motion_camera (line 2262) | def _set_default_motion_camera(camera_id, data): function _set_default_simple_mjpeg_camera (line 2377) | def _set_default_simple_mjpeg_camera(camera_id, data): function get_additional_structure (line 2382) | def get_additional_structure(camera, separators=False): function _get_additional_config (line 2436) | def _get_additional_config(data, camera_id=None): function _set_additional_config (line 2464) | def _set_additional_config(data, camera_id=None): FILE: motioneye/controls/diskctl.py function _list_mounts (line 24) | def _list_mounts(): function _list_disks (line 69) | def _list_disks(): function _list_disks_dev_by_id (line 77) | def _list_disks_dev_by_id(): function _list_disks_fdisk (line 157) | def _list_disks_fdisk(): function list_mounted_disks (line 233) | def list_mounted_disks(): function list_mounted_partitions (line 258) | def list_mounted_partitions(): FILE: motioneye/controls/mmalctl.py function list_devices (line 23) | def list_devices(): FILE: motioneye/controls/powerctl.py class PowerControl (line 28) | class PowerControl: method _find_prog (line 48) | def _find_prog(prog: str) -> str: method _exec_prog (line 52) | def _exec_prog(cls, prog: str, args: str = '') -> bool: method _run_procedure (line 58) | def _run_procedure(cls, prog_sequence: Dict[str, str], log_msg: str) -... method shut_down (line 70) | def shut_down(cls) -> bool: method reboot (line 74) | def reboot(cls) -> bool: FILE: motioneye/controls/smbctl.py function start (line 29) | def start(): function stop (line 36) | def stop(): function find_mount_cifs (line 40) | def find_mount_cifs(): function make_mount_point (line 48) | def make_mount_point(server, share, username): function list_mounts (line 66) | def list_mounts(): function update_mounts (line 131) | def update_mounts(): function test_share (line 173) | def test_share(server, share, smb_ver, username, password, root_directory): function _mount (line 209) | def _mount(server, share, smb_ver, username, password): function _umount (line 268) | def _umount(server, share, username): function _is_motioneye_mount (line 293) | def _is_motioneye_mount(mount_point): function _umount_all (line 298) | def _umount_all(): function _check_mounts (line 303) | def _check_mounts(): FILE: motioneye/controls/tzctl.py function get_time_zone (line 27) | def get_time_zone(): function _get_time_zone_symlink (line 31) | def _get_time_zone_symlink(): function _get_time_zone_md5 (line 56) | def _get_time_zone_md5(): function _set_time_zone (line 92) | def _set_time_zone(time_zone): function timeZone (line 123) | def timeZone(): FILE: motioneye/controls/v4l2ctl.py function find_v4l2_ctl (line 36) | def find_v4l2_ctl(): function list_devices (line 44) | def list_devices(): function list_resolutions (line 80) | def list_resolutions(device): function device_present (line 138) | def device_present(device): function find_persistent_device (line 149) | def find_persistent_device(device): function list_ctrls (line 166) | def list_ctrls(device): FILE: motioneye/controls/wifictl.py function _get_wifi_settings (line 26) | def _get_wifi_settings(): function _set_wifi_settings (line 76) | def _set_wifi_settings(s): function network (line 205) | def network(): function wifi_enabled (line 210) | def wifi_enabled(): function wifi_network_name (line 227) | def wifi_network_name(): function wifi_network_key (line 246) | def wifi_network_key(): FILE: motioneye/handlers/action.py class ActionHandler (line 32) | class ActionHandler(BaseHandler): method post (line 33) | async def post(self, camera_id, action): method run_command_bg (line 79) | def run_command_bg(self, command): method check_command (line 90) | def check_command(self): method snapshot (line 117) | async def snapshot(self, camera_id): method record_start (line 121) | def record_start(self, camera_id): method record_stop (line 124) | def record_stop(self, camera_id): FILE: motioneye/handlers/base.py class BaseHandler (line 29) | class BaseHandler(RequestHandler): method get_all_arguments (line 30) | def get_all_arguments(self) -> dict: method get_json (line 52) | def get_json(self): method get_argument (line 62) | def get_argument(self, name, default=None, strip=True): method finish (line 76) | def finish(self, chunk=None): method render (line 86) | def render(self, template_name, content_type='text/html', **context): method finish_json (line 96) | def finish_json(self, data=None): method get_current_user (line 102) | def get_current_user(self): method get_pref (line 173) | def get_pref(self, key): method set_pref (line 176) | def set_pref(self, key, value): method _handle_request_exception (line 179) | def _handle_request_exception(self, exception): method auth (line 201) | def auth(admin=False, prompt=True): method get (line 219) | def get(self, *args, **kwargs): method post (line 222) | def post(self, *args, **kwargs): method head (line 225) | def head(self, *args, **kwargs): class NotFoundHandler (line 229) | class NotFoundHandler(BaseHandler): method get (line 230) | def get(self, *args, **kwargs): class ManifestHandler (line 236) | class ManifestHandler(BaseHandler): method get (line 237) | def get(self): FILE: motioneye/handlers/config.py class ConfigHandler (line 48) | class ConfigHandler(BaseHandler): method get (line 49) | async def get(self, camera_id=None, op=None): method post (line 72) | async def post(self, camera_id=None, op=None): method get_config (line 97) | async def get_config(self, camera_id): method set_config (line 139) | async def set_config(self, camera_id): method _handle_list_cameras_response (line 358) | def _handle_list_cameras_response(self, resp: utils.GetCamerasResponse): method finish_json_with_error (line 364) | def finish_json_with_error(self, error_msg: str): method check_finished (line 367) | def check_finished(self, cameras: list, length: list) -> bool: method _handle_get_config_response (line 375) | def _handle_get_config_response( method list (line 414) | async def list(self): method add_camera (line 530) | async def add_camera(self): method rem_camera (line 575) | def rem_camera(self, camera_id): method backup (line 588) | def backup(self): method restore (line 601) | def restore(self): method _on_test_result (line 616) | def _on_test_result(cls, result): method test (line 634) | async def test(self, camera_id): method authorize (line 794) | def authorize(self, camera_id): FILE: motioneye/handlers/log.py class LogHandler (line 29) | class LogHandler(BaseHandler): method get (line 35) | def get(self, name): FILE: motioneye/handlers/login.py class LoginHandler (line 24) | class LoginHandler(BaseHandler): method get (line 26) | def get(self): method post (line 29) | def post(self): FILE: motioneye/handlers/main.py class MainHandler (line 24) | class MainHandler(BaseHandler): method get (line 25) | def get(self): FILE: motioneye/handlers/movie.py class MovieHandler (line 29) | class MovieHandler(BaseHandler): method get (line 30) | async def get(self, camera_id, op, filename=None): method post (line 47) | async def post(self, camera_id, op, filename=None, group=None): method list (line 68) | async def list(self, camera_id): method preview (line 111) | async def preview(self, camera_id, filename): method delete (line 164) | async def delete(self, camera_id, filename): method delete_all (line 199) | async def delete_all(self, camera_id, group): FILE: motioneye/handlers/movie_playback.py class MoviePlaybackHandler (line 32) | class MoviePlaybackHandler(StaticFileHandler, BaseHandler): method get (line 38) | async def get(self, camera_id, filename=None, include_body=True): method on_finish (line 99) | def on_finish(self): method get_absolute_path (line 111) | def get_absolute_path(self, root, path): method validate_absolute_path (line 114) | def validate_absolute_path(self, root, absolute_path): class MovieDownloadHandler (line 118) | class MovieDownloadHandler(MoviePlaybackHandler): method set_extra_headers (line 119) | def set_extra_headers(self, filename): FILE: motioneye/handlers/picture.py class PictureHandler (line 41) | class PictureHandler(BaseHandler): method compute_etag (line 42) | def compute_etag(self): method get (line 45) | async def get(self, camera_id, op, filename=None, group=None): method post (line 75) | async def post(self, camera_id, op, filename=None, group=None): method current (line 94) | async def current(self, camera_id, retry=0): method list (line 157) | async def list(self, camera_id): method frame (line 199) | async def frame(self, camera_id): method download (line 242) | async def download(self, camera_id, filename): method preview (line 290) | async def preview(self, camera_id, filename): method delete (line 342) | async def delete(self, camera_id, filename): method zipped (line 377) | async def zipped(self, camera_id, group): method timelapse (line 472) | async def timelapse(self, camera_id, group): method delete_all (line 635) | async def delete_all(self, camera_id, group): method try_finish (line 669) | def try_finish(self, content): FILE: motioneye/handlers/power.py class PowerHandler (line 28) | class PowerHandler(BaseHandler): method post (line 30) | def post(self, op): method shut_down (line 37) | def shut_down(self): method reboot (line 41) | def reboot(self): FILE: motioneye/handlers/prefs.py class PrefsHandler (line 26) | class PrefsHandler(BaseHandler): method get (line 27) | def get(self, key=None): method post (line 30) | def post(self, key=None): FILE: motioneye/handlers/relay_event.py class RelayEventHandler (line 26) | class RelayEventHandler(BaseHandler): method post (line 28) | def post(self): method upload_media_file (line 94) | def upload_media_file(self, filename, camera_id, camera_config): FILE: motioneye/handlers/update.py class UpdateHandler (line 32) | class UpdateHandler(BaseHandler): method get (line 34) | def get(self): method post (line 52) | def post(self): FILE: motioneye/handlers/version.py class VersionHandler (line 27) | class VersionHandler(BaseHandler): method get (line 28) | def get(self): FILE: motioneye/mediafiles.py function _list_media_files (line 107) | def _list_media_files( function _remove_older_files (line 152) | def _remove_older_files( function find_ffmpeg (line 206) | def find_ffmpeg() -> tuple: function cleanup_media (line 268) | def cleanup_media(media_type: str) -> None: function make_movie_preview (line 329) | def make_movie_preview(camera_config: dict, full_path: str) -> typing.Un... function list_media (line 398) | def list_media( function get_media_path (line 497) | def get_media_path(camera_config, path, media_type): function get_media_content (line 503) | def get_media_content(camera_config, path, media_type): function get_zipped_content (line 521) | def get_zipped_content( function make_timelapse_movie (line 625) | def make_timelapse_movie(camera_config, framerate, interval, group): function check_timelapse_movie (line 849) | def check_timelapse_movie(): function get_media_preview (line 865) | def get_media_preview(camera_config, path, media_type, width, height): function del_media_content (line 910) | def del_media_content(camera_config, path, media_type): function del_media_group (line 948) | def del_media_group(camera_config, group, media_type): function get_current_picture (line 983) | def get_current_picture(camera_config, width, height): function get_prepared_cache (line 1028) | def get_prepared_cache(key): function set_prepared_cache (line 1032) | def set_prepared_cache(data): FILE: motioneye/meyectl.py function load_l10n (line 36) | def load_l10n(): function find_command (line 83) | def find_command(command): function load_settings (line 99) | def load_settings(): function configure_logging (line 206) | def configure_logging(cmd, log_to_file=False): function configure_tornado (line 240) | def configure_tornado(): function make_arg_parser (line 248) | def make_arg_parser(command=None): function print_usage_and_exit (line 305) | def print_usage_and_exit(code): function print_version_and_exit (line 312) | def print_version_and_exit(): function main (line 319) | def main(): FILE: motioneye/mjpgclient.py class MjpgClient (line 32) | class MjpgClient(IOStream): method __init__ (line 40) | def __init__(self, camera_id, port, username, password, auth_mode): method do_connect (line 57) | def do_connect(self) -> 'Future[MjpgClient]': method get_port (line 62) | def get_port(self): method on_close (line 65) | def on_close(self): method get_last_jpg (line 93) | def get_last_jpg(self): method get_last_access (line 97) | def get_last_access(self): method get_last_jpg_time (line 100) | def get_last_jpg_time(self): method get_fps (line 106) | def get_fps(self): method _check_error (line 117) | def _check_error(self) -> bool: method _error (line 137) | def _error(self, error) -> None: method _get_future_result (line 149) | def _get_future_result(self, future: Future) -> Tuple[bool, Any]: method _on_connect (line 161) | def _on_connect(self, future: Future) -> None: method _seek_http (line 189) | def _seek_http(self, future: Future = False) -> None: method _on_http (line 198) | def _on_http(self, future: Future) -> None: method _seek_www_authenticate (line 209) | def _seek_www_authenticate(self) -> None: method _on_before_www_authenticate (line 213) | def _on_before_www_authenticate(self, future: Future) -> None: method _on_www_authenticate (line 221) | def _on_www_authenticate(self, future: Future) -> None: method _seek_content_length (line 261) | def _seek_content_length(self): method _on_before_content_length (line 268) | def _on_before_content_length(self, future: Future): method _on_content_length (line 276) | def _on_content_length(self, future: Future): method _on_jpg (line 292) | def _on_jpg(self, future: Future): function start (line 305) | def start(): function get_jpg (line 313) | def get_jpg(camera_id): function get_fps (line 350) | def get_fps(camera_id): function close_all (line 358) | def close_all(invalidate=False): function _garbage_collector (line 367) | def _garbage_collector(): FILE: motioneye/monitor.py function get_monitor_info (line 33) | def get_monitor_info(camera_id): function _exec_monitor_command (line 52) | def _exec_monitor_command(command): FILE: motioneye/motionctl.py function find_motion (line 39) | def find_motion(): function start (line 77) | def start(deferred=False): function stop (line 146) | def stop(invalidate=False): function running (line 192) | def running(): function started (line 211) | def started(): function get_motion_detection (line 215) | async def get_motion_detection(camera_id) -> utils.GetMotionDetectionRes... function set_motion_detection (line 243) | async def set_motion_detection(camera_id, enabled): function take_snapshot (line 280) | async def take_snapshot(camera_id): function is_motion_detected (line 306) | def is_motion_detected(camera_id): function set_motion_detected (line 310) | def set_motion_detected(camera_id, motion_detected): function camera_id_to_motion_camera_id (line 320) | def camera_id_to_motion_camera_id(camera_id): function motion_camera_id_to_camera_id (line 339) | def motion_camera_id_to_camera_id(motion_camera_id): function is_motion_pre42 (line 354) | def is_motion_pre42(): function is_motion_post43 (line 362) | def is_motion_post43(): function has_h264_omx_support (line 370) | def has_h264_omx_support(): function has_h264_v4l2m2m_support (line 380) | def has_h264_v4l2m2m_support(): function has_h264_nvenc_support (line 390) | def has_h264_nvenc_support(): function has_h264_nvmpi_support (line 400) | def has_h264_nvmpi_support(): function has_hevc_nvmpi_support (line 410) | def has_hevc_nvmpi_support(): function has_hevc_nvenc_support (line 420) | def has_hevc_nvenc_support(): function has_h264_qsv_support (line 430) | def has_h264_qsv_support(): function has_hevc_qsv_support (line 440) | def has_hevc_qsv_support(): function has_h264_nvenc_support (line 450) | def has_h264_nvenc_support(): function has_h264_nvmpi_support (line 460) | def has_h264_nvmpi_support(): function has_hevc_nvmpi_support (line 470) | def has_hevc_nvmpi_support(): function has_hevc_nvenc_support (line 480) | def has_hevc_nvenc_support(): function has_h264_qsv_support (line 490) | def has_h264_qsv_support(): function has_hevc_qsv_support (line 500) | def has_hevc_qsv_support(): function resolution_is_valid (line 510) | def resolution_is_valid(width, height): function _disable_initial_motion_detection (line 522) | async def _disable_initial_motion_detection(): function _get_pid (line 537) | def _get_pid(): FILE: motioneye/motioneye_init.py function main (line 25) | def main(): FILE: motioneye/prefs.py function _load (line 35) | def _load(): function _save (line 69) | def _save(): function get (line 92) | def get(username, key=None): function set (line 106) | def set(username, key, value): FILE: motioneye/remote.py function _make_request (line 29) | def _make_request( function _send_request (line 78) | async def _send_request(request: HTTPRequest) -> HTTPResponse: function pretty_camera_url (line 96) | def pretty_camera_url(local_config, camera=True): function _remote_params (line 126) | def _remote_params(local_config): function make_camera_response (line 146) | def make_camera_response(c): function list_cameras (line 150) | async def list_cameras(local_config) -> utils.GetCamerasResponse: function get_config (line 200) | async def get_config(local_config) -> utils.GetConfigResponse: function set_config (line 246) | async def set_config(local_config, ui_config) -> Union[str, None]: function test (line 295) | async def test(local_config, data) -> utils.CommonExternalResponse: function get_current_picture (line 340) | async def get_current_picture( function list_media (line 391) | async def list_media(local_config, media_type, prefix) -> utils.ListMedi... function get_media_content (line 445) | async def get_media_content( function make_zipped_content (line 488) | async def make_zipped_content( function get_zipped_content (line 549) | async def get_zipped_content( function make_timelapse_movie (line 596) | async def make_timelapse_movie( function check_timelapse_movie (line 667) | async def check_timelapse_movie(local_config, group) -> utils.CommonExte... function get_timelapse_movie (line 711) | async def get_timelapse_movie(local_config, key, group) -> utils.CommonE... function get_media_preview (line 756) | async def get_media_preview( function del_media_content (line 798) | async def del_media_content( function del_media_group (line 843) | async def del_media_group( function exec_action (line 890) | async def exec_action(local_config, action) -> utils.CommonExternalRespo... FILE: motioneye/sendmail.py function send_mail (line 43) | def send_mail(server, port, account, password, tls, _from, to, subject, ... function make_message (line 78) | def make_message(subject, message, camera_id, moment, timespan, callback): function parse_options (line 157) | def parse_options(parser, args): function main (line 173) | def main(parser, args): FILE: motioneye/sendtelegram.py function send_message (line 32) | def send_message(api_key, chat_id, message, files): function make_message (line 60) | def make_message(message, camera_id, moment, timespan, callback): function parse_options (line 129) | def parse_options(parser, args): function main (line 143) | def main(parser, args): FILE: motioneye/server.py class Daemon (line 51) | class Daemon: method __init__ (line 52) | def __init__(self, pid_file, run_callback=None): method daemonize (line 56) | def daemonize(self): method del_pid (line 94) | def del_pid(self): method running (line 101) | def running(self): method start (line 116) | def start(self): method stop (line 125) | def stop(self): function _log_request (line 161) | def _log_request(handler): function configure_signals (line 230) | def configure_signals(): function test_requirements (line 247) | def test_requirements(): function make_media_folders (line 339) | def make_media_folders(): function start_motion (line 360) | def start_motion(): function parse_options (line 394) | def parse_options(parser, args): function make_app (line 406) | def make_app(debug: bool = False) -> Application: function run (line 416) | def run(): function main (line 488) | def main(parser, args, command): FILE: motioneye/shell.py function parse_options (line 21) | def parse_options(parser, args): function main (line 25) | def main(parser, args): FILE: motioneye/static/js/frame.js function setupCameraFrame (line 7) | function setupCameraFrame() { function refreshCameraFrame (line 77) | function refreshCameraFrame() { FILE: motioneye/static/js/main.js function hash (line 240) | function hash(msg) { function f (line 291) | function f(s, x, y, z) { function ROTL (line 300) | function ROTL(x, n) { function toHexStr (line 304) | function toHexStr(n) { function splitUrl (line 316) | function splitUrl(url) { function qualifyUrl (line 340) | function qualifyUrl(url) { function qualifyPath (line 345) | function qualifyPath(path) { function computeSignature (line 361) | function computeSignature(method, path, body) { function addAuthParams (line 381) | function addAuthParams(method, url, body) { function isAdmin (line 404) | function isAdmin() { function ajax (line 408) | function ajax(method, url, data, callback, error, timeout) { function getCookie (line 490) | function getCookie(name) { function setCookie (line 511) | function setCookie(name, value, days) { function showErrorMessage (line 525) | function showErrorMessage(message) { function doLogout (line 533) | function doLogout() { function isAuthCookiesSet (line 539) | function isAuthCookiesSet() { function authorizeUpload (line 554) | function authorizeUpload() { function initUI (line 566) | function initUI() { function addVideoControl (line 1013) | function addVideoControl(name, min, max, step) { function getPageContainer (line 1055) | function getPageContainer() { function getCameraFrames (line 1063) | function getCameraFrames() { function getCameraFrame (line 1073) | function getCameraFrame(cameraId) { function getCameraProgresses (line 1083) | function getCameraProgresses() { function getCameraProgress (line 1087) | function getCameraProgress(cameraId) { function setLayoutColumns (line 1091) | function setLayoutColumns(columns) { function updateLayout (line 1106) | function updateLayout() { function showCameraOverlay (line 1170) | function showCameraOverlay() { function hideCameraOverlay (line 1180) | function hideCameraOverlay() { function enableMaskEdit (line 1191) | function enableMaskEdit(cameraId, maskClass, width, height) { function disableMaskEdit (line 1396) | function disableMaskEdit(maskClass) { function disableMaskOverlay (line 1412) | function disableMaskOverlay() { function clearMask (line 1426) | function clearMask(cameraId) { function openSettings (line 1437) | function openSettings(cameraId) { function closeSettings (line 1457) | function closeSettings() { function isSettingsOpen (line 1478) | function isSettingsOpen() { function updateConfigUI (line 1482) | function updateConfigUI() { function configUiValid (line 1738) | function configUiValid() { function prefsUi2Dict (line 1755) | function prefsUi2Dict() { function dict2PrefsUi (line 1767) | function dict2PrefsUi(dict) { function applyPrefs (line 1777) | function applyPrefs(dict) { function savePrefs (line 1792) | function savePrefs() { function mainUi2Dict (line 1797) | function mainUi2Dict() { function dict2MainUi (line 1853) | function dict2MainUi(dict) { function cameraUi2Dict (line 1921) | function cameraUi2Dict() { function dict2CameraUi (line 2172) | function dict2CameraUi(dict) { function beginProgress (line 2565) | function beginProgress(cameraIds) { function endProgress (line 2592) | function endProgress() { function downloadFile (line 2618) | function downloadFile(path) { function deleteFile (line 2632) | function deleteFile(path, callback) { function uploadFile (line 2637) | function uploadFile(path, input, callback) { function showApply (line 2653) | function showApply() { function hideApply (line 2663) | function hideApply() { function isApplyVisible (line 2674) | function isApplyVisible() { function doApply (line 2680) | function doApply() { function doShutDown (line 2793) | function doShutDown() { function doReboot (line 2820) | function doReboot() { function doRemCamera (line 2853) | function doRemCamera() { function doUpdate (line 2886) | function doUpdate() { function doBackup (line 2937) | function doBackup() { function doRestore (line 2941) | function doRestore() { function doTestUpload (line 3032) | function doTestUpload() { function doTestEmail (line 3087) | function doTestEmail() { function doTestTelegram (line 3127) | function doTestTelegram() { function doTestNetworkShare (line 3162) | function doTestNetworkShare() { function doDownloadZipped (line 3201) | function doDownloadZipped(cameraId, groupKey) { function doDeleteFile (line 3215) | function doDeleteFile(path, callback) { function doDeleteAllFiles (line 3240) | function doDeleteAllFiles(mediaType, cameraId, groupKey, callback) { function doAction (line 3282) | function doAction(cameraId, action, callback) { function showUrl (line 3294) | function showUrl(url) { function showSnapshotUrl (line 3315) | function showSnapshotUrl() { function showMjpgUrl (line 3321) | function showMjpgUrl() { function showEmbedUrl (line 3327) | function showEmbedUrl() { function fetchCurrentConfig (line 3335) | function fetchCurrentConfig(onFetch) { function fetchCurrentCameraConfig (line 3452) | function fetchCurrentCameraConfig(onFetch) { function pushMainConfig (line 3480) | function pushMainConfig(reboot) { function pushCameraConfig (line 3494) | function pushCameraConfig(reboot) { function getCameraIdsByInstance (line 3519) | function getCameraIdsByInstance() { function getCameraIds (line 3545) | function getCameraIds() { function runAlertDialog (line 3554) | function runAlertDialog(message, onOk, options) { function runConfirmDialog (line 3568) | function runConfirmDialog(message, onYes, options) { function runLoginDialog (line 3582) | function runLoginDialog(retry) { function runPictureDialog (line 3654) | function runPictureDialog(entries, pos, mediaType, onDelete) { function runAddCameraDialog (line 3869) | function runAddCameraDialog() { function runTimelapseDialog (line 4199) | function runTimelapseDialog(cameraId, groupKey, group) { function runMediaDialog (line 4329) | function runMediaDialog(cameraId, mediaType) { function addCameraFrameUi (line 4726) | function addCameraFrameUi(cameraConfig) { function recreateCameraFrames (line 5141) | function recreateCameraFrames(cameras) { function doConfigureCamera (line 5191) | function doConfigureCamera(cameraId) { function isBrowserFullScreen (line 5203) | function isBrowserFullScreen() { function doFullScreenCamera (line 5212) | function doFullScreenCamera(cameraId) { function doSingleViewCamera (line 5244) | function doSingleViewCamera(cameraId) { function doExitSingleViewCamera (line 5285) | function doExitSingleViewCamera() { function doExitFullScreenCamera (line 5316) | function doExitFullScreenCamera(remainInSingleView = true) { function updateCameraTopButtonState (line 5348) | function updateCameraTopButtonState() { function isSingleView (line 5364) | function isSingleView() { function refreshCameraFrames (line 5368) | function refreshCameraFrames() { function checkCameraErrors (line 5467) | function checkCameraErrors() { function doAuth (line 5487) | function doAuth() { FILE: motioneye/static/js/ui.js function makeCheckBox (line 7) | function makeCheckBox($input) { function makeSlider (line 68) | function makeSlider($input, minVal, maxVal, snapMode, ticks, ticksNumber... function makeProgressBar (line 317) | function makeProgressBar($div) { function makeTextValidator (line 342) | function makeTextValidator($input, required) { function makeComboValidator (line 399) | function makeComboValidator($select, required) { function makeNumberValidator (line 456) | function makeNumberValidator($input, minVal, maxVal, floating, sign, req... function makeTimeValidator (line 561) | function makeTimeValidator($input) { function makeUrlValidator (line 618) | function makeUrlValidator($input) { function makeFileValidator (line 667) | function makeFileValidator($input, required) { function makeCustomValidator (line 724) | function makeCustomValidator($input, isValidFunc) { function makeStrippedInput (line 776) | function makeStrippedInput($input) { function makeCharReplacer (line 782) | function makeCharReplacer($input, oldChars, newStr) { function showModalDialog (line 791) | function showModalDialog(content, onClose, onShow, stack) { function hideModalDialog (line 840) | function hideModalDialog() { function updateModalDialogPosition (line 880) | function updateModalDialogPosition() { function makeModalDialogButtons (line 900) | function makeModalDialogButtons(buttonsInfo) { function makeModalDialogTitleBar (line 954) | function makeModalDialogTitleBar(options) { function runModalDialog (line 979) | function runModalDialog(options) { function showPopupMessage (line 1115) | function showPopupMessage(message, type) { FILE: motioneye/tasks.py function start (line 41) | def start(): function stop (line 57) | def stop(): function add (line 63) | def add(when, func, tag=None, callback=None, **params): function _check_tasks (line 90) | def _check_tasks(): function _load (line 110) | def _load(): function _save (line 138) | def _save(): FILE: motioneye/template.py function _init_jinja (line 33) | def _init_jinja(): function _reload_lang (line 53) | def _reload_lang(): function add_template_path (line 58) | def add_template_path(path): function add_context (line 65) | def add_context(name, value): function render (line 72) | def render(template_name, **context): FILE: motioneye/update.py function get_os_version (line 26) | def get_os_version(): function _get_os_version_lsb_release (line 36) | def _get_os_version_lsb_release(): function _get_os_version_uname (line 50) | def _get_os_version_uname(): function compare_versions (line 62) | def compare_versions(version1, version2): function get_all_versions (line 99) | def get_all_versions(): function perform_update (line 109) | def perform_update(version): FILE: motioneye/uploadservices.py class UploadService (line 40) | class UploadService: method __init__ (line 45) | def __init__(self, camera_id, **kwargs): method __str__ (line 48) | def __str__(self): method get_authorize_url (line 52) | def get_authorize_url(cls): method test_access (line 55) | def test_access(self): method upload_file (line 58) | def upload_file(self, target_dir, filename, camera_name): method upload_data (line 112) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 115) | def dump(self): method load (line 118) | def load(self, data): method save (line 121) | def save(self): method log (line 128) | def log(self, level, message, **kwargs): method debug (line 133) | def debug(self, message, **kwargs): method info (line 136) | def info(self, message, **kwargs): method error (line 139) | def error(self, message, **kwargs): method clean_cloud (line 142) | def clean_cloud(self, cloud_dir, local_folders): method get_service_classes (line 146) | def get_service_classes(): class GoogleBase (line 150) | class GoogleBase: method _init (line 159) | def _init(self): method _get_authorize_url (line 167) | def _get_authorize_url(cls): method _test_access (line 178) | def _test_access(self): method _dump (line 187) | def _dump(self): method _load (line 194) | def _load(self, data): method _request (line 204) | def _request(self, url, body=None, headers=None, retry_auth=True, meth... method _request_json (line 265) | def _request_json(self, url, body=None, headers=None, retry_auth=True,... method _request_credentials (line 275) | def _request_credentials(self, authorization_key): method _refresh_credentials (line 306) | def _refresh_credentials(self, refresh_token): class GoogleDrive (line 336) | class GoogleDrive(UploadService, GoogleBase): method __init__ (line 353) | def __init__(self, camera_id): method get_authorize_url (line 359) | def get_authorize_url(cls): method test_access (line 362) | def test_access(self): method upload_data (line 365) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 394) | def dump(self): method load (line 397) | def load(self, data): method _get_folder_id (line 400) | def _get_folder_id(self, path=''): method _get_folder_id_by_path (line 421) | def _get_folder_id_by_path(self, path): method _get_folder_id_by_name (line 433) | def _get_folder_id_by_name(self, parent_id, child_name, create=True): method _create_folder (line 476) | def _create_folder(self, parent_id, child_name): method clean_cloud (line 489) | def clean_cloud(self, cloud_dir, local_folders): method _get_children (line 512) | def _get_children(self, file_id): method _delete_file (line 525) | def _delete_file(self, file_id): method _get_file_metadata (line 531) | def _get_file_metadata(self, file_id): method _get_file_title (line 544) | def _get_file_title(self, file_id): class GooglePhoto (line 548) | class GooglePhoto(UploadService, GoogleBase): method __init__ (line 554) | def __init__(self, camera_id): method get_authorize_url (line 560) | def get_authorize_url(cls): method test_access (line 563) | def test_access(self): method upload_data (line 566) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 584) | def dump(self): method load (line 587) | def load(self, data): method _get_folder_id (line 590) | def _get_folder_id(self, path=''): method _get_folder_id_by_name (line 605) | def _get_folder_id_by_name(self, name, create=True): method _create_folder (line 629) | def _create_folder(self, parent_id, child_name): method _create_media (line 639) | def _create_media(self, uploadToken, camera_name): method _get_albums (line 663) | def _get_albums(self): method _filter_albums (line 670) | def _filter_albums(self, albums, title): class Dropbox (line 674) | class Dropbox(UploadService): method __init__ (line 686) | def __init__(self, camera_id): method get_authorize_url (line 694) | def get_authorize_url(cls): method test_access (line 703) | def test_access(self): method upload_data (line 727) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 742) | def dump(self): method load (line 749) | def load(self, data): method _clean_location (line 758) | def _clean_location(self): method _request (line 768) | def _request(self, url, body=None, headers=None, retry_auth=True): method _request_credentials (line 825) | def _request_credentials(self, authorization_key): method _refresh_credentials (line 854) | def _refresh_credentials(self, refresh_token): class Webdav (line 884) | class Webdav(UploadService): method __init__ (line 887) | def __init__(self, camera_id): method _request (line 895) | def _request(self, url, method, body=None): method _make_dirs (line 915) | def _make_dirs(self, path): method test_access (line 921) | def test_access(self): method upload_data (line 931) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 943) | def dump(self): method load (line 951) | def load(self, data): class FTP (line 962) | class FTP(UploadService): method __init__ (line 966) | def __init__(self, camera_id): method test_access (line 978) | def test_access(self): method upload_data (line 997) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 1010) | def dump(self): method load (line 1019) | def load(self, data): method _get_conn (line 1031) | def _get_conn(self, create=False): method _make_dirs (line 1047) | def _make_dirs(self, path, conn=None): class SFTP (line 1066) | class SFTP(UploadService): method __init__ (line 1069) | def __init__(self, camera_id): method curl_perform_filetransfer (line 1078) | def curl_perform_filetransfer(self, conn): method test_access (line 1096) | def test_access(self): method upload_data (line 1120) | def upload_data(self, filename, mime_type, data, ctime, camera_name): method dump (line 1126) | def dump(self): method load (line 1135) | def load(self, data): method _get_conn (line 1147) | def _get_conn(self, filename, auth_type='password'): class S3 (line 1187) | class S3(UploadService): method __init__ (line 1190) | def __init__(self, camera_id): method dump (line 1197) | def dump(self): method load (line 1205) | def load(self, data): method upload_file (line 1215) | def upload_file(self, target_dir, filename, camera_name): method test_access (line 1229) | def test_access(self): function get_authorize_url (line 1248) | def get_authorize_url(service_name): function get (line 1258) | def get(camera_id, service_name): function test_access (line 1282) | def test_access(camera_id, service_name, data): function update (line 1293) | def update(camera_id, service_name, settings): function upload_media_file (line 1299) | def upload_media_file(camera_id, camera_name, target_dir, service_name, ... function _load (line 1316) | def _load(): function _save (line 1365) | def _save(services): function clean_cloud (line 1395) | def clean_cloud(local_dir, data, info): function exist_in_local (line 1410) | def exist_in_local(folder, local_folders): function get_local_folders (line 1420) | def get_local_folders(dirpath): FILE: motioneye/utils/__init__.py class GetCurrentPictureResponse (line 74) | class GetCurrentPictureResponse: class ListMediaResponse (line 83) | class ListMediaResponse: class CommonExternalResponse (line 89) | class CommonExternalResponse: function cast_future (line 94) | def cast_future(obj: typing.Awaitable[typing.Any]) -> Future: function spawn_callback_timeout_wrapper (line 98) | def spawn_callback_timeout_wrapper( function pretty_size (line 104) | def pretty_size(size): function pretty_http_error (line 120) | def pretty_http_error(response): function make_str (line 140) | def make_str(s): function split_semicolon (line 155) | def split_semicolon(s): function get_disk_usage (line 171) | def get_disk_usage(path): function is_local_motion_camera (line 193) | def is_local_motion_camera(config): function is_remote_camera (line 203) | def is_remote_camera(config): function is_v4l2_camera (line 208) | def is_v4l2_camera(config): function is_mmal_camera (line 213) | def is_mmal_camera(config): function is_net_camera (line 218) | def is_net_camera(config): function is_simple_mjpeg_camera (line 223) | def is_simple_mjpeg_camera(config): function compute_signature (line 228) | def compute_signature(method, path, body: bytes, key): function parse_cookies (line 264) | def parse_cookies(cookies_headers): function build_basic_header (line 282) | def build_basic_header(username, password): function parse_basic_header (line 286) | def parse_basic_header(header): function build_digest_header (line 309) | def build_digest_header(method, url, username, password, state): function urlopen (line 409) | def urlopen(*args, **kwargs): function build_editable_mask_file (line 425) | def build_editable_mask_file( function build_mask_file_name (line 517) | def build_mask_file_name(camera_id, mask_class): function parse_editable_mask_file (line 528) | def parse_editable_mask_file( function call_subprocess (line 641) | def call_subprocess( FILE: motioneye/utils/dtconv.py function pretty_date_time (line 24) | def pretty_date_time(date_time, tzinfo=None, short=False): function pretty_date (line 63) | def pretty_date(d: Union[datetime.date, int]) -> str: function pretty_time (line 75) | def pretty_time(t: Union[datetime.time, datetime.timedelta]) -> str: function pretty_duration (line 87) | def pretty_duration(duration): FILE: motioneye/utils/http.py class StreamUrl (line 9) | class StreamUrl: method __str__ (line 19) | def __str__(self): method _get_dict_field_val (line 30) | def _get_dict_field_val(cls, k: Union[str, Hashable], v: Any) -> Any: method from_dict (line 37) | def from_dict(cls, d: dict): # -> typing.Self in Python >= v3.11 class RtmpUrl (line 48) | class RtmpUrl(StreamUrl): class RtspUrl (line 54) | class RtspUrl(StreamUrl): class MjpegUrl (line 60) | class MjpegUrl(StreamUrl): FILE: motioneye/utils/mjpeg.py function test_mjpeg_url (line 32) | def test_mjpeg_url( FILE: motioneye/utils/rtmp.py function test_rtmp_url (line 24) | def test_rtmp_url(data: dict) -> GetCamerasResponse: FILE: motioneye/utils/rtsp.py function test_rtsp_url (line 35) | def test_rtsp_url(data: dict) -> 'Future[GetCamerasResponse]': FILE: motioneye/webhook.py function parse_options (line 26) | def parse_options(parser, args): function main (line 33) | def main(parser, args): FILE: motioneye/wsswitch.py function _start_check_ws (line 26) | def _start_check_ws() -> None: function start (line 30) | def start() -> None: function _during_working_schedule (line 35) | def _during_working_schedule(now, working_schedule) -> bool: function _switch_motion_detection_status (line 75) | async def _switch_motion_detection_status( function _check_ws (line 107) | async def _check_ws() -> None: FILE: tests/__init__.py class AsyncMock (line 9) | class AsyncMock(mock.MagicMock): method __call__ (line 10) | def __call__(self, *args, **kwargs): method __await__ (line 18) | def __await__(self): class WebTestCase (line 22) | class WebTestCase(AsyncHTTPTestCase): method get_app (line 25) | def get_app(self): method get_handlers (line 29) | def get_handlers(self): method get_app_kwargs (line 32) | def get_app_kwargs(self): FILE: tests/test_handlers/__init__.py class HandlerTestCase (line 15) | class HandlerTestCase(AsyncHTTPTestCase): method get_app (line 18) | def get_app(self) -> Application: method get_handler (line 22) | def get_handler(self, request: MagicMock = None) -> T: FILE: tests/test_handlers/test_base.py class BaseHandlerTest (line 10) | class BaseHandlerTest(HandlerTestCase): method test_get_argument (line 13) | def test_get_argument(self): method test_get_argument_no_object_in_json (line 18) | def test_get_argument_no_object_in_json(self): method test_get_argument_empty_json (line 23) | def test_get_argument_empty_json(self): method test_get_argument_invalid_json (line 28) | def test_get_argument_invalid_json(self): method test_get_current_user (line 33) | def test_get_current_user(self): FILE: tests/test_handlers/test_login.py class LoginHandlerTest (line 9) | class LoginHandlerTest(HandlerTestCase): method test_get_login_no_params (line 12) | def test_get_login_no_params(self): method test_get_login_success (line 17) | def test_get_login_success(self): method test_get_login_fail (line 23) | def test_get_login_fail(self): method test_post (line 31) | def test_post(self): FILE: tests/test_mediafiles.py class TestMediaFiles (line 27) | class TestMediaFiles(unittest.TestCase): method setUpClass (line 29) | def setUpClass(cls): method tearDownClass (line 90) | def tearDownClass(cls): method test_list_media_files_recursive_all_files (line 95) | def test_list_media_files_recursive_all_files(self): method test_list_media_files_return_structure (line 108) | def test_list_media_files_return_structure(self): method test_list_media_files_filter_by_movie_extensions (line 132) | def test_list_media_files_filter_by_movie_extensions(self): method test_list_media_files_filter_by_picture_extensions (line 144) | def test_list_media_files_filter_by_picture_extensions(self): method test_list_media_files_non_recursive_with_sub_path (line 156) | def test_list_media_files_non_recursive_with_sub_path(self): method test_list_media_files_ungrouped_sub_path (line 170) | def test_list_media_files_ungrouped_sub_path(self): method test_list_media_files_nonexistent_sub_path (line 184) | def test_list_media_files_nonexistent_sub_path(self): method test_list_media_files_empty_directory (line 192) | def test_list_media_files_empty_directory(self): method test_list_media_files_performance_with_many_files (line 203) | def test_list_media_files_performance_with_many_files(self): method test_list_media_files_deep_recursion (line 226) | def test_list_media_files_deep_recursion(self): method test_list_media_files_no_recursion_with_sub_path_filter (line 243) | def test_list_media_files_no_recursion_with_sub_path_filter(self): FILE: tests/test_utils/test_http.py class TestRTSP (line 6) | class TestRTSP(unittest.TestCase): method test_url_construction (line 7) | def test_url_construction(self): FILE: tests/test_utils/test_mjpeg.py class UtilsMjpegTest (line 9) | class UtilsMjpegTest(WebTestCase): method setUp (line 10) | def setUp(self) -> None: method get_handlers (line 14) | def get_handlers(self): method test_test_mjpeg_url_invalid_data (line 29) | def test_test_mjpeg_url_invalid_data(self): method test_test_mjpeg_url_jpeg_cam (line 49) | def test_test_mjpeg_url_jpeg_cam(self): method test_test_mjpeg_url_mjpeg_cam (line 75) | def test_test_mjpeg_url_mjpeg_cam(self): FILE: tests/test_utils/test_rtmp.py class UtilsRtmpTest (line 6) | class UtilsRtmpTest(tornado.testing.AsyncTestCase): method test_test_rtmp_url (line 7) | def test_test_rtmp_url(self):