updated code
This commit is contained in:
Binary file not shown.
319
app/logs/app.log
Normal file
319
app/logs/app.log
Normal file
@@ -0,0 +1,319 @@
|
||||
2025-05-12 09:17:14,077 - INFO - Initializing playlist...
|
||||
2025-05-12 09:17:14,077 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:17:14,735 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:17:14,736 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:17:15,274 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:17:15,274 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:17:15,894 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:17:15,894 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:17:19,686 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:17:19,686 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:17:19,688 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:17:19,688 - INFO - Playlist initialization complete.
|
||||
2025-05-12 09:17:19,689 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:17:19,689 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:17:19,690 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:17:19,691 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:17:19,697 - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* Running on all addresses (0.0.0.0)
|
||||
* Running on http://127.0.0.1:1025
|
||||
* Running on http://172.29.169.189:1025
|
||||
2025-05-12 09:17:19,697 - INFO - [33mPress CTRL+C to quit[0m
|
||||
2025-05-12 09:17:20,259 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:17:20,259 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:17:20,795 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:17:20,795 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:17:21,299 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:17:21,299 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:17:24,891 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:17:24,891 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:17:24,892 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:17:24,892 - INFO - Playlist check complete.
|
||||
2025-05-12 09:17:26,789 - INFO - 127.0.0.1 - - [12/May/2025 09:17:26] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:17:27,015 - INFO - 127.0.0.1 - - [12/May/2025 09:17:27] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:18:08,442 - INFO - 127.0.0.1 - - [12/May/2025 09:18:08] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:18:08,698 - INFO - 127.0.0.1 - - [12/May/2025 09:18:08] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:18:08,827 - INFO - 127.0.0.1 - - [12/May/2025 09:18:08] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
|
||||
2025-05-12 09:20:34,764 - INFO - 127.0.0.1 - - [12/May/2025 09:20:34] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:35,018 - INFO - 127.0.0.1 - - [12/May/2025 09:20:35] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:36,762 - INFO - 127.0.0.1 - - [12/May/2025 09:20:36] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:39,586 - INFO - 127.0.0.1 - - [12/May/2025 09:20:39] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:40,726 - INFO - 127.0.0.1 - - [12/May/2025 09:20:40] "[36mGET /static/settings.html HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:41,079 - INFO - 127.0.0.1 - - [12/May/2025 09:20:41] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:46,313 - INFO - 127.0.0.1 - - [12/May/2025 09:20:46] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:46,677 - INFO - 127.0.0.1 - - [12/May/2025 09:20:46] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:48,702 - INFO - 127.0.0.1 - - [12/May/2025 09:20:48] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:50,046 - INFO - 127.0.0.1 - - [12/May/2025 09:20:50] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:20:51,024 - INFO - 127.0.0.1 - - [12/May/2025 09:20:51] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
|
||||
2025-05-12 09:20:51,626 - INFO - 127.0.0.1 - - [12/May/2025 09:20:51] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:20:51,629 - INFO - 127.0.0.1 - - [12/May/2025 09:20:51] "GET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:21:06,922 - INFO - 127.0.0.1 - - [12/May/2025 09:21:06] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:21:06,926 - INFO - 127.0.0.1 - - [12/May/2025 09:21:06] "GET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:21:23,114 - INFO - 127.0.0.1 - - [12/May/2025 09:21:23] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:21:23,422 - INFO - 127.0.0.1 - - [12/May/2025 09:21:23] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:22:24,892 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:22:24,892 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:22:25,544 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:22:25,544 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:22:26,217 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:22:26,217 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:22:26,925 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:22:26,925 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:22:31,387 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:22:31,388 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:22:31,389 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:22:31,389 - INFO - Playlist check complete.
|
||||
2025-05-12 09:27:31,390 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:27:31,390 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:27:31,973 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:27:31,974 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:27:32,580 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:27:32,580 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:27:33,239 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:27:33,239 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:27:37,809 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:27:37,809 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:27:37,810 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:27:37,810 - INFO - Playlist check complete.
|
||||
2025-05-12 09:27:47,304 - INFO - 127.0.0.1 - - [12/May/2025 09:27:47] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
|
||||
2025-05-12 09:28:22,524 - INFO - 127.0.0.1 - - [12/May/2025 09:28:22] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:28:22,789 - INFO - 127.0.0.1 - - [12/May/2025 09:28:22] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:28:23,673 - INFO - 127.0.0.1 - - [12/May/2025 09:28:23] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:28:24,017 - INFO - 127.0.0.1 - - [12/May/2025 09:28:24] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:28:30,449 - INFO - 127.0.0.1 - - [12/May/2025 09:28:30] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:30:10,032 - INFO - 127.0.0.1 - - [12/May/2025 09:30:10] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:30:10,038 - INFO - 127.0.0.1 - - [12/May/2025 09:30:10] "GET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:30:17,043 - INFO - 127.0.0.1 - - [12/May/2025 09:30:17] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:30:19,160 - INFO - 127.0.0.1 - - [12/May/2025 09:30:19] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:30:19,163 - INFO - 127.0.0.1 - - [12/May/2025 09:30:19] "GET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:30:21,122 - INFO - 127.0.0.1 - - [12/May/2025 09:30:21] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:30:22,322 - INFO - 127.0.0.1 - - [12/May/2025 09:30:22] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
|
||||
2025-05-12 09:30:25,296 - INFO - 127.0.0.1 - - [12/May/2025 09:30:25] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:30:30,131 - INFO - 127.0.0.1 - - [12/May/2025 09:30:30] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:32:14,326 - INFO - 127.0.0.1 - - [12/May/2025 09:32:14] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:32:29,333 - INFO - 127.0.0.1 - - [12/May/2025 09:32:29] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:32:37,810 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:32:37,810 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:32:38,407 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:32:38,409 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:32:39,010 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:32:39,010 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:32:39,590 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:32:39,591 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:32:44,805 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:32:44,806 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:32:44,806 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:32:44,806 - INFO - Playlist check complete.
|
||||
2025-05-12 09:32:45,038 - INFO - 127.0.0.1 - - [12/May/2025 09:32:45] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:32:45,301 - INFO - 127.0.0.1 - - [12/May/2025 09:32:45] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:32:59,906 - INFO - 127.0.0.1 - - [12/May/2025 09:32:59] "GET / HTTP/1.1" 200 -
|
||||
2025-05-12 09:33:00,263 - INFO - 127.0.0.1 - - [12/May/2025 09:33:00] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:33:13,933 - INFO - 127.0.0.1 - - [12/May/2025 09:33:13] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:37:44,807 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:37:44,807 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:37:45,376 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:37:45,378 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:37:46,313 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:37:46,313 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:37:47,221 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:37:47,221 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:37:51,952 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:37:51,952 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:37:51,953 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:37:51,953 - INFO - Playlist check complete.
|
||||
2025-05-12 09:38:01,054 - INFO - 127.0.0.1 - - [12/May/2025 09:38:01] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:40:04,902 - INFO - 127.0.0.1 - - [12/May/2025 09:40:04] "[36mGET / HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:40:05,148 - INFO - 127.0.0.1 - - [12/May/2025 09:40:05] "[36mGET /updated_playlist.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:40:11,492 - INFO - 127.0.0.1 - - [12/May/2025 09:40:11] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:40:11,803 - INFO - 127.0.0.1 - - [12/May/2025 09:40:11] "GET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:40:18,247 - INFO - 127.0.0.1 - - [12/May/2025 09:40:18] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:40:33,727 - INFO - 127.0.0.1 - - [12/May/2025 09:40:33] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:40:34,785 - INFO - 127.0.0.1 - - [12/May/2025 09:40:34] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
|
||||
2025-05-12 09:40:36,809 - INFO - 127.0.0.1 - - [12/May/2025 09:40:36] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:40:36,813 - INFO - 127.0.0.1 - - [12/May/2025 09:40:36] "GET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:40:52,161 - INFO - 127.0.0.1 - - [12/May/2025 09:40:52] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:41:14,098 - INFO - 127.0.0.1 - - [12/May/2025 09:41:14] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:41:14,413 - INFO - 127.0.0.1 - - [12/May/2025 09:41:14] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:42:51,954 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:42:51,955 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:42:52,495 - INFO - 127.0.0.1 - - [12/May/2025 09:42:52] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:42:52,543 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:42:52,544 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:42:53,067 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:42:53,068 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:42:53,646 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:42:53,646 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:42:57,984 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:42:57,985 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:42:57,985 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:42:57,986 - INFO - Playlist check complete.
|
||||
2025-05-12 09:43:07,547 - INFO - 127.0.0.1 - - [12/May/2025 09:43:07] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:43:23,052 - INFO - 127.0.0.1 - - [12/May/2025 09:43:23] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:44:04,360 - INFO - 127.0.0.1 - - [12/May/2025 09:44:04] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:44:04,673 - INFO - 127.0.0.1 - - [12/May/2025 09:44:04] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:44:16,471 - INFO - 127.0.0.1 - - [12/May/2025 09:44:16] "GET / HTTP/1.1" 200 -
|
||||
2025-05-12 09:44:16,826 - INFO - 127.0.0.1 - - [12/May/2025 09:44:16] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:44:28,996 - INFO - 127.0.0.1 - - [12/May/2025 09:44:28] "GET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:44:29,318 - INFO - 127.0.0.1 - - [12/May/2025 09:44:29] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:44:44,706 - INFO - 127.0.0.1 - - [12/May/2025 09:44:44] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:44:45,420 - INFO - 127.0.0.1 - - [12/May/2025 09:44:45] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
|
||||
2025-05-12 09:45:40,192 - INFO - 127.0.0.1 - - [12/May/2025 09:45:40] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:46:28,995 - INFO - 127.0.0.1 - - [12/May/2025 09:46:28] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:46:29,312 - INFO - 127.0.0.1 - - [12/May/2025 09:46:29] "GET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:46:44,345 - INFO - 127.0.0.1 - - [12/May/2025 09:46:44] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:46:44,348 - INFO - 127.0.0.1 - - [12/May/2025 09:46:44] "[36mGET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:46:59,739 - INFO - 127.0.0.1 - - [12/May/2025 09:46:59] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:47:00,059 - INFO - 127.0.0.1 - - [12/May/2025 09:47:00] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:47:38,417 - INFO - 127.0.0.1 - - [12/May/2025 09:47:38] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:47:56,754 - INFO - 127.0.0.1 - - [12/May/2025 09:47:56] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:47:57,986 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:47:57,987 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:47:58,550 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:47:58,550 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:47:59,043 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:47:59,043 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:47:59,561 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:47:59,561 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:48:03,324 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:48:03,325 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:48:03,326 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:48:03,326 - INFO - Playlist check complete.
|
||||
2025-05-12 09:48:44,453 - INFO - 127.0.0.1 - - [12/May/2025 09:48:44] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:48:59,819 - INFO - 127.0.0.1 - - [12/May/2025 09:48:59] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:49:15,709 - INFO - 127.0.0.1 - - [12/May/2025 09:49:15] "GET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1" 200 -
|
||||
2025-05-12 09:49:16,023 - INFO - 127.0.0.1 - - [12/May/2025 09:49:16] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:49:16,711 - INFO - 127.0.0.1 - - [12/May/2025 09:49:16] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:49:54,730 - INFO - 127.0.0.1 - - [12/May/2025 09:49:54] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:50:12,093 - INFO - 127.0.0.1 - - [12/May/2025 09:50:12] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:51:00,799 - INFO - 127.0.0.1 - - [12/May/2025 09:51:00] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:51:15,815 - INFO - 127.0.0.1 - - [12/May/2025 09:51:15] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:51:32,040 - INFO - 127.0.0.1 - - [12/May/2025 09:51:32] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:52:10,403 - INFO - 127.0.0.1 - - [12/May/2025 09:52:10] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:52:10,725 - INFO - 127.0.0.1 - - [12/May/2025 09:52:10] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:52:28,060 - INFO - 127.0.0.1 - - [12/May/2025 09:52:28] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:53:03,327 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:53:03,327 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:53:03,930 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:53:03,930 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 09:53:04,385 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 09:53:04,386 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 09:53:04,905 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 09:53:04,906 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:53:08,477 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 09:53:08,478 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:53:08,478 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:53:08,478 - INFO - Playlist check complete.
|
||||
2025-05-12 09:53:16,626 - INFO - 127.0.0.1 - - [12/May/2025 09:53:16] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:53:31,656 - INFO - 127.0.0.1 - - [12/May/2025 09:53:31] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:53:47,042 - INFO - 127.0.0.1 - - [12/May/2025 09:53:47] "GET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1" 200 -
|
||||
2025-05-12 09:53:47,299 - INFO - 127.0.0.1 - - [12/May/2025 09:53:47] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:54:16,501 - INFO - 127.0.0.1 - - [12/May/2025 09:54:16] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 09:54:25,977 - INFO - 127.0.0.1 - - [12/May/2025 09:54:25] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:54:43,668 - INFO - 127.0.0.1 - - [12/May/2025 09:54:43] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:55:31,837 - INFO - 127.0.0.1 - - [12/May/2025 09:55:31] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:55:31,840 - INFO - 127.0.0.1 - - [12/May/2025 09:55:31] "GET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:55:46,863 - INFO - 127.0.0.1 - - [12/May/2025 09:55:46] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:55:47,173 - INFO - 127.0.0.1 - - [12/May/2025 09:55:47] "GET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1" 200 -
|
||||
2025-05-12 09:56:03,028 - INFO - 127.0.0.1 - - [12/May/2025 09:56:03] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:56:48,596 - INFO - Initializing playlist...
|
||||
2025-05-12 09:56:48,597 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:56:49,195 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:56:49,195 - INFO - No changes detected in the server playlist. Skipping download.
|
||||
2025-05-12 09:56:49,196 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:56:49,196 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:56:49,197 - INFO - Playlist initialization complete.
|
||||
2025-05-12 09:56:49,197 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:56:49,198 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:56:49,198 - INFO - Checking for playlist updates...
|
||||
2025-05-12 09:56:49,199 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 09:56:49,204 - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
||||
* Running on all addresses (0.0.0.0)
|
||||
* Running on http://127.0.0.1:1025
|
||||
* Running on http://172.29.169.189:1025
|
||||
2025-05-12 09:56:49,205 - INFO - [33mPress CTRL+C to quit[0m
|
||||
2025-05-12 09:56:49,760 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 09:56:49,761 - INFO - No changes detected in the server playlist. Skipping download.
|
||||
2025-05-12 09:56:49,761 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 09:56:49,762 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 09:56:49,762 - INFO - Playlist check complete.
|
||||
2025-05-12 09:56:49,784 - INFO - 127.0.0.1 - - [12/May/2025 09:56:49] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:56:50,039 - INFO - 127.0.0.1 - - [12/May/2025 09:56:50] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:56:59,389 - INFO - 127.0.0.1 - - [12/May/2025 09:56:59] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:57:47,594 - INFO - 127.0.0.1 - - [12/May/2025 09:57:47] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:58:02,613 - INFO - 127.0.0.1 - - [12/May/2025 09:58:02] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 09:58:18,038 - INFO - 127.0.0.1 - - [12/May/2025 09:58:18] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:58:56,379 - INFO - 127.0.0.1 - - [12/May/2025 09:58:56] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:59:14,692 - INFO - 127.0.0.1 - - [12/May/2025 09:59:14] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:59:14,940 - INFO - 127.0.0.1 - - [12/May/2025 09:59:14] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 09:59:16,488 - INFO - 127.0.0.1 - - [12/May/2025 09:59:16] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 10:00:02,604 - INFO - 127.0.0.1 - - [12/May/2025 10:00:02] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:00:17,617 - INFO - 127.0.0.1 - - [12/May/2025 10:00:17] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:00:33,033 - INFO - 127.0.0.1 - - [12/May/2025 10:00:33] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:01:11,401 - INFO - 127.0.0.1 - - [12/May/2025 10:01:11] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:01:29,812 - INFO - 127.0.0.1 - - [12/May/2025 10:01:29] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:01:49,763 - INFO - Checking for playlist updates...
|
||||
2025-05-12 10:01:49,764 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 10:01:50,321 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 10:01:50,321 - INFO - No changes detected in the server playlist. Skipping download.
|
||||
2025-05-12 10:01:50,322 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 10:01:50,323 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 10:01:50,323 - INFO - Playlist check complete.
|
||||
2025-05-12 10:02:17,257 - INFO - 127.0.0.1 - - [12/May/2025 10:02:17] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:02:32,587 - INFO - 127.0.0.1 - - [12/May/2025 10:02:32] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:02:47,707 - INFO - 127.0.0.1 - - [12/May/2025 10:02:47] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:02:48,020 - INFO - 127.0.0.1 - - [12/May/2025 10:02:48] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:03:26,384 - INFO - 127.0.0.1 - - [12/May/2025 10:03:26] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:03:44,813 - INFO - 127.0.0.1 - - [12/May/2025 10:03:44] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:04:16,489 - INFO - 127.0.0.1 - - [12/May/2025 10:04:16] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 10:04:32,772 - INFO - 127.0.0.1 - - [12/May/2025 10:04:32] "[36mGET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:04:32,772 - INFO - 127.0.0.1 - - [12/May/2025 10:04:32] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:04:47,793 - INFO - 127.0.0.1 - - [12/May/2025 10:04:47] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:04:48,113 - INFO - 127.0.0.1 - - [12/May/2025 10:04:48] "[36mGET /static/resurse/IMG_20250506_080609.jpg HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:05:04,012 - INFO - 127.0.0.1 - - [12/May/2025 10:05:04] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:05:42,384 - INFO - 127.0.0.1 - - [12/May/2025 10:05:42] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:05:42,701 - INFO - 127.0.0.1 - - [12/May/2025 10:05:42] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:06:00,710 - INFO - 127.0.0.1 - - [12/May/2025 10:06:00] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:06:48,254 - INFO - 127.0.0.1 - - [12/May/2025 10:06:48] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:06:50,323 - INFO - Checking for playlist updates...
|
||||
2025-05-12 10:06:50,323 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 10:06:50,902 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 10:06:50,903 - INFO - No changes detected in the server playlist. Skipping download.
|
||||
2025-05-12 10:06:50,904 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 10:06:50,906 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 10:06:50,906 - INFO - Playlist check complete.
|
||||
2025-05-12 10:07:03,591 - INFO - 127.0.0.1 - - [12/May/2025 10:07:03] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:07:18,712 - INFO - 127.0.0.1 - - [12/May/2025 10:07:18] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:07:57,380 - INFO - 127.0.0.1 - - [12/May/2025 10:07:57] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:08:15,061 - INFO - 127.0.0.1 - - [12/May/2025 10:08:15] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:08:15,380 - INFO - 127.0.0.1 - - [12/May/2025 10:08:15] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:09:03,200 - INFO - 127.0.0.1 - - [12/May/2025 10:09:03] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:09:16,486 - INFO - 127.0.0.1 - - [12/May/2025 10:09:16] "GET /updated_playlist.json HTTP/1.1" 200 -
|
||||
2025-05-12 10:09:18,540 - INFO - 127.0.0.1 - - [12/May/2025 10:09:18] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:09:33,714 - INFO - 127.0.0.1 - - [12/May/2025 10:09:33] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:10:12,373 - INFO - 127.0.0.1 - - [12/May/2025 10:10:12] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:10:30,056 - INFO - 127.0.0.1 - - [12/May/2025 10:10:30] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:11:18,308 - INFO - 127.0.0.1 - - [12/May/2025 10:11:18] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:11:33,327 - INFO - 127.0.0.1 - - [12/May/2025 10:11:33] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:11:48,667 - INFO - 127.0.0.1 - - [12/May/2025 10:11:48] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:11:48,919 - INFO - 127.0.0.1 - - [12/May/2025 10:11:48] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:11:50,907 - INFO - Checking for playlist updates...
|
||||
2025-05-12 10:11:50,907 - INFO - Starting playlist file download using app configuration...
|
||||
2025-05-12 10:11:51,464 - INFO - Server playlist retrieved successfully.
|
||||
2025-05-12 10:11:51,466 - INFO - Changes detected in the server playlist. Downloading updated files...
|
||||
2025-05-12 10:11:51,467 - INFO - Downloading file: IMG_20250503_220547.jpg
|
||||
2025-05-12 10:11:51,806 - INFO - Downloaded IMG_20250503_220547.jpg to ./static/resurse/IMG_20250503_220547.jpg
|
||||
2025-05-12 10:11:51,806 - INFO - Downloading file: IMG_20250506_080609.jpg
|
||||
2025-05-12 10:11:52,126 - INFO - Downloaded IMG_20250506_080609.jpg to ./static/resurse/IMG_20250506_080609.jpg
|
||||
2025-05-12 10:11:52,126 - INFO - Downloading file: VID-20250502-WA0066.mp4
|
||||
2025-05-12 10:11:56,229 - INFO - Downloaded VID-20250502-WA0066.mp4 to ./static/resurse/VID-20250502-WA0066.mp4
|
||||
2025-05-12 10:11:56,230 - INFO - Downloading file: VID_20250502_113903.mp4
|
||||
2025-05-12 10:12:03,328 - INFO - Downloaded VID_20250502_113903.mp4 to ./static/resurse/VID_20250502_113903.mp4
|
||||
2025-05-12 10:12:03,330 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 10:12:03,330 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 10:12:03,331 - INFO - Creating updated playlist with local file paths...
|
||||
2025-05-12 10:12:03,331 - INFO - Updated playlist saved to ./updated_playlist.json
|
||||
2025-05-12 10:12:03,331 - INFO - Playlist check complete.
|
||||
2025-05-12 10:12:27,600 - INFO - 127.0.0.1 - - [12/May/2025 10:12:27] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:12:45,395 - INFO - 127.0.0.1 - - [12/May/2025 10:12:45] "[35m[1mGET /static/resurse/VID-20250502-WA0066.mp4 HTTP/1.1[0m" 206 -
|
||||
2025-05-12 10:13:33,661 - INFO - 127.0.0.1 - - [12/May/2025 10:13:33] "[36mGET /static/app_config.json HTTP/1.1[0m" 304 -
|
||||
2025-05-12 10:13:33,663 - INFO - 127.0.0.1 - - [12/May/2025 10:13:33] "GET /static/resurse/IMG_20250503_220547.jpg HTTP/1.1" 200 -
|
||||
@@ -83,71 +83,64 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const apiBase = 'http://localhost:1025'; // Update to match your Flask app's port
|
||||
const playlistContainer = document.getElementById('playlist-container');
|
||||
const controlsWrapper = document.getElementById('controls-wrapper');
|
||||
const playPauseButton = document.getElementById('playPauseButton');
|
||||
let playlist = [];
|
||||
let currentIndex = 0;
|
||||
const apiBase = '/api';
|
||||
let appConfig = {}; // Global variable to store app configuration
|
||||
let playlist = []; // Global variable for the playlist
|
||||
let currentIndex = 0; // Current index in the playlist
|
||||
let playbackInterval;
|
||||
let inactivityTimer;
|
||||
let isPaused = false;
|
||||
let isMuted = true; // Start with muted video
|
||||
|
||||
// Function to load the playlist from updated_playlist.json
|
||||
// Load configuration on page load
|
||||
async function loadConfig() {
|
||||
try {
|
||||
const response = await fetch('/static/app_config.json'); // Fetch app_config.json
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load configuration: ${response.statusText}`);
|
||||
}
|
||||
appConfig = await response.json(); // Store configuration in the global variable
|
||||
console.log("App configuration loaded:", appConfig); // Debug log
|
||||
} catch (error) {
|
||||
console.error("Error loading app configuration:", error);
|
||||
}
|
||||
}
|
||||
|
||||
// Load playlist from updated_playlist.json
|
||||
async function loadPlaylist() {
|
||||
try {
|
||||
const response = await fetch(`${apiBase}/updated_playlist.json`);
|
||||
const response = await fetch('/updated_playlist.json'); // Fetch updated_playlist.json
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load playlist: ${response.statusText}`);
|
||||
}
|
||||
const data = await response.json();
|
||||
if (JSON.stringify(data) !== JSON.stringify(playlist)) {
|
||||
playlist = data; // Update the playlist only if it has changed
|
||||
console.log("Playlist updated:", playlist); // Debug log
|
||||
currentIndex = 0; // Reset to the first item
|
||||
startPlaylist(); // Restart the playlist
|
||||
}
|
||||
playlist = await response.json(); // Store playlist in the global variable
|
||||
console.log("Updated playlist loaded:", playlist); // Debug log
|
||||
} catch (error) {
|
||||
console.error("Error loading playlist:", error);
|
||||
console.error("Error loading updated playlist:", error);
|
||||
}
|
||||
}
|
||||
|
||||
// Function to start playing the playlist
|
||||
function startPlaylist() {
|
||||
if (playlist.length === 0) {
|
||||
console.error("No items in the playlist.");
|
||||
return;
|
||||
}
|
||||
playCurrentItem();
|
||||
}
|
||||
|
||||
// Function to play the current item in the playlist
|
||||
// Play the current item in the playlist
|
||||
async function playCurrentItem() {
|
||||
if (currentIndex >= playlist.length) {
|
||||
currentIndex = 0; // Loop back to the beginning
|
||||
}
|
||||
|
||||
const currentItem = playlist[currentIndex];
|
||||
console.log("Playing current item:", currentItem); // Debug log
|
||||
const playlistContainer = document.getElementById('playlist-container');
|
||||
playlistContainer.innerHTML = ''; // Clear the container
|
||||
|
||||
if (currentItem.type === 'image') {
|
||||
const img = document.createElement('img');
|
||||
img.src = currentItem.url;
|
||||
|
||||
// Fetch the orientation setting from app_config.json
|
||||
const response = await fetch('/static/app_config.json');
|
||||
const config = await response.json();
|
||||
const playerOrientation = config.player_orientation; // "landscape" or "portrait"
|
||||
|
||||
// Check the orientation of the image and adjust the object-fit property
|
||||
const image = new Image();
|
||||
image.src = currentItem.url;
|
||||
image.onload = () => {
|
||||
const isImageLandscape = image.width > image.height;
|
||||
if (
|
||||
(playerOrientation === 'landscape' && !isImageLandscape) ||
|
||||
(playerOrientation === 'portrait' && isImageLandscape)
|
||||
(appConfig.player_orientation === 'landscape' && !isImageLandscape) ||
|
||||
(appConfig.player_orientation === 'portrait' && isImageLandscape)
|
||||
) {
|
||||
img.style.objectFit = 'contain'; // Show the full image without cropping
|
||||
} else {
|
||||
@@ -163,13 +156,12 @@
|
||||
currentIndex++;
|
||||
playCurrentItem();
|
||||
}
|
||||
}, currentItem.duration * 1000 + (isPaused ? 10000 : 0)); // Add 10 seconds if paused
|
||||
}, currentItem.duration * 1000);
|
||||
} else if (currentItem.type === 'video') {
|
||||
const video = document.createElement('video');
|
||||
video.src = currentItem.url;
|
||||
video.autoplay = true;
|
||||
video.controls = false;
|
||||
video.muted = isMuted; // Start muted if isMuted is true
|
||||
playlistContainer.appendChild(video);
|
||||
|
||||
// Ensure the video starts playing
|
||||
@@ -187,15 +179,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Function to unmute the video
|
||||
function unmuteVideo() {
|
||||
isMuted = false; // Set isMuted to false
|
||||
const video = playlistContainer.querySelector('video');
|
||||
if (video) {
|
||||
video.muted = false; // Unmute the video
|
||||
}
|
||||
}
|
||||
|
||||
// Function to stop playback
|
||||
function stopMedia() {
|
||||
clearTimeout(playbackInterval);
|
||||
@@ -204,7 +187,6 @@
|
||||
|
||||
// Function to play the previous item
|
||||
function previousMedia() {
|
||||
unmuteVideo(); // Unmute the video
|
||||
stopMedia();
|
||||
currentIndex = (currentIndex - 1 + playlist.length) % playlist.length;
|
||||
playCurrentItem();
|
||||
@@ -212,14 +194,13 @@
|
||||
|
||||
// Function to refresh the playlist
|
||||
function refreshPlaylist() {
|
||||
unmuteVideo(); // Unmute the video
|
||||
loadPlaylist(); // Reload the playlist
|
||||
}
|
||||
|
||||
// Function to toggle play/pause
|
||||
function togglePlayPause() {
|
||||
unmuteVideo(); // Unmute the video
|
||||
isPaused = !isPaused;
|
||||
const playPauseButton = document.getElementById('playPauseButton');
|
||||
if (isPaused) {
|
||||
playPauseButton.innerHTML = '<i class="fas fa-pause"></i>'; // Change to pause icon
|
||||
} else {
|
||||
@@ -230,7 +211,6 @@
|
||||
|
||||
// Function to play the next item
|
||||
function nextMedia() {
|
||||
unmuteVideo(); // Unmute the video
|
||||
stopMedia();
|
||||
currentIndex = (currentIndex + 1) % playlist.length;
|
||||
playCurrentItem();
|
||||
@@ -240,27 +220,15 @@
|
||||
window.location.href = '/static/settings.html';
|
||||
}
|
||||
|
||||
// Function to hide controls after inactivity
|
||||
function hideControls() {
|
||||
controlsWrapper.classList.add('hidden');
|
||||
// Initialize the page
|
||||
async function initialize() {
|
||||
await loadConfig(); // Load app configuration
|
||||
await loadPlaylist(); // Load playlist
|
||||
playCurrentItem(); // Start playing the playlist
|
||||
}
|
||||
|
||||
// Function to reset inactivity timer
|
||||
function resetInactivityTimer() {
|
||||
controlsWrapper.classList.remove('hidden'); // Show controls
|
||||
clearTimeout(inactivityTimer); // Clear the previous timer
|
||||
inactivityTimer = setTimeout(hideControls, 10000); // Set a new timer for 10 seconds
|
||||
}
|
||||
|
||||
// Add event listeners for mouse movement
|
||||
document.addEventListener('mousemove', resetInactivityTimer);
|
||||
document.addEventListener('keydown', resetInactivityTimer);
|
||||
|
||||
// Initialize inactivity timer on page load
|
||||
resetInactivityTimer();
|
||||
|
||||
// Load playlist on page load
|
||||
loadPlaylist();
|
||||
// Start initialization when the page loads
|
||||
window.onload = initialize;
|
||||
|
||||
// Start periodic playlist reload
|
||||
setInterval(loadPlaylist, 300000); // Check every 5 minutes (300,000 ms)
|
||||
|
||||
BIN
app/static/resurse/VID-20250502-WA0066.mp4
Normal file
BIN
app/static/resurse/VID-20250502-WA0066.mp4
Normal file
Binary file not shown.
BIN
app/static/resurse/VID_20250502_113903.mp4
Normal file
BIN
app/static/resurse/VID_20250502_113903.mp4
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
[{"duration": 15, "file_name": "IMG_20250503_220547.jpg", "url": "http://digi-signage.moto-adv.com/media/IMG_20250503_220547.jpg"}, {"duration": 15, "file_name": "IMG_20250506_080609.jpg", "url": "http://digi-signage.moto-adv.com/media/IMG_20250506_080609.jpg"}, {"duration": 15, "file_name": "VID_20250501_184228.mp4", "url": "http://digi-signage.moto-adv.com/media/VID_20250501_184228.mp4"}]
|
||||
[{"duration": 15, "file_name": "IMG_20250503_220547.jpg", "url": "http://digi-signage.moto-adv.com/media/IMG_20250503_220547.jpg"}, {"duration": 15, "file_name": "IMG_20250506_080609.jpg", "url": "http://digi-signage.moto-adv.com/media/IMG_20250506_080609.jpg"}, {"duration": 103, "file_name": "VID-20250502-WA0066.mp4", "url": "http://digi-signage.moto-adv.com/media/VID-20250502-WA0066.mp4"}, {"duration": 26, "file_name": "VID_20250502_113903.mp4", "url": "http://digi-signage.moto-adv.com/media/VID_20250502_113903.mp4"}]
|
||||
@@ -80,18 +80,111 @@
|
||||
|
||||
<script>
|
||||
const apiBase = '/api';
|
||||
let appConfig = {}; // Global variable to store app configuration
|
||||
let playlist = []; // Global variable for the playlist
|
||||
let currentIndex = 0; // Current index in the playlist
|
||||
let playbackInterval;
|
||||
let isPaused = false;
|
||||
|
||||
// Load configuration on page load
|
||||
async function loadConfig() {
|
||||
const response = await fetch('/static/app_config.json'); // Updated path for app_config.json
|
||||
const config = await response.json();
|
||||
document.getElementById('player_orientation').value = config.player_orientation;
|
||||
document.getElementById('player_name').value = config.player_name;
|
||||
document.getElementById('quickconnect_code').value = config.quickconnect_code;
|
||||
document.getElementById('server_address').value = config.server_address;
|
||||
document.getElementById('port').value = config.port;
|
||||
try {
|
||||
const response = await fetch('/static/app_config.json'); // Fetch app_config.json
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load configuration: ${response.statusText}`);
|
||||
}
|
||||
appConfig = await response.json(); // Store configuration in the global variable
|
||||
console.log("App configuration loaded:", appConfig); // Debug log
|
||||
} catch (error) {
|
||||
console.error("Error loading app configuration:", error);
|
||||
}
|
||||
}
|
||||
|
||||
// Load playlist from updated_playlist.json
|
||||
async function loadPlaylist() {
|
||||
try {
|
||||
const response = await fetch('/updated_playlist.json'); // Fetch updated_playlist.json
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load playlist: ${response.statusText}`);
|
||||
}
|
||||
playlist = await response.json(); // Store playlist in the global variable
|
||||
console.log("Updated playlist loaded:", playlist); // Debug log
|
||||
} catch (error) {
|
||||
console.error("Error loading updated playlist:", error);
|
||||
}
|
||||
}
|
||||
|
||||
// Play the current item in the playlist
|
||||
async function playCurrentItem() {
|
||||
if (currentIndex >= playlist.length) {
|
||||
currentIndex = 0; // Loop back to the beginning
|
||||
}
|
||||
|
||||
const currentItem = playlist[currentIndex];
|
||||
console.log("Playing current item:", currentItem); // Debug log
|
||||
const playlistContainer = document.getElementById('playlist-container');
|
||||
playlistContainer.innerHTML = ''; // Clear the container
|
||||
|
||||
if (currentItem.type === 'image') {
|
||||
const img = document.createElement('img');
|
||||
img.src = currentItem.url;
|
||||
|
||||
// Check the orientation of the image and adjust the object-fit property
|
||||
const image = new Image();
|
||||
image.src = currentItem.url;
|
||||
image.onload = () => {
|
||||
const isImageLandscape = image.width > image.height;
|
||||
if (
|
||||
(appConfig.player_orientation === 'landscape' && !isImageLandscape) ||
|
||||
(appConfig.player_orientation === 'portrait' && isImageLandscape)
|
||||
) {
|
||||
img.style.objectFit = 'contain'; // Show the full image without cropping
|
||||
} else {
|
||||
img.style.objectFit = 'cover'; // Crop to fit the container
|
||||
}
|
||||
};
|
||||
|
||||
playlistContainer.appendChild(img);
|
||||
|
||||
// Display the image for the specified duration
|
||||
playbackInterval = setTimeout(() => {
|
||||
if (!isPaused) {
|
||||
currentIndex++;
|
||||
playCurrentItem();
|
||||
}
|
||||
}, currentItem.duration * 1000);
|
||||
} else if (currentItem.type === 'video') {
|
||||
const video = document.createElement('video');
|
||||
video.src = currentItem.url;
|
||||
video.autoplay = true;
|
||||
video.controls = false;
|
||||
playlistContainer.appendChild(video);
|
||||
|
||||
// Ensure the video starts playing
|
||||
video.play().catch(error => {
|
||||
console.error("Error starting video playback:", error);
|
||||
});
|
||||
|
||||
// Play the video and move to the next item after it ends
|
||||
video.onended = () => {
|
||||
if (!isPaused) {
|
||||
currentIndex++;
|
||||
playCurrentItem();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize the page
|
||||
async function initialize() {
|
||||
await loadConfig(); // Load app configuration
|
||||
await loadPlaylist(); // Load playlist
|
||||
playCurrentItem(); // Start playing the playlist
|
||||
}
|
||||
|
||||
// Start initialization when the page loads
|
||||
window.onload = initialize;
|
||||
|
||||
// Save configuration
|
||||
async function saveConfig() {
|
||||
const config = {
|
||||
@@ -115,9 +208,6 @@
|
||||
function goHome() {
|
||||
window.location.href = '/';
|
||||
}
|
||||
|
||||
// Load configuration when the page loads
|
||||
loadConfig();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -11,7 +11,12 @@
|
||||
},
|
||||
{
|
||||
"type": "video",
|
||||
"url": "/static/resurse/VID_20250501_184228.mp4",
|
||||
"duration": 15
|
||||
"url": "/static/resurse/VID-20250502-WA0066.mp4",
|
||||
"duration": 103
|
||||
},
|
||||
{
|
||||
"type": "video",
|
||||
"url": "/static/resurse/VID_20250502_113903.mp4",
|
||||
"duration": 26
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user