Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Screenly/Anthias
/ types & classes
Types & classes
160 in github.com/Screenly/Anthias
⨍
Functions
1,832
◇
Types & classes
160
↳
Endpoints
84
↓ 13 callers
Class
AuthSettingsError
Raised by ``apply_auth_settings`` with an operator-friendly message. ``ValueError`` parent so existing handlers that catch Exception/ValueErro
src/anthias_server/lib/auth.py:443
↓ 11 callers
Class
AssetSerializer
src/anthias_server/api/serializers/__init__.py:41
↓ 11 callers
Class
Scheduler
src/anthias_viewer/scheduling.py:118
↓ 7 callers
Class
Asset
src/anthias_server/app/models.py:50
↓ 6 callers
Class
RemoteVideoDownloadError
Raised by ``download_remote_video_asset`` for permanent failures the operator needs to see on the row. Covers: non-2xx HTTP response, wrong C
src/anthias_server/celery_tasks.py:893
↓ 6 callers
Class
ScreenlyMigrationError
Raised when a single-asset migration step fails for a known reason. The message is operator-facing — it surfaces in the UI's per-asset error
src/anthias_server/lib/screenly_migration.py:57
↓ 6 callers
Class
_TemporaryCopy
File-upload helper. Splinter is gone; Playwright's ``set_input_files()`` takes a path directly, but we still copy repo assets into /tmp becaus
tests/test_app.py:81
↓ 5 callers
Class
AssetSerializerV2
src/anthias_server/api/serializers/v2.py:98
↓ 5 callers
Class
CreateAssetSerializerV2
src/anthias_server/api/serializers/v2.py:187
↓ 4 callers
Class
AssetCreationError
src/anthias_server/api/helpers.py:13
↓ 4 callers
Class
MPVMediaPlayer
src/anthias_viewer/media_player.py:348
↓ 3 callers
Class
AnthiasSession
A ``requests.Session`` pre-configured with the Anthias UA. Use this anywhere Anthias makes an outbound call to a third party so Screenly / Gi
src/anthias_common/http.py:53
↓ 3 callers
Class
AssetCreationError
src/anthias_server/api/errors.py:1
↓ 3 callers
Class
UpdateAssetSerializer
src/anthias_server/api/serializers/__init__.py:82
↓ 3 callers
Class
ViewerSubscriber
Background thread that listens for viewer commands on Redis pub/sub. On startup, retries the subscribe() call until it succeeds — the redis c
src/anthias_viewer/messaging.py:11
↓ 3 callers
Class
WebviewLaunchError
A single AnthiasViewer launch exited or never handshook. Subclasses ``RuntimeError`` so existing callers (and tests) that catch ``RuntimeErro
src/anthias_viewer/__init__.py:557
↓ 3 callers
Class
_FakeSerializer
Stand-in for the four API serializer classes — the dispatch helper only reads ``_pending_normalize``, so a minimal duck type is enough to test
tests/test_processing.py:1995
↓ 2 callers
Class
CreateAssetSerializerV1_1
src/anthias_server/api/serializers/v1_1.py:28
↓ 2 callers
Class
GstFbdevMediaPlayer
Pi 1/2/3 (Qt5 linuxfb) video player: GStreamer HW pipeline → fb. Spawns the ``anthias_viewer.gst_fbdev_player`` helper, which runs a ``playbi
src/anthias_viewer/media_player.py:491
↓ 2 callers
Class
ReplyCollector
src/anthias_server/settings.py:214
↓ 2 callers
Class
ReplySender
Push a JSON reply onto a per-correlation-ID list. Used by the viewer to answer request-reply commands like ``current_asset_id``. The list exp
src/anthias_server/settings.py:193
↓ 2 callers
Class
UnsupportedVideoCodecError
Raised by ``_run_video_normalisation`` when a video upload's codec can't be hardware-decoded on this device. Carries the suggested ``recipe``
src/anthias_server/processing.py:1100
↓ 2 callers
Class
ViewerPublisher
src/anthias_server/settings.py:172
↓ 1 callers
Class
AnthiasSettings
Anthias' Settings.
src/anthias_server/settings.py:70
↓ 1 callers
Class
BackupRecoverError
Raised when a backup archive cannot be safely recovered.
src/anthias_server/lib/backup_helper.py:56
↓ 1 callers
Class
CreateAssetSerializerV1_2
src/anthias_server/api/serializers/v1_2.py:14
↓ 1 callers
Class
Device
bin/balena_fleet_maintenance.py:143
↓ 1 callers
Class
FakeEntry
tests/test_utils.py:294
↓ 1 callers
Class
ResilientWhiteNoiseMiddleware
WhiteNoise whose startup scan survives unreadable entries. Mirrors ``whitenoise.base.WhiteNoise.update_files_dictionary`` / ``scantree`` (whi
src/anthias_server/lib/whitenoise.py:30
↓ 1 callers
Class
SigalrmError
src/anthias_common/errors.py:1
↓ 1 callers
Class
UpdateAssetSerializerV2
src/anthias_server/api/serializers/v2.py:255
↓ 1 callers
Class
UpdateDeviceSettingsSerializerV2
src/anthias_server/api/serializers/v2.py:322
↓ 1 callers
Class
WebviewBinaryMissingError
AnthiasViewer is not on PATH. A permanent failure (bad image build / packaging regression), so the retry loop must NOT burn its backoff budge
src/anthias_viewer/__init__.py:565
↓ 1 callers
Class
_Bare
tests/test_processing.py:2048
↓ 1 callers
Class
_Entry
tests/test_whitenoise_resilient.py:99
↓ 1 callers
Class
_FakeBuf
tests/test_processing.py:2134
↓ 1 callers
Class
_FakeDirEntry
Minimal os.DirEntry stand-in for scandir tests.
tests/test_media_player.py:355
↓ 1 callers
Class
_FakeImage
tests/test_processing.py:363
↓ 1 callers
Class
_GstFixtures
tests/test_media_player.py:545
↓ 1 callers
Class
_MPVFixtures
tests/test_media_player.py:21
↓ 1 callers
Class
_ScandirCM
Context-manager iterable matching ``os.scandir``'s protocol, so fakes that hand back a custom entry list still work with the production ``with
tests/test_whitenoise_resilient.py:30
↓ 1 callers
Class
_ViewerFixtures
tests/test_viewer.py:21
Class
APIDocView
src/anthias_server/django_project/urls.py:28
Class
AnthiasAppConfig
src/anthias_server/app/apps.py:4
Class
ApiConfig
src/anthias_server/api/apps.py:4
Class
AssetAdmin
src/anthias_server/app/admin.py:7
Class
AssetConsumer
src/anthias_server/app/consumers.py:13
Class
AssetContentViewMixin
src/anthias_server/api/views/mixins.py:276
Class
AssetContentViewV1
src/anthias_server/api/views/v1.py:130
Class
AssetContentViewV2
src/anthias_server/api/views/v2.py:565
Interface
AssetEdit
src/anthias_server/app/static/src/home.ts:19
Class
AssetListViewV1
src/anthias_server/api/views/v1.py:134
Class
AssetListViewV1_1
src/anthias_server/api/views/v1_1.py:23
Class
AssetListViewV1_2
src/anthias_server/api/views/v1_2.py:27
Class
AssetListViewV2
src/anthias_server/api/views/v2.py:340
Class
AssetRecheckViewV2
On-demand reachability recheck, called from the viewer. The viewer cannot attach operator BasicAuth credentials, so this endpoint uses a ligh
src/anthias_server/api/views/v2.py:480
Class
AssetViewV1
src/anthias_server/api/views/v1.py:82
Class
AssetViewV1_1
src/anthias_server/api/views/v1_1.py:68
Class
AssetViewV1_2
src/anthias_server/api/views/v1_2.py:98
Class
AssetViewV2
src/anthias_server/api/views/v2.py:429
Class
AssetsControlViewMixin
src/anthias_server/api/views/mixins.py:347
Class
AssetsControlViewV1
src/anthias_server/api/views/v1.py:200
Class
AssetsControlViewV2
src/anthias_server/api/views/v2.py:573
Class
BackupViewMixin
src/anthias_server/api/views/mixins.py:51
Class
BackupViewSerializerMixin
src/anthias_server/api/serializers/mixins.py:269
Class
BackupViewV1
src/anthias_server/api/views/v1.py:192
Class
BackupViewV2
src/anthias_server/api/views/v2.py:541
Class
CreateAssetSerializerMixin
src/anthias_server/api/serializers/mixins.py:27
Class
DeleteAssetViewMixin
src/anthias_server/api/views/mixins.py:42
Class
DeprecatedBasicAuthentication
``BasicAuthentication`` that logs a deprecation warning the first time it sees each ``(user, client_ip, path)`` tuple (and again after
src/anthias_server/lib/auth.py:215
Class
DeviceSettingsSerializerV2
src/anthias_server/api/serializers/v2.py:302
Class
DeviceSettingsViewV2
src/anthias_server/api/views/v2.py:577
Class
DisplayPowerViewMixin
src/anthias_server/api/views/mixins.py:173
Class
DisplayPowerViewSerializerMixin
src/anthias_server/api/serializers/mixins.py:281
Class
DisplayPowerViewV2
src/anthias_server/api/views/v2.py:557
Class
FakeDownloadError
tests/test_celery_tasks.py:729
Class
FileAssetViewMixin
src/anthias_server/api/views/mixins.py:221
Class
FileAssetViewV1
src/anthias_server/api/views/v1.py:184
Class
FileAssetViewV2
src/anthias_server/api/views/v2.py:561
Class
GatedSessionAuthentication
``SessionAuthentication`` that no-ops when auth is disabled. DRF's stock class enforces CSRF on unsafe methods whenever a session coo
src/anthias_server/lib/auth.py:268
Interface
HomeAppData
src/anthias_server/app/static/src/home.ts:43
Class
InfoView
src/anthias_server/api/views/v1.py:204
Class
InfoViewMixin
src/anthias_server/api/views/mixins.py:378
Class
InfoViewV2
src/anthias_server/api/views/v2.py:883
Class
IntegrationsSerializerV2
src/anthias_server/api/serializers/v2.py:384
Class
IntegrationsViewV2
src/anthias_server/api/views/v2.py:1003
Interface
IpResponse
src/anthias_server/app/static/src/splash.ts:9
Class
MediaPlayer
src/anthias_viewer/media_player.py:262
Class
MediaPlayerProxy
src/anthias_viewer/media_player.py:619
Class
Meta
src/anthias_server/app/models.py:81
Class
Meta
src/anthias_server/api/serializers/v2.py:146
Class
Meta
src/anthias_server/api/serializers/__init__.py:52
Class
Migration
src/anthias_server/app/migrations/0006_asset_metadata.py:4
Class
Migration
src/anthias_server/app/migrations/0001_initial.py:7
Class
Migration
src/anthias_server/app/migrations/0003_asset_reachability.py:4
Class
Migration
src/anthias_server/app/migrations/0004_asset_schedule_fields.py:7
Class
Migration
src/anthias_server/app/migrations/0002_auto_20241015_1524.py:6
Class
Migration
src/anthias_server/app/migrations/0005_migrate_basic_auth_to_user.py:236
Class
NetworkIpAddressesViewV2
Lightweight IP-list endpoint for the splash page to poll. Unauth'd because the splash page itself is unauth'd and the viewer isn't a credenti
src/anthias_server/api/views/v2.py:283
Class
PlaylistOrderSerializerMixin
src/anthias_server/api/serializers/mixins.py:255
next →
1–100 of 160, ranked by callers