Skip to content

Commit

Permalink
Fix AVCaptureDeviceTypeExternal warning from opencv due to `Conti…
Browse files Browse the repository at this point in the history
…nuity Camera` in iOS

Remove auto trigger for speech-synthesis API
Restructure startup validations
  • Loading branch information
dormant-user committed Dec 29, 2024
1 parent bcc83ff commit a3da745
Show file tree
Hide file tree
Showing 18 changed files with 316 additions and 692 deletions.
13 changes: 7 additions & 6 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,13 @@ Squire
:members:
:undoc-members:

Validators
==========

.. automodule:: jarvis.modules.models.validators
:members:
:undoc-members:

----------Modules----------
===========================
Audio
Expand All @@ -753,12 +760,6 @@ Audio

====

.. automodule:: jarvis.modules.audio.speech_synthesis
:members:
:undoc-members:

====

.. automodule:: jarvis.modules.audio.tts_stt
:members:
:undoc-members:
Expand Down
64 changes: 27 additions & 37 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,6 @@ <h2 id="C">C</h2>
<li><a href="index.html#jarvis.modules.telegram.settings.Chat">Chat (class in jarvis.modules.telegram.settings)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.BackgroundTask.check_empty_string">check_empty_string() (jarvis.modules.models.classes.BackgroundTask class method)</a>
</li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.check_existing">check_existing() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.check_external">check_external() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.BackgroundTask.check_hours_format">check_hours_format() (jarvis.modules.models.classes.BackgroundTask class method)</a>
</li>
Expand Down Expand Up @@ -380,10 +376,10 @@ <h2 id="C">C</h2>
</li>
<li><a href="index.html#jarvis.api.triggers.stock_monitor.StockMonitor.closest_minimum">closest_minimum() (jarvis.api.triggers.stock_monitor.StockMonitor static method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.Indicators.coin">coin (jarvis.modules.models.classes.Indicators attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.utils.util.comma_separator">comma_separator() (in module jarvis.modules.utils.util)</a>
</li>
<li><a href="index.html#jarvis.api.models.modals.OfflineCommunicatorModal.command">command (jarvis.api.models.modals.OfflineCommunicatorModal attribute)</a>
Expand Down Expand Up @@ -505,8 +501,6 @@ <h2 id="D">D</h2>
<li><a href="index.html#jarvis.executors.commander.delay_condition">delay_condition() (in module jarvis.executors.commander)</a>
</li>
<li><a href="index.html#jarvis.executors.processor.delete_db">delete_db() (in module jarvis.executors.processor)</a>
</li>
<li><a href="index.html#jarvis.executors.controls.delete_docker_container">delete_docker_container() (in module jarvis.executors.controls)</a>
</li>
<li><a href="index.html#jarvis.executors.controls.delete_logs">delete_logs() (in module jarvis.executors.controls)</a>
</li>
Expand Down Expand Up @@ -769,8 +763,6 @@ <h2 id="F">F</h2>
</li>
</ul></li>
<li><a href="index.html#jarvis.executors.remind.find_name">find_name() (in module jarvis.executors.remind)</a>
</li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.find_pid_by_port">find_pid_by_port() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.settings.Chat.first_name">first_name (jarvis.modules.telegram.settings.Chat attribute)</a>
</li>
Expand Down Expand Up @@ -1684,13 +1676,6 @@ <h2 id="J">J</h2>

<ul>
<li><a href="index.html#module-jarvis.modules.audio.speaker">module</a>
</li>
</ul></li>
<li>
jarvis.modules.audio.speech_synthesis

<ul>
<li><a href="index.html#module-jarvis.modules.audio.speech_synthesis">module</a>
</li>
</ul></li>
<li>
Expand Down Expand Up @@ -1859,6 +1844,13 @@ <h2 id="J">J</h2>

<ul>
<li><a href="index.html#module-jarvis.modules.models.squire">module</a>
</li>
</ul></li>
<li>
jarvis.modules.models.validators

<ul>
<li><a href="index.html#module-jarvis.modules.models.validators">module</a>
</li>
</ul></li>
<li>
Expand Down Expand Up @@ -2354,8 +2346,6 @@ <h2 id="M">M</h2>
<li><a href="index.html#module-jarvis.modules.audio.listener">jarvis.modules.audio.listener</a>
</li>
<li><a href="index.html#module-jarvis.modules.audio.speaker">jarvis.modules.audio.speaker</a>
</li>
<li><a href="index.html#module-jarvis.modules.audio.speech_synthesis">jarvis.modules.audio.speech_synthesis</a>
</li>
<li><a href="index.html#module-jarvis.modules.audio.tts_stt">jarvis.modules.audio.tts_stt</a>
</li>
Expand Down Expand Up @@ -2404,6 +2394,8 @@ <h2 id="M">M</h2>
<li><a href="index.html#module-jarvis.modules.models.models">jarvis.modules.models.models</a>
</li>
<li><a href="index.html#module-jarvis.modules.models.squire">jarvis.modules.models.squire</a>
</li>
<li><a href="index.html#module-jarvis.modules.models.validators">jarvis.modules.models.validators</a>
</li>
<li><a href="index.html#module-jarvis.modules.peripherals">jarvis.modules.peripherals</a>
</li>
Expand Down Expand Up @@ -2805,11 +2797,11 @@ <h2 id="R">R</h2>
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_robinhood">reset_robinhood() (in module jarvis.api.squire.timeout_otp)</a>
</li>
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_stock_monitor">reset_stock_monitor() (in module jarvis.api.squire.timeout_otp)</a>
</li>
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_surveillance">reset_surveillance() (in module jarvis.api.squire.timeout_otp)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.api.squire.timeout_otp.reset_surveillance">reset_surveillance() (in module jarvis.api.squire.timeout_otp)</a>
</li>
<li><a href="index.html#jarvis.executors.controls.restart">restart() (in module jarvis.executors.controls)</a>
</li>
<li><a href="index.html#jarvis.main.restart_checker">restart_checker() (in module jarvis.main)</a>
Expand Down Expand Up @@ -2870,11 +2862,7 @@ <h2 id="R">R</h2>
<li><a href="index.html#jarvis.modules.transformer.gpt.Customizer.run">(jarvis.modules.transformer.gpt.Customizer method)</a>
</li>
</ul></li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.run_existing_container">run_existing_container() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.modules.builtin_overrides.APIServer.run_in_parallel">run_in_parallel() (jarvis.modules.builtin_overrides.APIServer method)</a>
</li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.run_new_container">run_new_container() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.lib.installer.run_subprocess">run_subprocess() (in module jarvis.lib.installer)</a>
</li>
Expand Down Expand Up @@ -3006,23 +2994,17 @@ <h2 id="S">S</h2>
</li>
<li><a href="index.html#jarvis.executors.volume.speaker_volume">speaker_volume() (in module jarvis.executors.volume)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.speech_rate">speech_rate (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.api.routers.speech_synthesis.speech_synthesis">speech_synthesis() (in module jarvis.api.routers.speech_synthesis)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.speech_synthesis_api">speech_synthesis_api (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.speech_synthesis_api">speech_synthesis_api() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.FileIO.speech_synthesis_cid">speech_synthesis_cid (jarvis.modules.models.classes.FileIO attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.speech_synthesis_host">speech_synthesis_host (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.FileIO.speech_synthesis_log">speech_synthesis_log (jarvis.modules.models.classes.FileIO attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.speech_synthesis_port">speech_synthesis_port (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.speech_synthesis_quality">speech_synthesis_quality (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
Expand Down Expand Up @@ -3111,8 +3093,6 @@ <h2 id="S">S</h2>
<li><a href="index.html#jarvis.executors.controls.stop_terminals">stop_terminals() (in module jarvis.executors.controls)</a>
</li>
<li><a href="index.html#jarvis.modules.exceptions.StopSignal">StopSignal</a>
</li>
<li><a href="index.html#jarvis.modules.audio.speech_synthesis.stream_logs">stream_logs() (in module jarvis.modules.audio.speech_synthesis)</a>
</li>
<li><a href="index.html#jarvis.api.squire.surveillance_squire.streamer">streamer() (in module jarvis.api.squire.surveillance_squire)</a>
</li>
Expand Down Expand Up @@ -3378,6 +3358,10 @@ <h2 id="V">V</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_birthday">validate_birthday() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.validators.Validator.validate_builtin_voices">validate_builtin_voices() (jarvis.modules.models.validators.Validator method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.validators.Validator.validate_camera_indices">validate_camera_indices() (jarvis.modules.models.validators.Validator method)</a>
</li>
<li><a href="index.html#jarvis.executors.crontab.validate_jobs">validate_jobs() (in module jarvis.executors.crontab)</a>
</li>
Expand All @@ -3386,12 +3370,16 @@ <h2 id="V">V</h2>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_notify_reminders">validate_notify_reminders() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_speaker_index">validate_speaker_index() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.validators.Validator.validate_speech_synthesis_voices">validate_speech_synthesis_voices() (jarvis.modules.models.validators.Validator method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_startup_options">validate_startup_options() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.executors.background_task.validate_tasks">validate_tasks() (in module jarvis.executors.background_task)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_vpn_password">validate_vpn_password() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.validators.Validator.validate_wake_words">validate_wake_words() (jarvis.modules.models.validators.Validator method)</a>
</li>
<li><a href="index.html#jarvis.executors.automation.validate_weather_alert">validate_weather_alert() (in module jarvis.executors.automation)</a>

Expand All @@ -3402,6 +3390,8 @@ <h2 id="V">V</h2>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_weather_endpoint">validate_weather_endpoint() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.validate_websites">validate_websites() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.models.validators.Validator">Validator (class in jarvis.modules.models.validators)</a>
</li>
<li><a href="index.html#jarvis.api.routers.stats.ValidColors">ValidColors (class in jarvis.api.routers.stats)</a>
</li>
Expand All @@ -3417,12 +3407,12 @@ <h2 id="V">V</h2>
</li>
<li><a href="index.html#jarvis.modules.telegram.bot.verify_stop">verify_stop() (in module jarvis.modules.telegram.bot)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.telegram.bot.verify_timeout">verify_timeout() (in module jarvis.modules.telegram.bot)</a>
</li>
<li><a href="index.html#jarvis.executors.others.version">version() (in module jarvis.executors.others)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.telegram.settings.Video">Video (class in jarvis.modules.telegram.settings)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.settings.Video.Thumb">Video.Thumb (class in jarvis.modules.telegram.settings)</a>
Expand Down
Loading

0 comments on commit a3da745

Please sign in to comment.