MCPcopy Index your code

hub / github.com/Screenly/Anthias / functions

Functions1,832 in github.com/Screenly/Anthias

Methodget_is_active
(self, obj: Asset)
src/anthias_server/api/serializers/v2.py:105
Functionget_load_avg
Returns load average rounded to two digits.
src/anthias_server/lib/diagnostics.py:188
Methodget_metadata
(self, obj: Asset)
src/anthias_server/api/serializers/v2.py:132
Methodget_play_days
(self, obj: Asset)
src/anthias_server/api/serializers/v2.py:118
Functionget_raspberry_code
()
src/anthias_server/lib/diagnostics.py:301
Functionget_raspberry_model
()
src/anthias_server/lib/diagnostics.py:305
Methodget_refresh_interval_s
(self, obj: Asset)
src/anthias_server/api/serializers/v2.py:122
Functionget_uptime
()
src/anthias_server/lib/diagnostics.py:181
Functionget_url_patterns
()
src/anthias_server/api/urls/v2.py:27
Functionget_url_patterns
()
src/anthias_server/api/urls/v1.py:19
Functionget_url_patterns
()
src/anthias_server/api/urls/v1_2.py:6
Functionget_url_patterns
()
src/anthias_server/api/urls/v1_1.py:6
Functionget_utc_isodate
()
src/anthias_server/lib/diagnostics.py:286
Functiongithub_env
(fake_redis: MagicMock)
tests/test_github.py:32
Functiongstfb
()
tests/test_media_player.py:551
Functionhalf_write
(_in: str, staging: str)
tests/test_processing.py:409
FunctionhandleToast
(ev: Event)
src/anthias_server/app/static/src/vendor.ts:74
Functionhandler
(route: Route, request: Request)
tests/test_migrate_to_screenly.py:90
Functionhome
(request: HttpRequest)
src/anthias_server/app/views.py:175
FunctionhomeApp
()
src/anthias_server/app/static/src/home.ts:119
Functionhome_dir
()
tests/test_migrate_legacy_paths.py:35
Functioninit
(this: HomeAppData & { $watch: (k: string, cb: () => void) => void })
src/anthias_server/app/static/src/home.ts:137
Functioninit
(root: HTMLElement)
website/assets/js/slider.ts:79
Functionintegrations
()
src/anthias_server/app/page_context.py:295
Functionintegrations
(request: HttpRequest)
src/anthias_server/app/views.py:152
Functionintegrations_url
()
src/anthias_server/api/tests/test_v2_endpoints.py:458
Functioninternal_auth_secret
()
tests/test_recheck_endpoint.py:31
FunctionisSelected
(id)
src/anthias_server/app/static/src/home.ts:265
MethodisSelected
(id: string)
src/anthias_server/app/static/src/home.ts:72
Methodis_playing
(self)
src/anthias_viewer/media_player.py:408
Methodis_playing
(self)
src/anthias_viewer/media_player.py:615
Functionlegacy_home
Backups produced by pre-rename releases used `.screenly` and `screenly_assets` as top-level archive entries. recover() must keep accepting the
tests/test_backup_helper.py:199
Functionlogin
(request: HttpRequest)
src/anthias_server/app/views.py:1455
Functionmigrate_to_screenly
(request: HttpRequest)
src/anthias_server/app/views.py:160
Functionmigrate_url
()
src/anthias_server/api/tests/test_screenly_migration.py:452
Functionmock_full_build
A requests.get mock that wires up the three call shapes build_imager_json() makes: latest-release lookup, tag-asset list, and per-asset metada
tools/raspberry_pi_imager/tests/test_build_pi_imager_json.py:110
Functionmock_release_assets
A requests.get mock that always returns the canned release-assets payload — what get_asset_list() consumes.
tools/raspberry_pi_imager/tests/test_build_pi_imager_json.py:102
Functionmock_requests_get
Patches the module-level requests.get and yields the mock so each test can configure return_value or side_effect.
tools/raspberry_pi_imager/tests/test_build_pi_imager_json.py:92
Functionmpv
()
tests/test_media_player.py:28
Functionnavbar
Shared by every page; merged into context by helpers.template().
src/anthias_server/app/page_context.py:32
Functionnext_chunk
()
src/anthias_server/lib/backup_helper.py:171
Functionnoop
(*a: Any, **k: Any)
tests/test_viewer.py:79
FunctiononBulkDone
(event)
src/anthias_server/app/static/src/home.ts:329
MethodonBulkDone
(event: Event)
src/anthias_server/app/static/src/home.ts:81
FunctiononMove
(ev: PointerEvent)
src/anthias_server/app/static/src/home.ts:638
FunctiononUp
(ev: PointerEvent)
src/anthias_server/app/static/src/home.ts:650
Functionon_about_to_finish
(element: Any)
src/anthias_viewer/gst_fbdev_player.py:301
Functionon_bus_message
(bus: Any, message: Any)
src/anthias_viewer/gst_fbdev_player.py:376
Functionon_convert_event
Pin the capsfilter to aspect-fit dims from the CAPS event. The CAPS event always precedes buffers, and the converter only fixates its
src/anthias_viewer/gst_fbdev_player.py:264
Methodon_failure
( self, exc: BaseException, task_id: str, args: tuple[Any, ...], kwarg
src/anthias_server/celery_tasks.py:557
Methodon_failure
( self, exc: BaseException, task_id: str, args: tuple[Any, ...], kwarg
src/anthias_server/processing.py:490
Functionon_sigterm
(signum: int, frame: Any)
src/anthias_viewer/gst_fbdev_player.py:417
FunctionopenAdd
()
src/anthias_server/app/static/src/home.ts:218
MethodopenAdd
()
src/anthias_server/app/static/src/home.ts:61
FunctionopenBulkEdit
()
src/anthias_server/app/static/src/home.ts:317
MethodopenBulkEdit
()
src/anthias_server/app/static/src/home.ts:79
FunctionopenDelete
(id: string, name: string)
src/anthias_server/app/static/src/home.ts:229
MethodopenDelete
(id: string, name: string)
src/anthias_server/app/static/src/home.ts:64
FunctionopenEdit
(asset: AssetEdit)
src/anthias_server/app/static/src/home.ts:222
MethodopenEdit
(asset: AssetEdit)
src/anthias_server/app/static/src/home.ts:62
FunctionopenPreview
(asset: AssetEdit)
src/anthias_server/app/static/src/home.ts:226
MethodopenPreview
(asset: AssetEdit)
src/anthias_server/app/static/src/home.ts:63
Functionoperator
()
tests/test_login_view.py:33
Methodpatch
(self, request: Request)
src/anthias_server/api/views/v2.py:639
Methodpatch
(self, request: Request, asset_id: str)
src/anthias_server/api/views/v1_2.py:136
Methodplay
(self)
src/anthias_viewer/media_player.py:564
Methodpost
(self, request: Request, asset_id: str)
src/anthias_server/api/views/v2.py:495
Methodpost
(self, request: Request)
src/anthias_server/api/views/v2.py:1075
Methodpost
(self, request: Request)
src/anthias_server/api/views/v2.py:1174
Methodpost
(self, request: Request, format: str | None = None)
src/anthias_server/api/views/v1.py:152
Methodpost
(self, request: Request)
src/anthias_server/api/views/v1_2.py:45
Methodpost
(self, request: Request)
src/anthias_server/api/views/mixins.py:72
Methodpost
(self, request: Request)
src/anthias_server/api/views/mixins.py:100
Methodpost
(self, request: Request)
src/anthias_server/api/views/mixins.py:158
Methodpost
(self, request: Request)
src/anthias_server/api/views/mixins.py:168
Methodpost
(self, request: Request, state: str)
src/anthias_server/api/views/mixins.py:201
Methodpost
(self, request: Request)
src/anthias_server/api/views/mixins.py:243
Methodpost
(self, request: Request)
src/anthias_server/api/views/mixins.py:340
Methodpost
(self, request: Request)
src/anthias_server/api/views/v1_1.py:39
Methodprepare_asset
( self, data: dict[str, Any], asset_id: str | None = None, version: str = 'v2'
src/anthias_server/api/serializers/mixins.py:58
Functionpreprocessing_filter_spec
(endpoints: list[Any])
src/anthias_server/api/api_docs_filter_spec.py:4
Functionproduce
()
src/anthias_server/lib/backup_helper.py:106
Functionpush
(kind, message, ttlMs = 4000)
src/anthias_server/app/static/src/vendor.ts:53
Methodput
( self, request: Request, asset_id: str, format: str | None = None, )
src/anthias_server/api/views/v1.py:102
Methodput
(self, request: Request, asset_id: str)
src/anthias_server/api/views/v1_2.py:145
Methodput
(self, request: Request, asset_id: str)
src/anthias_server/api/views/v1_1.py:86
Functionpytest_collection_modifyitems
Set ``DJANGO_ALLOW_ASYNC_UNSAFE=1`` only when the run actually contains integration tests. Playwright's sync API spins up an internal asyncio
tests/conftest.py:247
Functionreboot_anthias
Background task to reboot Anthias
src/anthias_server/celery_tasks.py:1123
Functionreconcile_stuck_processing
Recover ``Asset`` rows stuck at ``is_processing=True``. Causes (incomplete list): * v1/v1.1 file uploads pre-GH #2870 fix: the create view
src/anthias_server/celery_tasks.py:1299
Functionredis_data
()
tests/test_github.py:16
Functionredis_data
()
tests/test_telemetry.py:14
Functionremote_video_asset_dir
Per-test temp directory pinned as settings['assetdir'] so the download task writes inside it and we can inspect the on-disk result without dep
tests/test_celery_tasks.py:1158
Functionremove_connection
:param bus: pydbus.bus.Bus :param uuid: string :return: boolean
src/anthias_common/utils.py:471
Functionrequire_client_in
( *cidrs: ipaddress.IPv4Network | ipaddress.IPv6Network, )
src/anthias_server/app/views_files.py:68
Methodreraising_wrapper
(send: Any)
tests/test_media_player.py:1078
Functionreset_assets
()
tests/test_migrate_to_screenly.py:58
Functionreset_assets
()
tests/test_app.py:229
Functionreset_dark_mode_state
_last_applied_dark_mode + _rotation_bounce_pending are module state — snapshot and restore so these tests don't bleed into each other or the r
tests/test_viewer.py:1073
Functionreset_media_proxy
()
tests/test_media_player.py:738
Functionreset_rotation_state
_last_applied_rotation + _rotation_bounce_pending are module state — snapshot and restore so rotation tests don't bleed into each other (or in
tests/test_viewer.py:1025
← previousnext →701–800 of 1,832, ranked by callers