Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Screenly/Anthias
/ functions
Functions
1,832 in github.com/Screenly/Anthias
⨍
Functions
1,832
◇
Types & classes
160
↳
Endpoints
84
↓ 1 callers
Function
scrollTo
(index: number, behavior: ScrollBehavior)
website/assets/js/slider.ts:169
↓ 1 callers
Function
seedDateTime
(raw: string)
src/anthias_server/app/static/src/home.ts:167
↓ 1 callers
Function
seedTimeOnly
(raw: string)
src/anthias_server/app/static/src/home.ts:172
↓ 1 callers
Function
select_tranche
( devices: list[Device], target_os: str, done: set[str], include_offline: bool, order: str
bin/balena_fleet_maintenance.py:194
↓ 1 callers
Function
send_current_asset_id_to_server
(correlation_id: str | None)
src/anthias_viewer/__init__.py:427
↓ 1 callers
Function
send_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 callers
Function
setup
()
src/anthias_viewer/__init__.py:1472
↓ 1 callers
Function
showEmpty
()
src/anthias_server/app/static/src/splash.ts:44
↓ 1 callers
Function
showStatusReady
()
src/anthias_server/app/static/src/splash.ts:53
↓ 1 callers
Function
shutdown_via_balena_supervisor
()
src/anthias_common/utils.py:146
↓ 1 callers
Function
start_loop
()
src/anthias_viewer/__init__.py:1524
↓ 1 callers
Function
start_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 callers
Function
startup
()
src/anthias_server/app/static/src/vendor.ts:175
↓ 1 callers
Method
stop
(self)
src/anthias_viewer/media_player.py:590
↓ 1 callers
Function
stop_loop
(scheduler: Any)
src/anthias_viewer/playback.py:19
↓ 1 callers
Function
stop_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 callers
Function
subscriber_loop
()
src/anthias_host_agent/__main__.py:238
↓ 1 callers
Function
supervisor_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 callers
Function
svgFor
(url: string)
src/anthias_server/app/static/src/splash.ts:32
↓ 1 callers
Function
take_one_then_disconnect
()
tests/test_backup_helper.py:183
↓ 1 callers
Function
unpin_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 callers
Method
uploadFiles
(input: HTMLInputElement)
src/anthias_server/app/static/src/home.ts:68
↓ 1 callers
Method
uploadOne
(url: string, csrf: string, file: File)
src/anthias_server/app/static/src/home.ts:70
↓ 1 callers
Method
use_defaults
(self)
src/anthias_server/settings.py:146
↓ 1 callers
Function
validate_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 callers
Function
variant_for
(value: Any)
src/anthias_viewer/media_player.py:295
↓ 1 callers
Function
view_video
(uri: str, duration: int | str)
src/anthias_viewer/__init__.py:1027
↓ 1 callers
Function
wait_for_server
(retries: int, wt: int = 1)
src/anthias_viewer/utils.py:44
↓ 1 callers
Function
watchdog
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
Function
alsa_settings
()
tests/test_media_player.py:277
Function
anthias_assets
(request: HttpRequest, filename: str)
src/anthias_server/app/views_files.py:91
Function
api_client
()
src/anthias_server/api/tests/test_v1_endpoints.py:23
Function
api_client
()
src/anthias_server/api/tests/test_screenly_migration.py:442
Function
api_client
()
src/anthias_server/api/tests/test_v2_endpoints.py:23
Function
api_client
()
src/anthias_server/api/tests/test_info_endpoints.py:24
Function
api_client
()
src/anthias_server/api/tests/test_assets.py:22
Function
asset
()
tests/test_template_views.py:33
Method
asset
(self)
src/anthias_server/api/tests/test_screenly_migration.py:558
Function
asset_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
Function
asset_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
Function
asset_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
Method
asset_update
(self, event: dict[str, Any])
src/anthias_server/app/consumers.py:21
Function
assets
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
← previous
next →
501–600 of 1,832, ranked by callers