Commit Graph

438 Commits

Author SHA1 Message Date
Lord-Grey
8d8ee8b3cd Refactor LED-Device handling in UI and make element naming consistent 2021-05-19 10:51:45 +02:00
Paulchen Panther
cfb34e6bfc V4L2/MF changes 2021-05-16 15:47:25 +02:00
Paulchen Panther
bf32557a8a WebUI optimization (thx to @mkcologne)
Start Grabber only when global settings are enabled
Fixed an issue in the WebUI preview
2021-05-14 21:20:14 +02:00
LordGrey
2035a3cfab Update grabber default values 2021-05-11 20:44:27 +02:00
Lord-Grey
980ef90834 Split global capture from instance capture config 2021-05-11 18:08:34 +02:00
Paulchen Panther
2cf72d37b6 Create defaultconfig.json dynamically 2021-05-08 09:52:58 +02:00
Lord-Grey
720cc5f01e Correct grabber4L2 access level 2021-05-06 20:53:37 +02:00
Paulchen Panther
6df509f876 Dashboard update + fix GlobalSignal connection 2021-05-05 21:59:24 +02:00
Lord-Grey
184cfb1e72 Allow editor-validation for enum-lists 2021-05-05 10:44:53 +02:00
Paulchen Panther
561fabeba6 Merge branch components into mediafoundation 2021-05-04 21:30:29 +02:00
Lord-Grey
8459fa143b Align Grabber.js with new utility functions 2021-05-03 21:32:12 +02:00
LordGrey
07dd671e0c Database migration aligning with updated grabber model 2021-05-03 10:20:22 +02:00
LordGrey
9ea40a873e Merge branch 'master' into mediafoundation
# Conflicts:
#	assets/webconfig/content/dashboard.html
#	assets/webconfig/i18n/en.json
#	assets/webconfig/js/content_dashboard.js
#	assets/webconfig/js/content_logging.js
#	assets/webconfig/js/hyperion.js
#	assets/webconfig/js/ui_utils.js
2021-05-02 21:12:00 +02:00
Paulchen Panther
1514d8442d Merge remote-tracking branch 'origin/grabberDiscovery' into mediafoundation 2021-05-02 20:12:52 +02:00
Paulchen Panther
3fb0ece3a2 refactor 2021-05-02 19:04:58 +02:00
Paulchen Panther
cd62a41f22 Global component states across instances 2021-05-01 17:36:51 +02:00
LordGrey
7eeb740177
Dynamic Device Selection/Configuration (#1164) 2021-04-24 19:37:29 +02:00
LordGrey
94d9b02734
Fix 1181 - Effects were not started from tray (#1199)
* Fix 1181, add constants and defaults

* Include #1195 changes
2021-03-19 22:52:41 +01:00
LordGrey
41af5c1b9e
LEDDevices - WLED enhancements and minor fixes (#1204)
* Yeelight minor updates

* Add Timeout to REST API

* LEDDevice - Correct storeState

* Add WaitTime function

* Always show HW-LEDCount for configuration

* WLED - New features ("live" support, storing state and identification)

* Yeelight - Refactoring

* Cololight - Refactoring

* Karate - getProperties Support

* Atmo - getProperties Support

* AtmoOrb - refactoring

* Nanoleaf - Refactoring, New "Shapes" considerations

* PhilipHue - Minor corrections

* Update Changelog
2021-03-19 22:52:04 +01:00
LordGrey
38e133171f
Merge branch 'master' into mediafoundation 2021-02-20 18:08:24 +01:00
Lord-Grey
3a2a101658 Merge branch 'mediafoundation' of https://github.com/Paulchen-Panther/hyperion.ng into mediafoundation 2021-02-17 23:26:49 +01:00
Lord-Grey
ffc669cda7 Update access levels and validate crop ranges 2021-02-17 23:26:39 +01:00
LordGrey
9e281b2347
Fix #1186 & UI last instance error (#1188)
* Handle Arrays & Objects differently

* Fix UI error, if "last instance used" does not longer exist
2021-02-17 12:29:53 +01:00
LordGrey
74147d200f Update Grabber schema and Defaults 2021-02-15 20:12:00 +01:00
Lord-Grey
1c8a637d11 Hide all element when no video grabber discovered, upate naming 2021-02-14 12:36:21 +01:00
Lord-Grey
054d3dac41 Discovery VideoSources and Dynamically Update Editor 2021-02-14 11:39:03 +01:00
LordGrey
77262adf3b
Fix #1131 - Global (Grabber) setting are not correctly read by non-default instances (#1186) 2021-02-11 19:45:22 +01:00
Paulchen-Panther
4f81fbd2ab Added video standards to JsonAPI output 2021-02-07 14:30:36 +01:00
Lord-Grey
2ff3c1155b Have fps as int, fix height typo 2021-02-07 11:12:28 +01:00
Paulchen Panther
c5065e76b5
Refactor V4L2 grabber (part 1) (#62) 2021-02-05 21:52:02 +01:00
Paulchen Panther
878d4fe0a1 Refactor MediaFoundation (Part 2) 2021-01-31 13:51:29 +01:00
Paulchen Panther
07a6d5e5b1 - Set 'Software Frame Decimation' begin to 0
- Removed grabber specific device name from Log
- Keep pixel format when switching resolution
- Display 'Flip mode' correct in Log
- BGR24 images always flipped
2021-01-29 21:08:47 +01:00
Paulchen Panther
bfc818ab45 Improvements 2021-01-27 18:55:21 +01:00
Paulchen Panther
456cccd9cf -Reload MF Grabber only once per WebUI update
- Cleanup
2021-01-26 20:01:23 +01:00
Paulchen Panther
4254f36bba Added image flipping ability to MF Grabber 2021-01-24 12:16:16 +01:00
Paulchen-Panther
545b29ed27 Stop Framebuffer grabber on failure 2021-01-01 14:40:04 +01:00
Paulchen Panther
d72a59e981 Active grabber fix 2020-12-31 11:12:29 +01:00
Paulchen Panther
c672ae6075 - New Media Foundation grabber
- JsonAPI available grabber fix
- commented json config removed
2020-12-18 20:16:21 +01:00
LordGrey
efc2046ab5
Various Cleanups (#1075)
* LedDevice - Address clang findings

* Fix Windows Warnings

* Ensure newInput is initialised

* Clean-up unused elements for Plaform Capture

* Fix initialization problem and spellings

* Address clang findings and spelling corrections

* LedDevice clean-ups

* Cleanups

* Align that getLedCount is int

* Have "display" as default for Grabbers

* Fix config during start-up for missing elements

* Framegrabber Clean-up - Remove non supported grabbers from selection, filter valid options

* Typo

* Framegrabber.json - Fix property numbering

* Preselect active Grabbertype

* Sort Grabbernames

* Align options with selected element

* Fix deletion of pointer to incomplete type 'BonjourBrowserWrapper'

* Address macOS compile warnings

* Have default layout = 1 LED only to avoid errors as in #673

* Address lgtm findings

* Address finding that params passed to LedDevice discovery were not considered

* Cleanups after merging with latest master

* Update Changelog

* Address lgtm findings

* Fix comment

* Test Fix

* Fix Python Warning

* Handle Dummy Device assignment correctly

* Address delete called on non-final 'commandline::Option' that has virtual functions but non-virtual destructor

* Correct that QTimer.start accepts only int

* Have Release Python GIL & reset threat state chnage downward compatible

* Correct format specifier

* LedDevice - add assertions

* Readonly DB - Fix merge issue

* Smoothing - Fix wrong defaults

* LedDevice - correct assertion

* Show smoothing config set# in debug and related values.

* Suppress error on windows, if default file is "/dev/null"

* CMAKE - Allow to define QT_BASE_DIR dynamically via environment-variable

* Ignore Visual Studio specific files

Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2020-11-14 17:58:56 +01:00
LordGrey
758d9a70c5
Improve Platform Grabber UI (#1073) 2020-11-14 16:22:21 +01:00
The-Master777
0dd8e45364
Feature: Temporal Color Smoothing with variable decay-rate for long period average windows (#1043)
* Feature: Weighted Moving Average Smoothing with Decay

* fix assign

* try fix MSVC error related to always inline on static

* use proper imports for windows

* crossplatform inline declaration
2020-11-02 07:52:33 +01:00
LordGrey
bb652ade36
Read-Only Configuration-Database support (#1046) 2020-11-01 19:47:30 +01:00
Peter Eskdale
85a55de28c
Implement letterbox-only blackbar detection mode (#1063) 2020-11-01 19:20:27 +01:00
Paulchen Panther
958975975c
Fix reopened issue 993 (#1062) 2020-11-01 19:15:22 +01:00
Paulchen Panther
1d35338b83
DirectX9 Grabber (#1039) 2020-10-26 21:13:13 +01:00
LordGrey
7e370b3d8b
Fix typos (#1051)
* Fix typo in handlePriorityChangedLedDevice

* Typo

* Correct description

* Correct LedDeviceTemplate
2020-10-19 10:54:41 +02:00
Paulchen Panther
aa465c018c
Fix issues #1022, #1019, #997, #993, #992, #976, #969, #964, #980 (#1036) 2020-10-18 17:05:07 +02:00
The-Master777
6c68454bea
Support SK9822 type LEDs with adaptive brightness control via SPI (#1017)
* Support SK9822 type LEDs with adaptive brightness control via SPI

* SK9822 - minor refactorings
2020-09-25 19:34:00 +02:00
LordGrey
4aabe175cd
Differentiate between LED-Device Enable/Disable and Switch On/Off (#960)
* Switch Off devices, when no input source

* Realign Enable/SwitchOn, Disable/SwitchOff

* Align to updated LedDevice-Flow

* Remove debug statements slipped in

* Send last color update after enabling again

* Fix WLED getProperties API call

* Remove unused signals

* LedDevice process flow documentation

* LedDevice process flow documentation

Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
2020-09-14 17:19:14 +02:00
Murat
4a688b932a Const correctness, override keyword, a bunch of stuff.. 2020-08-08 23:12:43 +02:00