* Creating Audio Grabber
Creating Audio Grabber
Creating Audio Grabber.
Successfully began capturing audio in windows. Starting to implement a hard-coded UV Visualizer.
Got Windows DirectSound Implementation working.
Hardcoded basic VU Meter.
Begin working on linux audio grabber implementation.
Finished Linux Draft Implementation.
Minor Mods to windows implementation.
Windows:
- Free memory used by device id.
- Prevent starting audio if the grabber is disabled
- More debug logging
Linux:
- Prevent starting audio if the grabber is disabled
Added strings to english
Removed "custom" from device selection
Made hard-coded visualizer values configurable.
wrote values to imageData with BGR priority to enable configurable values to be set in RGB format.
created logic to support "Automatic" to enable the API to select the default device.
Add language key for audio in "Remote Control" section.
Removed audio configuration for number of channels. This was causing an error with some devices.
Fixed logic to update capture while its active.
Optimizing code .
UI Tweaks
Destructuring.
Fixed build error on linux.
Custom Effects - Clean-ups and Enhancements (#1163)
* Cleanup EffectFileHandler
* Support Custom Effect Schemas and align EffectFileHandler
* Change back to colon prefix for system effects
* WebSockets - Fix error in handling fragmented frames
* Correct missing colon updates
* Update json with image file location for custom gif effects
* Image effect deletion - considere full filename is stored in JSON
* Correct selection lists indentions
Creating Audio Grabber
Creating Audio Grabber
Creating Audio Grabber.
Successfully began capturing audio in windows. Starting to implement a hard-coded UV Visualizer.
Got Windows DirectSound Implementation working.
Hardcoded basic VU Meter.
Begin working on linux audio grabber implementation.
Finished Linux Draft Implementation.
Minor Mods to windows implementation.
Windows:
- Free memory used by device id.
- Prevent starting audio if the grabber is disabled
- More debug logging
Linux:
- Prevent starting audio if the grabber is disabled
Added strings to english
Removed "custom" from device selection
Made hard-coded visualizer values configurable.
wrote values to imageData with BGR priority to enable configurable values to be set in RGB format.
created logic to support "Automatic" to enable the API to select the default device.
Add language key for audio in "Remote Control" section.
Removed audio configuration for number of channels. This was causing an error with some devices.
Fixed logic to update capture while its active.
Optimizing code .
UI Tweaks
Destructuring.
Fixed build error on linux.
Commented setVideoMode from AudioGrabber.
Linux Threading changes.
Implementing new API
Continuing to implement audio into new APIs
Fixed Audio Grabber for DirectSound on Windows
Fixed UI for Audio Grabber Configuration
Default AUDIO to off unless specified.
fixed missing #ifdef for audio grabber.
Added logic to calculate a dynamic multiplier from the signal input.
Updating linux api for discovering devices.
Fixed HTML/JS issues with view.
Fixed NPE in Windows.
Disabled setting thread priority in linux.
updated the schema options check to pass through hidden states and commented the change.
Updated grabber start conditions
Updated Audio grabber to instantiate similar to video grabber
Updated windows grabber to set "started" flag to false when shutting down.
Removed "tryStart" to prevent enabling audio capture unnecessarily.
Fixing instance audio grabber device configuration
Added configurable resolution
Reduced tolerance to 5%
Fixed issue where grabber failed for additional instances when "start" was called multiple times.
Fixed resolution calculation
Change averaging algorithm to prevent overflowing the sum.
Updated logic to stop audio grabber when disabled.
Fix integer casting and rounding.
Restart grabber on configuration change.
Fix missing include/grabber/AudioGrabber.
Disable tolerance.
Added configurable tolerance.
Fixed tolerance algorithm.
reset multiplier on configuration change.
Line Endings
Proposed change and questions/request to fix
implementing more of LordGrey's suggestions.
Fix mode for snd_pcm_open. Latest ALSA uses SND_PCM_NONBLOCK instead of SND_PCM_OPEN_NONBLOCK
defaulted multiplier to 0 "auto"
defaulted tolerance to 20%
changed 100 to 100.0 for pixel value percentage calculation to fix value from being 0.
missed a 100 as a double so precision isn't lost during math operation.
Fix Windows grabber and further cleanups
Enable Audio grabbing in standard build
Remove empty methods
Fix audio capture priority setting
Remove unused code
Clean-up default config
Allow additional json-editor attributes
Allow multiple effects and resetting to defaults
Correct default values
Allow to build for Qt < 5.14
Update CodeQL build dependency
Update build dependencies
Remove effect1 placeholder
* Renamed uvMeter to VU Meter (Volume Unit)
- Fixed issues flagged by code scanning bot.
* Moved stop call into destructor of implementing class.
* Removed commented linux audio channel configuration logic.
---------
Co-authored-by: Michael Rochelle <michael@j2inn.com>
- Added CodeDocs config file for customization
- Fixing LGTM alerts
- LGTM bug fixed again
- added token option to hyperion-remote
- fix DBManager::getDB()
- next bugfix
- correct broken signal from SettingManager to Hyperion
- Token list is created after the schema is fetched
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
Protocol Buffer reimplemented to receive image data from third-party apps
The status of the component "UDPListener" is now displayed correctly in WebUI
Global signal names for WebUI added
* revoke schema split
* add "getAutoCorrectedConfig" function
* revoke schema split
* revoke schema split
* revoke schema split
* Prevent compiler error if none grabber is available
* revoke schema split
* add "getAutoCorrectedConfig" function
* revoke schema split
* remove "configMigrator"
* remove "configMigrator"
* Change TestConfigFile to show how the autocorrection works
* revoke schema split
* revoke schema split
* remove "ConfigMigrator"
* remove "ConfigMigrator"
* remove "ConfigMigratorBase"
* remove "ConfigMigratorBase"
* Add QJsonUtils.h
* added ability "ignore-required"
It has been added the ability to correct the configuration without having to pay attention to the keyword "required" in the hyperion schema
* Allow Comments in Hyperion Schema
* add ability to ignore the "required" keyword in hyperion schema
* add ability to ignore the "required" keyword in hyperion schema
* add ability to ignore the "required" keyword in hyperion schema
* //Allow Comments in Hyperion Schema
* Update jsonschema.py to version 0.8.0 to support ...
references in json schema
* add RefResolver from jsonschema.py to resolve
references in hyperion schema
* remove dupe code
* split the hyperion schema in separatly files
For better readability
* add function "resolveReferences" to resolve
references in hyperion schema.
* remove CURRENT_CONFIG_VERSION
* remove CURRENT_CONFIG_VERSION
* split the hyperion schema in separatly files
For better readability
* Create schema-backgroundEffect.json
* Add the rest of the Hyperion schema via upload
* Remove Comments in config file
* Add return variable to function writeJson().
fix function resolveReferences().
edit function load() to handle QPair result from schemaChecker.
* edit function validate() to return QPair variable
* fit function loadEffectDefinition()
* fit function checkJson()
* Expand error check by dividing
"_error" variable in "_error" and "_schemaError".
Replace variable "bool" in validate() in QPair
* Extend function "cmd_cfg_set" to handle auto correction
* Extend function "loadConfig" to handle auto correction
* fix function loadConfig()
* move name to general
add a version for config file
* start impl. config migrator
* fix typo amd set access level
* fix schemaa name
* fix schema
* add structure for config migrator
* on v4l screenshot, print out nosignal threshold values
* separate fractional parameters for no signal detection
* fully implement handling for "rainbow grabber"
* update lightberry sketches
update compilehowwto (windows disclaimer)
some refactoring in main cmakelists + preparation for windows compile
tune ada driver, set delayAfterConnect default to 1.5s because some arduino (e.g. mega r3) needs this
set priority min/max for grabber/network services - prevent colliding prios between webui/background stuff and grabbers/net services
* add check if config is writable. TODO do something usefull in webui
* fix indention error
* fix typo
* fix webui can't write led config
* typo
* fix cmakelists
* change methode of detecting linux
* refresh for all :-)
remove dups
* - integrate refresh leds for all devices
- fix schemas for led devices
* add minimum for rewrite time
* rewriteTime: add missing info in config examples
* remove color temperatire, its the same as color adjustment
* remove temperature from schema
* implement most part of v4l only colro settings,
now hyperion update knows from which component the colors come
* update configs
* fix webui config write
* reomve correction and temperature from hyperion-remote
* implement a function for easy json editor creation
* grabber and kodi moved to new editor func
* webui: implement conf editors
* add missing files and remove debug code
* - effects now can use qt image effects
- rainbow swirtl is now suitable for any led layout - including matrix
* fix rainbow effect
* effect: add radialGradient
* fix some js errors
* optimize code
* try fix travis test not working as expected
* fix default config files
* fix config
* first try
* implement hyperion restart. core function is good, but needs a beeter structuring- something for next refactoring session ;-)
* several fixes (including osx)
merge with upstream
some refactoring
* add some eye candy to webui
* implement effects included in hyperiond binary
* cleanup
* remove install of effects dir. People who wants to develop effects has to copy them from github
effect params for initial effects can be changed in config permanently and other effect params can be changed
via json (currently only temporarily)
* fix schema of fadecandy
webui fix display of specific led options
* add leddevice write support
* cleanup
* webui: tune hue code
* when use json effect definition from putsiede hyperiond but want to use py script from inside hyperiond use ad a :
e.g. fade.py needs a fade.py near the json file, but :fade.py is taken from resource inside hyperiond
* add ability to di
* add abiloty to diable effcts via hyperion config
* use effect name instead of script in active effects and prio register
* finally solve open file handle during effect is playing. Now script is read before, then file closed and then t is run by python
* fix some webui things
- led config tabs
- inital loading screen
optimize qrc file generation
fix compile warning in hyperion.cpp
* cleanup
* more cleanup
* initial support for leddevice options
* fix schema and editor init
* fix led editor labels and schema
* add some led schemas
* led config: insert current values. not yet perfect, but it works
* split content and js
tune leds config
* implement connection lost page
* split js/html in huebridge
* add js action for connection lost
* extend led config
make connection loss nicer
* tune led code
add menu entry for grabber
* more tuning of webui
* switch back to botstrap textarea
add v4l to components
* add icon
* extend schema for jsoneditor
* implement ledcolors streaming with 4fps
* implement component state
* make hyperion websocket api event based
* implement new websocket handling for generalconf
* migrate all webui stuff to new event based websocket api
some cleanup ... now all html templates are in content
refactoring of web stuff
* add hyperionport to global
start impl. removing advanced key
* separate dashboard
serverinfo is updated every 3 seconds automatily
add input selection
cleanup and remove not needed stuff
* prepare infrastructure for server sided file execution
* webui minor fixes
* fix compile
I have created a new Category "General" with several Settings for
Hyperion.
For now the Submit Button only console.log's the values.
Known Bug: For some reason it seems to do not load the bootstrap
correctly or maybe the Lib isn't compatible with the newest version of
bootstrap.
* Remove "endOfJson" Value
Deprecated value from Hypercon
* Remove "endOfJson" Value
Deprecated value from Hypercon
* Add writeJson function to JsonFactory
* ability to ignore required value in schema file
* Remove "endOfJson" Value
* Add handleConfigSetCommand function
* Add handleConfigSetCommand function
* Update JsonSchemas.qrc
* Update schema.json
* Update JsonSchemaChecker.cpp
* Add configSet command to Hyperion-remote
* Add setConfigFile function
* Add setConfigFile function
* Add schema-configset.json
* start ledclone
* led cloning: clone scan areas from original led
main: show exceptions, better exit
* tune json schema for new option. somwe cleanup
* fix warnings and bug for framebuffer selection. thx to clang brought by new osx buikld on travis
* make ledclone feature work flawlessly for effects too. Effect sees the ledstring without cloned leds.
cloned leds will be inserted just before sending to leddevice
additional: remove warnings and fix code style
* fix warning
* add --sourceOff to hyperion-remote - this will select "off" source and set all leds to black
refactor new json stuff
make schema checker not so strict, do not require values that have defaults (not finished yet)
initialEffect config: effect is always an array, regardless if it is a color or an effect name
* make off source visible in active priority list
* transform initialeffect to qjson (except part of effect-args, this needs effectengine transformed to qjson)
* remove unneeded comment
* add web ui for source selection.
call http://hyperion_host:8099/select/index.html
current example needed json server on port 19444
* add ability to disably specific color corrections
update protobuf external
move smoothing out of color section
* update config
* update schema
* update schema
* - implement framegrabber type option
- framegrabber autoselect
- integrate x11 grabber in hyperiond
* add doxy
* v4l: select device by name
hyperiond: fix x11 grabber connection to kodichecker
config: tune default prios of boblight and v4l
* make v4l name finding case insensitive
* big kodichecker rework
- use new logger
- 'enable' flag in config
- startable on runtime (atm not stoppable and no reconfigure)
- rename xbmc to kodi
* remove unnecceasry checks for kodi
* make kodichecker stoppable and add reconfigure
* tune config