Skip to content

Commit 680e94f

Browse files
CopilotMichaIng
andcommitted
Initial plan for optimizing media file listing
Co-authored-by: MichaIng <28480705+MichaIng@users.noreply.github.com>
1 parent 813dd58 commit 680e94f

File tree

6 files changed

+289
-0
lines changed

6 files changed

+289
-0
lines changed

motioneye.egg-info/PKG-INFO

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
Metadata-Version: 2.4
2+
Name: motioneye
3+
Version: 0.43.1b5
4+
Summary: motioneye, a multilingual web interface for motion.
5+
Author: Jean Michault
6+
Author-email: Calin Crisan <ccrisan@gmail.com>
7+
Maintainer-email: MichaIng <micha@dietpi.com>
8+
License-Expression: GPL-3.0-or-later
9+
Project-URL: Homepage, https://github.com/motioneye-project/motioneye
10+
Project-URL: Source, https://github.com/motioneye-project/motioneye
11+
Project-URL: Changelog, https://github.com/motioneye-project/motioneye/releases
12+
Project-URL: Issue, https://github.com/motioneye-project/motioneye/issues
13+
Keywords: motion,video,surveillance,frontend
14+
Classifier: Operating System :: POSIX :: Linux
15+
Classifier: Programming Language :: Python :: 3
16+
Classifier: Topic :: Multimedia :: Video :: Capture
17+
Requires-Python: >=3.7
18+
Description-Content-Type: text/markdown
19+
License-File: LICENSE
20+
Requires-Dist: tornado>=6.5.0
21+
Requires-Dist: jinja2
22+
Requires-Dist: pillow
23+
Requires-Dist: pycurl
24+
Requires-Dist: babel
25+
Requires-Dist: boto3
26+
Dynamic: license-file
27+
28+
# What is motionEye?
29+
30+
**motionEye** is an online interface for the software [_motion_](https://motion-project.github.io/), a video surveillance program with motion detection.
31+
32+
Check out the [__wiki__](https://github.com/motioneye-project/motioneye/wiki) for more details. Changelog is available on the [__releases page__](https://github.com/motioneye-project/motioneye/releases).
33+
34+
From version 0.43, **motionEye** is multilingual:
35+
36+
| [![](https://hosted.weblate.org/widgets/motioneye-project/-/287x66-black.png)<br>![](https://hosted.weblate.org/widgets/motioneye-project/-/multi-auto.svg)](https://hosted.weblate.org/engage/motioneye-project/) |
37+
| -: |
38+
39+
You can contribute to translations on [__Weblate__](https://hosted.weblate.org/projects/motioneye-project).
40+
41+
# Installation
42+
43+
1. Install **Python 3.7 or later** and build dependencies
44+
45+
_Here the commands for APT-based Linux distributions are given._
46+
47+
Thanks to pre-compiled wheels from PyPI, installing motionEye usually does not require anything but Python 3 and cURL with the ability to do HTTPS network requests:
48+
```sh
49+
sudo apt update
50+
sudo apt --no-install-recommends install ca-certificates curl python3
51+
```
52+
53+
On **ARMv6/ARMv7 (32-bit), RISC-V, and other rare CPU architectures** additional build dependencies may be required to compile the [Pillow](https://pypi.org/project/pillow/) and [PycURL](https://pypi.org/project/pycurl/) modules:
54+
```sh
55+
sudo apt --no-install-recommends install python3-dev gcc libjpeg62-turbo-dev libcurl4-openssl-dev libssl-dev
56+
```
57+
58+
2. Install the Python package manager `pip`
59+
```sh
60+
curl -sSfO 'https://bootstrap.pypa.io/get-pip.py'
61+
sudo python3 get-pip.py
62+
rm get-pip.py
63+
```
64+
65+
**On recent distro versions, like Debian 12/Bookworm, Ubuntu 23.04/Lunar, and later**, the `libpython3.*-stdlib` package ships a file `/usr/lib/python3.*/EXTERNALLY-MANAGED`, which prevents the installation of Python modules outside of `venv` environments.
66+
motionEye however has a small number of dependencies with no strict version requirements and hence is very unlikely to break any Python package you might have installed via APT. To bypass this block, add `break-system-packages=true` to the `[global]` section of your `pip.conf`:
67+
```sh
68+
grep -q '\[global\]' /etc/pip.conf 2> /dev/null || printf '%b' '[global]\n' | sudo tee -a /etc/pip.conf > /dev/null
69+
sudo sed -i '/^\[global\]/a\break-system-packages=true' /etc/pip.conf
70+
```
71+
72+
3. Install and setup **motionEye**
73+
```sh
74+
sudo python3 -m pip install --pre motioneye
75+
sudo motioneye_init
76+
```
77+
_NB: `motioneye_init` currently assumes either an APT- or RPM-based distribution with `systemd` as init system. For a manual setup, config and service files can be found here: <https://github.com/motioneye-project/motioneye/tree/dev/motioneye/extra>_
78+
79+
# Upgrade
80+
81+
```sh
82+
sudo systemctl stop motioneye
83+
sudo python3 -m pip install --upgrade --pre motioneye
84+
sudo systemctl start motioneye
85+
```
86+
87+
# Accessing the user interface
88+
89+
After having successfully followed the installation instructions, the motionEye server should be running on your system and listening on port **8765**. Fire up your favorite web browser and visit the following URL (replacing `[your_ip]` with... well, your system's IP address):
90+
91+
```
92+
http://[your_ip]:8765/
93+
```
94+
95+
Use usernamme _admin_ with empty password when prompted for credentials. For security, __please do set up a proper password for the admin user__, at least if you plan to make your motionEye installation accessible from the Internet.

motioneye.egg-info/SOURCES.txt

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
LICENSE
2+
README.md
3+
pyproject.toml
4+
motioneye/__init__.py
5+
motioneye/cleanup.py
6+
motioneye/config.py
7+
motioneye/mediafiles.py
8+
motioneye/meyectl.py
9+
motioneye/mjpgclient.py
10+
motioneye/monitor.py
11+
motioneye/motionctl.py
12+
motioneye/motioneye_init.py
13+
motioneye/prefs.py
14+
motioneye/remote.py
15+
motioneye/sendmail.py
16+
motioneye/sendtelegram.py
17+
motioneye/server.py
18+
motioneye/settings.py
19+
motioneye/shell.py
20+
motioneye/tasks.py
21+
motioneye/template.py
22+
motioneye/update.py
23+
motioneye/uploadservices.py
24+
motioneye/webhook.py
25+
motioneye/wsswitch.py
26+
motioneye.egg-info/PKG-INFO
27+
motioneye.egg-info/SOURCES.txt
28+
motioneye.egg-info/dependency_links.txt
29+
motioneye.egg-info/entry_points.txt
30+
motioneye.egg-info/requires.txt
31+
motioneye.egg-info/top_level.txt
32+
motioneye/controls/__init__.py
33+
motioneye/controls/diskctl.py
34+
motioneye/controls/mmalctl.py
35+
motioneye/controls/powerctl.py
36+
motioneye/controls/smbctl.py
37+
motioneye/controls/tzctl.py
38+
motioneye/controls/v4l2ctl.py
39+
motioneye/controls/wifictl.py
40+
motioneye/extra/linux_init
41+
motioneye/extra/motioneye.conf.sample
42+
motioneye/extra/motioneye.systemd
43+
motioneye/extra/motioneye.sysv
44+
motioneye/handlers/__init__.py
45+
motioneye/handlers/action.py
46+
motioneye/handlers/base.py
47+
motioneye/handlers/config.py
48+
motioneye/handlers/log.py
49+
motioneye/handlers/login.py
50+
motioneye/handlers/main.py
51+
motioneye/handlers/movie.py
52+
motioneye/handlers/movie_playback.py
53+
motioneye/handlers/picture.py
54+
motioneye/handlers/power.py
55+
motioneye/handlers/prefs.py
56+
motioneye/handlers/relay_event.py
57+
motioneye/handlers/update.py
58+
motioneye/handlers/version.py
59+
motioneye/locale/ar/LC_MESSAGES/motioneye.mo
60+
motioneye/locale/bn/LC_MESSAGES/motioneye.mo
61+
motioneye/locale/ca/LC_MESSAGES/motioneye.mo
62+
motioneye/locale/cs/LC_MESSAGES/motioneye.mo
63+
motioneye/locale/da/LC_MESSAGES/motioneye.mo
64+
motioneye/locale/de/LC_MESSAGES/motioneye.mo
65+
motioneye/locale/el/LC_MESSAGES/motioneye.mo
66+
motioneye/locale/en/LC_MESSAGES/motioneye.mo
67+
motioneye/locale/es/LC_MESSAGES/motioneye.mo
68+
motioneye/locale/fi/LC_MESSAGES/motioneye.mo
69+
motioneye/locale/fr/LC_MESSAGES/motioneye.mo
70+
motioneye/locale/hi/LC_MESSAGES/motioneye.mo
71+
motioneye/locale/hu/LC_MESSAGES/motioneye.mo
72+
motioneye/locale/it/LC_MESSAGES/motioneye.mo
73+
motioneye/locale/ja/LC_MESSAGES/motioneye.mo
74+
motioneye/locale/ko/LC_MESSAGES/motioneye.mo
75+
motioneye/locale/ms/LC_MESSAGES/motioneye.mo
76+
motioneye/locale/nb_NO/LC_MESSAGES/motioneye.mo
77+
motioneye/locale/ne/LC_MESSAGES/motioneye.mo
78+
motioneye/locale/nl/LC_MESSAGES/motioneye.mo
79+
motioneye/locale/pa/LC_MESSAGES/motioneye.mo
80+
motioneye/locale/pl/LC_MESSAGES/motioneye.mo
81+
motioneye/locale/pt/LC_MESSAGES/motioneye.mo
82+
motioneye/locale/ro/LC_MESSAGES/motioneye.mo
83+
motioneye/locale/ru/LC_MESSAGES/motioneye.mo
84+
motioneye/locale/sk/LC_MESSAGES/motioneye.mo
85+
motioneye/locale/sv/LC_MESSAGES/motioneye.mo
86+
motioneye/locale/ta/LC_MESSAGES/motioneye.mo
87+
motioneye/locale/tr/LC_MESSAGES/motioneye.mo
88+
motioneye/locale/uk/LC_MESSAGES/motioneye.mo
89+
motioneye/locale/zh/LC_MESSAGES/motioneye.mo
90+
motioneye/scripts/migrateconf.sh
91+
motioneye/scripts/relayevent.sh
92+
motioneye/static/css/frame.css
93+
motioneye/static/css/jquery.timepicker.min.css
94+
motioneye/static/css/main.css
95+
motioneye/static/css/ui.css
96+
motioneye/static/fnt/mavenpro-black-webfont.woff
97+
motioneye/static/fnt/mavenpro-bold-webfont.woff
98+
motioneye/static/fnt/mavenpro-medium-webfont.woff
99+
motioneye/static/fnt/mavenpro-regular-webfont.woff
100+
motioneye/static/img/IEC5007_On_Symbol.svg
101+
motioneye/static/img/IEC5008_Off_Symbol.svg
102+
motioneye/static/img/apply-progress.gif
103+
motioneye/static/img/arrows.svg
104+
motioneye/static/img/camera-action-button-alarm-off.svg
105+
motioneye/static/img/camera-action-button-alarm-on.svg
106+
motioneye/static/img/camera-action-button-down.svg
107+
motioneye/static/img/camera-action-button-left.svg
108+
motioneye/static/img/camera-action-button-light-off.svg
109+
motioneye/static/img/camera-action-button-light-on.svg
110+
motioneye/static/img/camera-action-button-lock.svg
111+
motioneye/static/img/camera-action-button-preset.svg
112+
motioneye/static/img/camera-action-button-record-start.svg
113+
motioneye/static/img/camera-action-button-record-stop.svg
114+
motioneye/static/img/camera-action-button-right.svg
115+
motioneye/static/img/camera-action-button-snapshot.svg
116+
motioneye/static/img/camera-action-button-unlock.svg
117+
motioneye/static/img/camera-action-button-up.svg
118+
motioneye/static/img/camera-action-button-zoom-in.svg
119+
motioneye/static/img/camera-action-button-zoom-out.svg
120+
motioneye/static/img/camera-progress.gif
121+
motioneye/static/img/camera-top-buttons.svg
122+
motioneye/static/img/combo-box-arrow.svg
123+
motioneye/static/img/main-loading-progress.gif
124+
motioneye/static/img/modal-progress.gif
125+
motioneye/static/img/motioneye-icon.svg
126+
motioneye/static/img/motioneye-logo.svg
127+
motioneye/static/img/no-camera.svg
128+
motioneye/static/img/no-preview.svg
129+
motioneye/static/img/slider-arrow.svg
130+
motioneye/static/img/small-progress.gif
131+
motioneye/static/img/top-bar-buttons.svg
132+
motioneye/static/img/validation-error.svg
133+
motioneye/static/js/css-browser-selector.min.js
134+
motioneye/static/js/frame.js
135+
motioneye/static/js/gettext.min.js
136+
motioneye/static/js/jquery.min.js
137+
motioneye/static/js/jquery.mousewheel.min.js
138+
motioneye/static/js/jquery.timepicker.min.js
139+
motioneye/static/js/main.js
140+
motioneye/static/js/motioneye.ar.json
141+
motioneye/static/js/motioneye.bn.json
142+
motioneye/static/js/motioneye.ca.json
143+
motioneye/static/js/motioneye.cs.json
144+
motioneye/static/js/motioneye.da.json
145+
motioneye/static/js/motioneye.de.json
146+
motioneye/static/js/motioneye.el.json
147+
motioneye/static/js/motioneye.en.json
148+
motioneye/static/js/motioneye.es.json
149+
motioneye/static/js/motioneye.fi.json
150+
motioneye/static/js/motioneye.fr.json
151+
motioneye/static/js/motioneye.hi.json
152+
motioneye/static/js/motioneye.hu.json
153+
motioneye/static/js/motioneye.it.json
154+
motioneye/static/js/motioneye.ja.json
155+
motioneye/static/js/motioneye.ko.json
156+
motioneye/static/js/motioneye.ms.json
157+
motioneye/static/js/motioneye.nb_NO.json
158+
motioneye/static/js/motioneye.ne.json
159+
motioneye/static/js/motioneye.nl.json
160+
motioneye/static/js/motioneye.pa.json
161+
motioneye/static/js/motioneye.pl.json
162+
motioneye/static/js/motioneye.pt.json
163+
motioneye/static/js/motioneye.ro.json
164+
motioneye/static/js/motioneye.ru.json
165+
motioneye/static/js/motioneye.sk.json
166+
motioneye/static/js/motioneye.sv.json
167+
motioneye/static/js/motioneye.ta.json
168+
motioneye/static/js/motioneye.tr.json
169+
motioneye/static/js/motioneye.uk.json
170+
motioneye/static/js/motioneye.vi.json
171+
motioneye/static/js/motioneye.zh.json
172+
motioneye/static/js/ui.js
173+
motioneye/static/js/version.js
174+
motioneye/templates/base.html
175+
motioneye/templates/main.html
176+
motioneye/templates/manifest.json
177+
motioneye/templates/version.html
178+
motioneye/utils/__init__.py
179+
motioneye/utils/dtconv.py
180+
motioneye/utils/http.py
181+
motioneye/utils/mjpeg.py
182+
motioneye/utils/rtmp.py
183+
motioneye/utils/rtsp.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[console_scripts]
2+
meyectl = motioneye.meyectl:main
3+
motioneye_init = motioneye.motioneye_init:main

motioneye.egg-info/requires.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
tornado>=6.5.0
2+
jinja2
3+
pillow
4+
pycurl
5+
babel
6+
boto3

motioneye.egg-info/top_level.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
motioneye

0 commit comments

Comments
 (0)