Commit Graph

221 Commits

Author SHA1 Message Date
Nico Miguelino
dff1d26955 Adopt a singleton pattern for the media player instance (#2039)
* chore: adopt a singleton pattern for the media player instance
* chore: remove file-level/module-level mocks in tests
2024-08-28 07:16:26 -07:00
Nico Miguelino
5508517628 fix: remove Monitor Info from the System Info page (#2024) 2024-08-16 07:39:28 -07:00
Nico Miguelino
f935b95115 Enables Flake8 E501 (#2019) 2024-08-13 15:48:33 -07:00
Nico Miguelino
8ac54dd019 fix: server startup takes a minute to start in local dev mode (#2016) 2024-08-12 08:06:48 -07:00
Nico Miguelino
56fad54d96 Modifies audio output based on app settings and Pi version (#2002)
* fix: modify audio output based on app settings and pi version
* chore: refactore code for audio output
* tests: fix failing unit tests
2024-07-31 17:27:32 -07:00
Nico Miguelino
ec8115b603 Cleans up unused OMX code (#1992)
* chore: cleanup unused OMX code
* chore: resolve Python linting errors
2024-07-26 08:26:24 -07:00
Nico Miguelino
99a38d69ee Upgrade containers to use Bookworm (#1980)
* upgrade containers from using Buster to Bookworm
* replace OMX with VLC
* update the Qt version, webview hash, and the webview download URL
* enable FKMS for Raspberry Pi 1, 2, 3 and 4 devices
2024-07-22 14:26:01 -07:00
Nico Miguelino
035f2c8dd1 Fixes IP address on splash screen not updating (#1950)
* fix: IP address previewed on splash screen doesn't update
* fix: consider multiple IPv4 and IPv6 as well
2024-07-11 09:28:45 -07:00
Nico Miguelino
70ae0d7314 Fix: Making Anthias work without Internet (#1965) 2024-07-10 06:56:46 -07:00
Nico Miguelino
9bc1bd30f0 Renames Screenly references to Anthias (#1946) 2024-07-03 11:00:58 -07:00
Nico Miguelino
8a60fb5efc chore: rename all Resin references to Balena (#1945)
* the changes exclude references to Docker volumes
2024-06-28 06:54:13 -07:00
Nico Miguelino
87e2d493ce Adds Python linting in CI (#1939) 2024-06-21 09:11:14 -07:00
nicomiguelino
300d5c2347 chore: cleanup WoTT code 2024-06-17 16:07:43 -07:00
nicomiguelino
1ed719674e fix: get Supervisor version from the API 2024-05-27 09:37:38 -07:00
nicomiguelino
454368547f fix: add exception handling when making an API call to Docker Hub 2024-05-23 10:49:15 -07:00
nicomiguelino
b4014fdedf fix: viewer crashes if the results return an empty list
* return None if the list is empty
* add a DEVICE_TYPE environment variable in the viewer container
2024-05-23 07:28:42 -07:00
nicomiguelino
21b29e08bc fix: update header notification not disappearing after update
* modified the check if Anthias is updated or not
* added manual upgrade instructions in the Upgrade Anthias section
2024-05-22 14:31:05 -07:00
Michael Schwinghammer
d939a5772a Updated PyYAML
Set yt-dlp version
Fixed yt-dlp arguments
2023-09-29 03:04:58 -05:00
Michael Schwinghammer
42348fc67c Replace youtube-dl with yt-dlp 2023-09-28 20:42:24 -05:00
nicomiguelino
ad31caedfb Fix issue with the 3.5mm jack for Pi 4. 2023-06-09 22:52:02 -07:00
Nico Miguelino
934ab14484 Merge branch 'Screenly:master' into 1685-media-player 2023-06-08 20:25:34 -07:00
nicomiguelino
2ac106b802 Create the screenly/static directory if it doesn't exist. 2023-04-11 00:11:43 -07:00
nicomiguelino
ce255c10d9 Encode password (from login form data) before verifying it. 2023-03-07 11:06:33 -08:00
nicomiguelino
6ef2707e5a Encode password fields (from form data) to bytes before hashing them. 2023-03-07 10:47:34 -08:00
nicomiguelino
b54994976c Resolve syntax error in lib/diagnostics.py. 2023-03-06 09:48:34 -08:00
nicomiguelino
5db59e56a9 Return str instead of bytes. 2023-03-06 09:36:37 -08:00
nicomiguelino
32d7dac94e Have the Redis connection decode the responses (via GET) by default.
- Doing so, responses will be returned as `str` instead of `bytes`.
2023-03-06 09:31:12 -08:00
nicomiguelino
79534040f6 Fix some failing unit test cases. Enforce unicode strings. 2023-02-21 15:02:54 -08:00
nicomiguelino
3d1e64a0f9 Apply Stage 2 changes to .py files using futurize
- Changes are not yet tested thoroughly.
2023-02-16 22:26:31 -08:00
nicomiguelino
c8869fa9f8 Apply Stage 1 changes to .py files using futurize. 2023-02-16 22:08:56 -08:00
Nico Miguelino
5df6d5fbb4 Merge branch 'Screenly:master' into 1685-media-player 2023-01-17 09:05:50 -08:00
nicomiguelino
bd4499e8c6 Send updated IP address(es) to the viewer upon reconnection.
- Make use of Redis as a temporary storage of IP addresses.
2023-01-06 14:36:57 -08:00
nicomiguelino
b145554a86 Fix syntax error. 2022-12-14 12:54:56 -08:00
nicomiguelino
43f54cc52a Do a refactor for functions doing Supervisor API calls. 2022-12-14 12:28:20 -08:00
nicomiguelino
46b2fece80 Rename function for getting device info via Balena Supervisor API. 2022-12-14 12:19:40 -08:00
nicomiguelino
91a7092e95 Fix broken splash screen issue. 2022-12-14 12:17:11 -08:00
nicomiguelino
81f8d7a779 Make use of the Supervisor API on shutdown and reboot.
- Do some refactoring as well.
2022-12-14 11:55:07 -08:00
Nico Miguelino
319f743751 Merge branch 'Screenly:master' into 1685-media-player 2022-12-14 08:55:47 -08:00
Viktor Petersson
7001860dc4 Updates GitHub reference 2022-12-13 13:06:49 +00:00
nicomiguelino
a10c572158 Configure Pi 4 to use VLC again.
- Bringing back VLC as the media player for Pi 4 might cause issues
  which need to be fixed.
2022-12-12 08:51:21 -08:00
nicomiguelino
0582ed372f Use OMX as video media player for Raspberry Pi 4. 🔧
- OMX is stil not able to play .mov files on a Raspberry Pi 4.
2022-12-06 21:41:15 -08:00
Emyll Almonte
5e1b7d46dc Update diagnostics.py 2022-12-05 11:14:51 -05:00
Emyll Almonte
636968e64d Update diagnostics.py 2022-12-01 19:47:44 -05:00
Emyll Almonte
774cc2b367 Update diagnostics.py 2022-11-29 21:52:59 -05:00
Emyll Almonte
8554adeee4 Update diagnostics.py 2022-11-29 16:21:36 -05:00
Emyll Almonte
4b83b51dd3 Update diagnostics.py 2022-11-29 16:18:45 -05:00
Emyll Almonte
95ad385b62 Merge branch 'Screenly:master' into patch-1 2022-11-29 15:15:16 -05:00
Emyll Almonte
febdf25251 Update diagnostics.py 2022-11-29 15:08:24 -05:00
Emyll Almonte
917b4b81a3 Update github.py 2022-11-29 13:36:38 -05:00
Emyll Almonte
8b51a1855d Update raspberry_pi_helper.py 2022-11-29 13:15:57 -05:00