MCPcopy Create free account

hub / github.com/CICCADA-CORP/SoundTime / functions

Functions1,532 in github.com/CICCADA-CORP/SoundTime

Functionloading
()
frontend/src/lib/stores/radio.svelte.ts:167
Functionloading
()
frontend/src/lib/stores/theme.svelte.ts:80
Functionloading
()
frontend/src/lib/stores/auth.svelte.ts:83
Functionlocal_domain_any_address
()
backend/crates/soundtime-server/src/listing_worker.rs:835
Functionlocal_domain_localhost
()
backend/crates/soundtime-server/src/listing_worker.rs:823
Functionlocal_domain_loopback_ipv4
()
backend/crates/soundtime-server/src/listing_worker.rs:829
Functionlocal_domain_public_address_is_not_local
()
backend/crates/soundtime-server/src/listing_worker.rs:841
Methodlocal_might_match
Check if a query term *might* match our local index.
backend/crates/soundtime-p2p/src/search_index.rs:110
Functionlog_listen
POST /api/history (auth required — log a listen) Records a new listen history entry and atomically increments the track's `play_count` using a SQL `S
backend/crates/soundtime-server/src/api/history.rs:155
Functionlogin
(username: string, password: string)
frontend/src/lib/stores/auth.svelte.ts:15
Functionlogin
POST /api/auth/login
backend/crates/soundtime-server/src/auth/routes.rs:274
Functionlogout
()
frontend/src/lib/stores/auth.svelte.ts:38
Functionmain
()
backend/crates/soundtime-server/src/main.rs:42
FunctionmarkPlayed
* Mark a track as played (add to exclusion set). * Called from queue.svelte.ts when a track starts playing in radio mode.
frontend/src/lib/stores/radio.svelte.ts:152
Methodmax_size
Get the configured maximum cache size in bytes.
backend/crates/soundtime-p2p/src/blob_cache.rs:225
Functionme
GET /api/auth/me (requires auth)
backend/crates/soundtime-server/src/auth/routes.rs:449
Methodmetadata_full_path
Resolve a relative path against the metadata directory. Used by `serve_media` to find cover files when METADATA_STORAGE_PATH is set.
backend/crates/soundtime-audio/src/storage.rs:97
Functionmetadata_status
GET /api/admin/metadata/status — metadata enrichment status overview
backend/crates/soundtime-server/src/api/admin.rs:752
Functionmetadata_task_dismiss
POST /api/admin/metadata/task-dismiss — dismiss completed/errored metadata task. Resets the tracker to `None` (idle), allowing a new enrichment task
backend/crates/soundtime-server/src/api/admin.rs:743
Functionmetadata_task_status
GET /api/admin/metadata/task-status — poll metadata enrichment progress. Returns a JSON object whose `"status"` field is one of: - `"idle"` — no task
backend/crates/soundtime-server/src/api/admin.rs:726
Methodmigrations
()
backend/crates/soundtime-migration/src/lib.rs:41
Functionmoderate_track
DELETE /api/admin/tracks/:id/moderate — delete or unlist a track (admin)
backend/crates/soundtime-server/src/api/reports.rs:462
FunctionmoveInQueue
(fromIndex: number, toIndex: number)
frontend/src/lib/stores/queue.svelte.ts:65
Functionmy_uploads
GET /api/tracks/my-uploads – returns only the authenticated user's uploads
backend/crates/soundtime-server/src/api/tracks.rs:207
Functionnetwork_graph
GET /api/p2p/network-graph — P2P network topology for D3 visualization
backend/crates/soundtime-server/src/api/p2p.rs:239
Functionnetwork_search
GET /api/p2p/search?q=...&limit=... — distributed search across the P2P network. Queries peers whose Bloom filter indicates they might have matching c
backend/crates/soundtime-server/src/api/p2p.rs:344
Methodnew
Create a new buffer with the given capacity.
backend/crates/soundtime-server/src/p2p_logs.rs:46
Methodnew
Create a new installer with configuration from environment.
backend/crates/soundtime-server/src/api/themes.rs:337
Methodnew
Create a new event.
backend/crates/soundtime-plugin/src/events.rs:28
Methodnew
Create a new host context for a plugin.
backend/crates/soundtime-plugin/src/host_functions.rs:120
Methodnew
Create a new plugin registry. Reads configuration from environment variables. Does NOT load plugins — call `load_enabled_plugins()` after creation.
backend/crates/soundtime-plugin/src/registry.rs:155
Methodnew
Create a new installer with configuration from environment.
backend/crates/soundtime-plugin/src/installer.rs:132
Methodnew
Create a new cache with the given maximum size in bytes.
backend/crates/soundtime-p2p/src/blob_cache.rs:49
Methodnew
Create a new health manager with default configuration.
backend/crates/soundtime-p2p/src/track_health.rs:157
Methodnew
Create a new connection pool wrapping the given iroh `Endpoint`.
backend/crates/soundtime-p2p/src/connection_pool.rs:39
Methodnew
Create a new empty peer registry.
backend/crates/soundtime-p2p/src/discovery.rs:43
Methodnew
Create a new, empty search index.
backend/crates/soundtime-p2p/src/search_index.rs:66
Methodnew
Create a new MusicBrainz client with the proper User-Agent. # Panics Panics if the HTTP client cannot be built. This is acceptable because `reqwest::
backend/crates/soundtime-p2p/src/musicbrainz.rs:80
Methodnew
(base_path: impl Into<PathBuf>)
backend/crates/soundtime-audio/src/storage.rs:66
Functionnodeinfo
GET /api/nodeinfo — public instance info consumed by the listing server
backend/crates/soundtime-server/src/api/admin.rs:369
Functionnoop
($$anchor: any, $$props?: any)
frontend/src/lib/components/UploadDropzone.test.ts:22
Functionnoop
($$anchor: any, $$props?: any)
frontend/src/lib/components/ExpandedPlayer.test.ts:123
Methodnormalize_terms
Normalize a term for insertion / lookup: lowercase + split words.
backend/crates/soundtime-p2p/src/search_index.rs:79
Methodobserve
()
frontend/src/tests/setup.ts:40
Functionok_handler
()
backend/crates/soundtime-server/src/auth/middleware.rs:217
Methodon_event
(&self, event: &Event<'_>, _ctx: Context<'_, S>)
backend/crates/soundtime-server/src/p2p_logs.rs:173
Functionp2p_status
GET /api/p2p/status — P2P node status (public, gated by instance privacy)
backend/crates/soundtime-server/src/api/p2p.rs:56
Methodparse_and_validate
Parse and validate a `theme.toml` manifest.
backend/crates/soundtime-server/src/api/themes.rs:64
Methodparse_and_validate
Parse and validate a plugin manifest from a TOML string.
backend/crates/soundtime-plugin/src/manifest.rs:269
Functionpayload_contains_all_required_fields
()
backend/crates/soundtime-server/src/listing_worker.rs:708
Functionpayload_includes_token_for_heartbeat
()
backend/crates/soundtime-server/src/listing_worker.rs:730
Functionpayload_omits_token_on_first_registration
()
backend/crates/soundtime-server/src/listing_worker.rs:722
Functionpayload_with_closed_registration
()
backend/crates/soundtime-server/src/listing_worker.rs:750
Functionpayload_with_empty_description
()
backend/crates/soundtime-server/src/listing_worker.rs:759
Functionpayload_with_unicode_name
()
backend/crates/soundtime-server/src/listing_worker.rs:768
Functionpayload_with_zero_stats
()
backend/crates/soundtime-server/src/listing_worker.rs:739
Methodpeer_is_online
(&self, peer_id: &str)
backend/crates/soundtime-p2p/src/node.rs:2843
Methodpeer_might_match
Check if a peer's Bloom filter might contain results for a query.
backend/crates/soundtime-p2p/src/search_index.rs:150
Functionping_peer
POST /api/admin/p2p/peers/{node_id}/ping — ping a specific peer (admin only)
backend/crates/soundtime-server/src/api/p2p.rs:161
Functionplay
(track: Track)
frontend/src/lib/stores/player.svelte.ts:241
FunctionplayQueue
* Replace the queue with `tracks`, start playback at `startIndex`, and * optionally record the `source` context (e.g. "album", "playlist") so * that
frontend/src/lib/stores/queue.svelte.ts:33
FunctionplayedCount
()
frontend/src/lib/stores/radio.svelte.ts:170
Methodplugin_dir
Get the plugin directory path.
backend/crates/soundtime-plugin/src/registry.rs:545
Methodplugin_id
Returns the plugin ID.
backend/crates/soundtime-plugin/src/host_functions.rs:691
Methodplugin_name
Returns the plugin name.
backend/crates/soundtime-plugin/src/host_functions.rs:696
Functionprogress
Current progress (processed/total)
frontend/src/lib/stores/tasks.svelte.ts:98
Functionprogress
()
frontend/src/lib/stores/player.svelte.ts:334
Functionqueue
()
frontend/src/lib/stores/queue.svelte.ts:203
FunctionradioMode
()
frontend/src/lib/stores/queue.svelte.ts:210
Functionradio_next
POST /api/radio/next (auth required) Returns the next batch of radio tracks based on the given seed.
backend/crates/soundtime-server/src/api/radio.rs:697
Functionrecommend_for_user
Find tracks that match a user's taste vector.
backend/crates/soundtime-server/src/embeddings.rs:541
Methodrecord_bool
(&mut self, field: &Field, value: bool)
backend/crates/soundtime-server/src/p2p_logs.rs:140
Methodrecord_count
Get total number of tracked records.
backend/crates/soundtime-p2p/src/track_health.rs:257
Methodrecord_debug
(&mut self, field: &Field, value: &dyn std::fmt::Debug)
backend/crates/soundtime-server/src/p2p_logs.rs:112
Methodrecord_i64
(&mut self, field: &Field, value: i64)
backend/crates/soundtime-server/src/p2p_logs.rs:136
Methodrecord_str
(&mut self, field: &Field, value: &str)
backend/crates/soundtime-server/src/p2p_logs.rs:124
Methodrecord_u64
(&mut self, field: &Field, value: u64)
backend/crates/soundtime-server/src/p2p_logs.rs:132
Functionrefresh
Re-fetch and re-inject the active theme (e.g., after admin changes).
frontend/src/lib/stores/theme.svelte.ts:72
Functionrefresh
POST /api/auth/refresh
backend/crates/soundtime-server/src/auth/routes.rs:375
Functionregister
( email: string, username: string, password: string )
frontend/src/lib/stores/auth.svelte.ts:24
Functionregister
POST /api/auth/register
backend/crates/soundtime-server/src/auth/routes.rs:61
Functionregister_remote_track
( db: &DatabaseConnection, title: &str, artist_name: &str, album_title: Option<&str>, inst
backend/crates/soundtime-server/src/metadata_lookup.rs:1430
FunctionremoveFromQueue
(index: number)
frontend/src/lib/stores/queue.svelte.ts:60
Functionremove_favorite
DELETE /api/favorites/:track_id (auth required)
backend/crates/soundtime-server/src/api/favorites.rs:148
Functionremove_peer
DELETE /api/admin/p2p/peers/{node_id} — remove a peer (admin only)
backend/crates/soundtime-server/src/api/p2p.rs:195
Functionremove_track_from_playlist
DELETE /api/playlists/:id/tracks/:track_id (auth required, owner only)
backend/crates/soundtime-server/src/api/playlists.rs:334
Functionrepeat
()
frontend/src/lib/stores/player.svelte.ts:337
Functionreport_stats
GET /api/admin/reports/stats — report statistics
backend/crates/soundtime-server/src/api/reports.rs:344
Functionreport_track
POST /api/tracks/:id/report — report a track
backend/crates/soundtime-server/src/api/reports.rs:42
Functionrequire_admin
Middleware: require admin role
backend/crates/soundtime-server/src/auth/middleware.rs:60
Functionrequire_auth
Middleware: require valid access token
backend/crates/soundtime-server/src/auth/middleware.rs:20
Functionrequire_auth_if_private
Middleware: if instance is private, require valid access token. If the instance is public, allows the request through without auth.
backend/crates/soundtime-server/src/auth/middleware.rs:126
Functionrereference_remote_track
PATCH /api/admin/p2p/tracks/{id}/rereference — mark a remote track as available (admin only)
backend/crates/soundtime-server/src/api/p2p.rs:503
Functionreset_tos
DELETE /api/admin/tos — reset ToS to default
backend/crates/soundtime-server/src/api/reports.rs:656
Functionresolve_best_source
Find the best available version of a track (local or remote). Prefers highest bitrate among available sources.
backend/crates/soundtime-server/src/metadata_lookup.rs:1352
Functionresolve_report
PUT /api/admin/reports/:id — resolve/dismiss a report
backend/crates/soundtime-server/src/api/reports.rs:208
Methodretain_peers
Remove all cached connections for peers not in the given set. Useful during periodic cleanup.
backend/crates/soundtime-p2p/src/connection_pool.rs:111
Functionring_buffer_evicts_oldest
()
backend/crates/soundtime-server/src/p2p_logs.rs:243
Functionrun_health_sweep
Perform one full sweep of all remote tracks. Queries `remote_tracks` from the database in pages, checks blob availability via the fetcher, and trigge
backend/crates/soundtime-p2p/src/track_health.rs:755
Functionrun_integrity_check
POST /api/admin/storage/integrity-check Launches the integrity check as a background task and returns immediately.
backend/crates/soundtime-server/src/api/admin.rs:982
← previousnext →601–700 of 1,532, ranked by callers