MCPcopy Index your code

hub / github.com/Screenly/Anthias / functions

Functions1,832 in github.com/Screenly/Anthias

↓ 1 callersFunctionscrollTo
(index: number, behavior: ScrollBehavior)
website/assets/js/slider.ts:169
↓ 1 callersFunctionseedDateTime
(raw: string)
src/anthias_server/app/static/src/home.ts:167
↓ 1 callersFunctionseedTimeOnly
(raw: string)
src/anthias_server/app/static/src/home.ts:172
↓ 1 callersFunctionselect_tranche
( devices: list[Device], target_os: str, done: set[str], include_offline: bool, order: str
bin/balena_fleet_maintenance.py:194
↓ 1 callersFunctionsend_current_asset_id_to_server
(correlation_id: str | None)
src/anthias_viewer/__init__.py:427
↓ 1 callersFunctionsend_telemetry
Emit a single GA4 `version` event for this device. Rate-limited to once per TELEMETRY_COOLDOWN_TTL via Redis so frequent celery restarts
src/anthias_server/lib/telemetry.py:93
↓ 1 callersFunctionsetup
()
src/anthias_viewer/__init__.py:1472
↓ 1 callersFunctionshowEmpty
()
src/anthias_server/app/static/src/splash.ts:44
↓ 1 callersFunctionshowStatusReady
()
src/anthias_server/app/static/src/splash.ts:53
↓ 1 callersFunctionshutdown_via_balena_supervisor
()
src/anthias_common/utils.py:146
↓ 1 callersFunctionstart_loop
()
src/anthias_viewer/__init__.py:1524
↓ 1 callersFunctionstart_os_update
Trigger a detached resinhup on one device. POSTs the same action the balena SDK's startOsUpdate does: `POST https://actions.<base>/v2/<uuid>/r
bin/balena_unpin_devices.py:453
↓ 1 callersFunctionstartup
()
src/anthias_server/app/static/src/vendor.ts:175
↓ 1 callersMethodstop
(self)
src/anthias_viewer/media_player.py:590
↓ 1 callersFunctionstop_loop
(scheduler: Any)
src/anthias_viewer/playback.py:19
↓ 1 callersFunctionstop_playback
Handle the ``stop`` command: pause the asset loop on the current frame. Sets the module-level ``loop_is_stopped`` that ``start_loop`` actually
src/anthias_viewer/__init__.py:484
↓ 1 callersFunctionsubscriber_loop
()
src/anthias_host_agent/__main__.py:238
↓ 1 callersFunctionsupervisor_eligible
Bump the supervisor only on devices that are already on the target balenaOS (so the supervisor/OS pairing stays within balena's compatibility
bin/balena_unpin_devices.py:532
↓ 1 callersFunctionsvgFor
(url: string)
src/anthias_server/app/static/src/splash.ts:32
↓ 1 callersFunctiontake_one_then_disconnect
()
tests/test_backup_helper.py:183
↓ 1 callersFunctionunpin_fleet
Clear the release pin on every pinned, not-keep-pinned device in `fleet` with one filtered bulk PATCH.
bin/balena_unpin_devices.py:284
↓ 1 callersMethoduploadFiles
(input: HTMLInputElement)
src/anthias_server/app/static/src/home.ts:68
↓ 1 callersMethoduploadOne
(url: string, csrf: string, file: File)
src/anthias_server/app/static/src/home.ts:70
↓ 1 callersMethoduse_defaults
(self)
src/anthias_server/settings.py:146
↓ 1 callersFunctionvalidate_token
Check whether a Screenly API token is accepted by v4.1. Probes ``GET /assets?limit=1`` because it's the cheapest authenticated endpoint that
src/anthias_server/lib/screenly_migration.py:85
↓ 1 callersFunctionvariant_for
(value: Any)
src/anthias_viewer/media_player.py:295
↓ 1 callersFunctionview_video
(uri: str, duration: int | str)
src/anthias_viewer/__init__.py:1027
↓ 1 callersFunctionwait_for_server
(retries: int, wt: int = 1)
src/anthias_viewer/utils.py:44
↓ 1 callersFunctionwatchdog
Notify the watchdog file to be used with the watchdog-device.
src/anthias_viewer/utils.py:36
Method__enter__
(self)
tests/test_app.py:91
Method__enter__
(self)
tests/test_processing.py:367
Method__enter__
(self)
tests/test_whitenoise_resilient.py:38
Method__exit__
(self, *_: Any)
tests/test_app.py:96
Method__exit__
(self, *_: object)
tests/test_processing.py:370
Method__exit__
(self, *exc: object)
tests/test_whitenoise_resilient.py:41
Function__getattr__
Lazy build of DRF auth classes via PEP-562 module ``__getattr__``. DRF resolves the dotted-string class names in ``REST_FRAMEWORK['DEFAULT_AU
src/anthias_server/lib/auth.py:290
Method__init__
(self)
src/anthias_viewer/media_player.py:349
Method__init__
(self)
src/anthias_viewer/media_player.py:526
Method__init__
(self, *args: Any, **kwargs: Any)
src/anthias_viewer/scheduling.py:119
Method__init__
( self, redis_connection: Any, commands: dict[str, Callable[[str | None], Any]],
src/anthias_viewer/messaging.py:32
Method__init__
( self, message: str, recipe: str = '', handbrake: list[str] | None = None,
src/anthias_server/processing.py:1113
Method__init__
(self, *args: Any, **kwargs: Any)
src/anthias_server/settings.py:73
Method__init__
(self)
src/anthias_server/settings.py:175
Method__init__
(self)
src/anthias_server/settings.py:217
Method__init__
(self, message: str)
src/anthias_server/lib/screenly_migration.py:71
Method__init__
(self, errors: Any)
src/anthias_server/api/helpers.py:14
Method__init__
( self, *args: Any, unique_name: bool = False, **kwargs: Any, )
src/anthias_server/api/serializers/v2.py:190
Method__init__
( self, *args: Any, unique_name: bool = False, **kwargs: Any, )
src/anthias_server/api/serializers/v1_2.py:17
Method__init__
( self, *args: Any, unique_name: bool = False, **kwargs: Any, )
src/anthias_server/api/serializers/v1_1.py:50
Method__init__
(self)
src/anthias_common/http.py:63
Method__init__
(self, name: str, base: str = '/sys/class/drm')
tests/test_media_player.py:358
Method__init__
(self, original_path: str, base_path: str)
tests/test_app.py:87
Method__init__
(self, name: str, path: str)
tests/test_utils.py:295
Method__init__
(self, pending: str | None)
tests/test_processing.py:2000
Method__init__
(self, body: str)
tests/test_processing.py:2135
Method__init__
(self, entries: list[Any])
tests/test_whitenoise_resilient.py:35
Method__init__
(self, entry: os.DirEntry[str])
tests/test_whitenoise_resilient.py:100
Method__iter__
(self)
tests/test_whitenoise_resilient.py:44
Method__str__
(self)
src/anthias_server/app/models.py:84
Method__str__
(self)
tests/test_processing.py:2138
Function_blpop
(keys: Any, timeout: float | None = None)
tests/conftest.py:185
Function_capture
(name: str, *, full_page: bool = False)
tests/conftest.py:440
Function_default_play_days
()
src/anthias_server/app/models.py:46
Function_default_timeout
(page: Page)
tests/test_migrate_to_screenly.py:53
Function_default_timeout
(page: Page)
tests/test_app.py:224
Method_enable_logging
(self)
tests/test_viewer.py:1931
Function_ensure_assetdir
Some legacy fixtures (e.g. ``api/tests/test_v1_endpoints.py:: cleanup_asset_dir``) iterate ``settings['assetdir']`` during teardown witho
tests/conftest.py:221
Function_eval
(script: str, numkeys: int, *args: Any)
tests/conftest.py:156
Function_fake_run
(argv: Any, **kwargs: Any)
tests/test_viewer.py:1259
Function_flags_set
()
tests/test_app.py:861
Function_format_subprocess_stderr
Decode the tail of a subprocess's stderr to a readable string. ``sh.ErrorReturnCode.stderr`` is ``bytes``; returning it via ``f'{exc.stderr!r
src/anthias_server/processing.py:282
Function_internal_auth_secret
Set a stable secret so internal_auth_token() resolves to a fixed value for the duration of the test, then restore.
tests/test_viewer_api.py:39
Function_iter_content
(chunk_size: int)
tests/test_celery_tasks.py:1147
Function_migrate
Atomic across both stores: the DB writes (User upsert, auth_backend feature-flag flip) and the conf rewrite either all happen or none do.
src/anthias_server/app/migrations/0005_migrate_basic_auth_to_user.py:138
Function_mock_redis
Replace ``anthias_common.utils.connect_to_redis`` with a dict-backed ``MagicMock`` for every test, including any module-level ``r = conne
tests/conftest.py:274
Function_noop
(name: str, *, full_page: bool = False)
tests/conftest.py:420
Method_origin_verified
(self, request: 'HttpRequest')
src/anthias_server/lib/csrf.py:111
Function_persisted
()
tests/test_app.py:1151
Function_raise
()
tests/test_github.py:44
Function_reset_marketing_dir
Clear ``test-artifacts/marketing/`` once per session when marketing capture is enabled. Runs inside the test container (where pytest executes)
tests/conftest.py:331
Function_restore_shuffle_setting
Shuffle is a global setting — restore after each test that touches it so an early test can't leave the next one shuffled.
tests/test_viewer_api.py:51
Function_row_or_none
Common entry-point guard for both normalisation tasks. A task firing for a row that's been deleted, or whose ``is_processing`` was cleared by
src/anthias_server/processing.py:246
Function_rpush
(key: str, *values: Any)
tests/conftest.py:171
Function_run_image_normalisation
(asset: Asset)
src/anthias_server/processing.py:574
Function_run_video_normalisation
Probe the upload, record what ffprobe finds in ``metadata``, and reject the asset if its codec isn't hardware-decoded on this device. The
src/anthias_server/processing.py:1124
Function_set
( key: str, value: Any, *, nx: bool = False, ex: int | None = None,
tests/conftest.py:128
Functionalsa_settings
()
tests/test_media_player.py:277
Functionanthias_assets
(request: HttpRequest, filename: str)
src/anthias_server/app/views_files.py:91
Functionapi_client
()
src/anthias_server/api/tests/test_v1_endpoints.py:23
Functionapi_client
()
src/anthias_server/api/tests/test_screenly_migration.py:442
Functionapi_client
()
src/anthias_server/api/tests/test_v2_endpoints.py:23
Functionapi_client
()
src/anthias_server/api/tests/test_info_endpoints.py:24
Functionapi_client
()
src/anthias_server/api/tests/test_assets.py:22
Functionasset
()
tests/test_template_views.py:33
Methodasset
(self)
src/anthias_server/api/tests/test_screenly_migration.py:558
Functionasset_date
Format an Asset start/end datetime using the configured date_format + use_24_hour_clock device settings. No `settings.load()` call: the Anthi
src/anthias_server/app/templatetags/asset_filters.py:97
Functionasset_dir
Covers the orphan-file sweep added for forum 6636 / GH #2657. cleanup() reads settings['assetdir'] directly, so each test points that at
tests/test_celery_tasks.py:37
Functionasset_dir
Point ``settings['assetdir']`` at a fresh per-test tempdir. Each test that writes a fixture file lands it under here, and asserts on what sur
tests/test_processing.py:85
Methodasset_update
(self, event: dict[str, Any])
src/anthias_server/app/consumers.py:21
Functionassets
Active + inactive asset lists for /. Partition matches what the operator can change directly from the home page: `is_enabled` (the Activity t
src/anthias_server/app/page_context.py:257
← previousnext →501–600 of 1,832, ranked by callers