Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShukeBta/MediaStationGo
/ functions
Functions
5,617 in github.com/ShukeBta/MediaStationGo
⨍
Functions
5,617
◇
Types & classes
739
↓ 10 callers
Method
EnrichOne
EnrichOne runs the provider chain for a single media row.
internal/service/scraper.go:18
↓ 10 callers
Function
GetUserRole
GetUserRole extracts the user role from the Gin context.
internal/middleware/roles.go:43
↓ 10 callers
Function
NewPermissionService
NewPermissionService is the constructor.
internal/service/permission.go:25
↓ 10 callers
Function
NewSiteService
NewSiteService is the constructor.
internal/service/site.go:23
↓ 10 callers
Function
ParseCloudArtworkURL
(raw string)
internal/service/scanner_cloud_artwork.go:118
↓ 10 callers
Method
Start
Start initialises the underlying fsnotify watcher and registers every library root currently in the database.
internal/service/watcher.go:63
↓ 10 callers
Method
applyUserMediaVisibility
(ctx context.Context, q *gorm.DB, userID string)
internal/service/emby_visibility.go:13
↓ 10 callers
Function
buildSubscribeKeyword
(title string, year int)
internal/service/external_search.go:122
↓ 10 callers
Function
cleanAvailabilityTitle
(value string)
internal/service/local_availability.go:143
↓ 10 callers
Function
deduplicate
deduplicate removes duplicates from a string slice.
internal/service/tmdb_helpers.go:9
↓ 10 callers
Function
normalizeAdultCode
(input string)
internal/service/adult_scraper_code.go:15
↓ 10 callers
Function
normalizeReleaseDate
(value string)
internal/service/local_metadata_helpers.go:73
↓ 10 callers
Function
normalizeTorrentName
(name string)
internal/service/download_identity.go:198
↓ 10 callers
Function
pathHintMetadata
(raw string, seriesLike bool)
internal/service/external_id_hints.go:75
↓ 10 callers
Function
persistLicenseState
(ctx context.Context, svc *service.Container, state service.LicenseActivationState)
internal/handler/license_state.go:128
↓ 10 callers
Function
recordPreparedSelection
(candidates []siteSearchCandidate, stats *siteSearchSelectionStats)
internal/service/subscription_candidate_select.go:154
↓ 10 callers
Method
telegramChannelConfig
(channel *model.NotifyChannel)
internal/service/telegram_channel_resolve.go:123
↓ 10 callers
Function
titleMatchesQuality
(titleFold, quality string)
internal/service/subscription_score.go:93
↓ 10 callers
Method
urlFor
(remotePath string)
internal/service/cloud/clouddrive2_dav_path.go:9
↓ 9 callers
Method
Allow
(ctx context.Context, siteKey string, limits ...siteAPIRateLimit)
internal/service/site_rate_limiter.go:32
↓ 9 callers
Function
AuthRequired
AuthRequired parses and validates a JWT from the Authorization header (Bearer ...) or the `token` query parameter (used by <video>.src).
internal/middleware/auth.go:25
↓ 9 callers
Method
FirstAdmin
FirstAdmin returns the earliest admin user. This row represents the protected built-in/default administrator even if its username is later changed.
internal/repository/user_repository.go:97
↓ 9 callers
Method
Get
Get returns the decrypted config view, or (nil, nil).
internal/service/storage_config.go:64
↓ 9 callers
Method
Item
Item 单条目详情。
internal/service/emby_items_detail.go:13
↓ 9 callers
Function
NewAPIConfigService
NewAPIConfigService is the constructor.
internal/service/api_config.go:32
↓ 9 callers
Method
PlaybackInfo
PlaybackInfo returns a PlaybackInfoResponse usable by Emby clients.
internal/service/emby_playback.go:17
↓ 9 callers
Method
Refresh
Refresh 使用 Refresh Token 轮换获取新的令牌对。
internal/service/token_svc.go:171
↓ 9 callers
Method
Update
Update applies the patch and returns the new public view.
internal/service/api_config.go:149
↓ 9 callers
Function
addTrimmedString
(data map[string]interface{}, key, value string)
internal/service/download_notification.go:80
↓ 9 callers
Function
availabilityQuery
(title, keyword string)
internal/service/local_availability.go:133
↓ 9 callers
Method
invalidateMediaCache
(ctx context.Context)
internal/service/media_cache.go:44
↓ 9 callers
Function
mediaTitles
(items []model.Media)
internal/service/cloud_mount_filter_test.go:516
↓ 9 callers
Method
mediaTypeForDirectoryCategory
(name string)
internal/service/organizer_directory_layout.go:81
↓ 9 callers
Function
mediaVisibleForRequest
(c *gin.Context, svc *service.Container, media *model.Media)
internal/handler/visibility.go:80
↓ 9 callers
Method
mergedLibraryIDs
(ctx context.Context, libraryID string)
internal/service/emby_visibility.go:92
↓ 9 callers
Function
normalizeDownloadClientEndpoint
(clientType, raw string)
internal/service/download_client_endpoint.go:21
↓ 9 callers
Function
normalizeSTRMTreeSource
(raw string)
internal/service/strm_tree_normalize.go:54
↓ 9 callers
Function
parseCommaList
parseCommaList splits a comma-separated string into trimmed non-empty values.
internal/service/organizer_classify.go:75
↓ 9 callers
Function
quoteIdent
(value string)
internal/database/sqlite_migration_copy.go:223
↓ 9 callers
Method
remoteImageCachePaths
(raw string)
internal/service/image_proxy_cache.go:82
↓ 9 callers
Method
replyDevicePolicy
(ctx context.Context)
internal/service/telegram_device_policy.go:10
↓ 9 callers
Function
resolveAccessibleLibraryPath
(path string)
internal/service/media_paths.go:32
↓ 9 callers
Method
rpcLocked
rpcLocked 发送 JSON-RPC 请求(调用者必须持有锁)。
internal/service/aria2_rpc.go:96
↓ 9 callers
Method
runOne
(ctx context.Context, sub *model.Subscription)
internal/service/subscription_rss_run.go:22
↓ 9 callers
Function
scrapeQueryCandidates
(m *model.Media, lib *model.Library)
internal/service/scraper_query.go:20
↓ 9 callers
Function
shellQuote
(value string)
internal/service/system_update_command.go:89
↓ 9 callers
Function
strVal
strVal 安全地提取字符串。
internal/service/transmission_parse.go:73
↓ 9 callers
Method
update
(id string, update TaskUpdate)
internal/service/task_tracker.go:139
↓ 9 callers
Method
useful
()
internal/service/external_id_hints.go:48
↓ 8 callers
Method
CloudProvider
CloudProvider constructs a cloud-disk provider from the saved (decrypted) config for the given type, or returns an error if not configured.
internal/service/storage_config_cloud.go:15
↓ 8 callers
Function
DefaultPermissions
Defaults returns a non-admin's default permission set.
internal/service/permission.go:30
↓ 8 callers
Function
IsAdminStorageConfigurable
(typ string)
internal/service/storage_types.go:11
↓ 8 callers
Method
ManualSearch
(ctx context.Context, media *model.Media, query, provider, mediaType string)
internal/service/manual_scrape_search.go:11
↓ 8 callers
Function
NewFFprobeService
NewFFprobeService is the constructor.
internal/service/ffprobe.go:33
↓ 8 callers
Function
NewOrganizePipelineService
(log *zap.Logger, repo *repository.Container, organizer *OrganizerService, scanner *ScannerService, tasks *Tas
internal/service/organize_pipeline.go:65
↓ 8 callers
Method
OrganizeMediaWithOptions
OrganizeMediaWithOptions is OrganizeMedia with per-request overrides for the target path and transfer mode.
internal/service/organizer.go:79
↓ 8 callers
Method
PrefetchCloudResolved
PrefetchCloudResolved downloads a cloud sidecar image into the local cache without writing an HTTP response.
internal/service/image_proxy_cloud.go:94
↓ 8 callers
Method
SetRuntimeCache
(cache *RuntimeCacheService)
internal/service/stats.go:36
↓ 8 callers
Method
UploadLocal
UploadLocal copies or moves local media files into an external storage backend. Cloud writes are intentionally gated by the per-storage transfer_enabl
internal/service/storage_upload.go:70
↓ 8 callers
Method
acquire
(ctx context.Context)
internal/service/ffprobe.go:140
↓ 8 callers
Function
applyLocalMetadata
(m *model.Media, local *LocalMetadata)
internal/service/local_metadata_apply.go:5
↓ 8 callers
Function
artworkScore
(media: Media)
web/src/utils/groupSeries.ts:312
↓ 8 callers
Method
attachLibraryMetadata
(ctx context.Context, items []model.Media)
internal/service/media_display_library.go:11
↓ 8 callers
Function
buildSubscribeAliases
(title, originalName string, year int)
internal/service/external_search.go:133
↓ 8 callers
Function
cleanSTRMTreeItemName
(value string)
internal/service/strm_tree_normalize.go:308
↓ 8 callers
Function
cloudPlaybackURL
(typ, ref string)
internal/service/cloud_metadata_merge.go:123
↓ 8 callers
Function
containsAnyToken
(titleFold, csv string)
internal/service/subscription_exclude_rules.go:16
↓ 8 callers
Function
copy
(value: string)
web/src/components/ExternalPlayerButton.tsx:80
↓ 8 callers
Function
decorateDAVTransportError
(name, target string, err error)
internal/service/cloud/clouddrive2_dav_error.go:43
↓ 8 callers
Function
decorateStorageTransportError
(name, target string, err error)
internal/service/storage_config_probe.go:152
↓ 8 callers
Function
embyAttachRequestTokenToMediaSources
(c *gin.Context, out any)
internal/handler/emby_playback.go:34
↓ 8 callers
Function
embyError
embyError 返回 Emby 风格的错误(顶层 Code/Message)。
internal/handler/emby_auth.go:15
↓ 8 callers
Function
embyPlaybackInfoHandler
(svc *service.Container)
internal/handler/emby_playback.go:14
↓ 8 callers
Function
embyVideoHLSPlaylistHandler
(svc *service.Container)
internal/handler/emby_playback.go:237
↓ 8 callers
Function
firstJSONString
(obj map[string]any, keys ...string)
internal/service/cloud_metadata_json.go:126
↓ 8 callers
Function
firstJSONStrings
(obj map[string]any, keys ...string)
internal/service/cloud_metadata_json.go:134
↓ 8 callers
Function
firstText
(values ...string)
internal/service/local_metadata_helpers.go:32
↓ 8 callers
Function
formatExpiry
formatExpiry renders a user's expiry status for display.
internal/service/bot_features.go:276
↓ 8 callers
Method
getJSON
(ctx context.Context, url string, out any)
internal/service/tmdb.go:121
↓ 8 callers
Method
hasLibraryRootsTable
()
internal/repository/library_repository.go:155
↓ 8 callers
Function
isSeriesPackTitle
(title string)
internal/service/subscription_pack.go:13
↓ 8 callers
Function
libraryNames
(libs []model.Library)
internal/service/cloud_mount_filter_test.go:508
↓ 8 callers
Method
lookupRedeemableCode
lookupRedeemableCode validates a code without consuming it. Callers mark it used only after the dependent action (account create / renew) succeeds, so
internal/service/bot_features.go:146
↓ 8 callers
Function
mappedPathCandidates
(input string)
internal/service/media_paths.go:146
↓ 8 callers
Function
normalizeSTRMTreeProvider
(raw string)
internal/service/strm_tree_normalize.go:43
↓ 8 callers
Method
openListAPIURL
(apiPath string)
internal/service/cloud/clouddrive2.go:171
↓ 8 callers
Function
parseIntSettingDefault
parseIntSettingDefault parses an int setting, returning fallback on error.
internal/service/bot_settings.go:179
↓ 8 callers
Function
registerEmbyGetHeadRoutes
(grp *gin.RouterGroup, svc *service.Container, paths []string, factory embyRouteHandlerFactory)
internal/handler/emby_routes.go:124
↓ 8 callers
Method
reply
reply 通过 Telegram Bot API 发送回复消息。
internal/service/telegram_reply.go:25
↓ 8 callers
Method
resolveAPIKey
resolveAPIKey returns the TMDb API key, checking config first, then database.
internal/service/tmdb.go:81
↓ 8 callers
Method
resolveBaseURL
resolveBaseURL returns the TMDb base URL, checking config first, then database.
internal/service/tmdb.go:105
↓ 8 callers
Function
sameOrChildPath
(pathValue, root string)
internal/service/subscription_availability_scan.go:11
↓ 8 callers
Function
scanTaskDetails
(res *service.ScanResult, limit int)
internal/handler/media_scan.go:146
↓ 8 callers
Function
setNonEmptyMediaString
(updates map[string]any, key, current, next string)
internal/repository/media_repository_upsert.go:234
↓ 8 callers
Function
subscriptionFilter
(sub *model.Subscription)
internal/service/subscription_availability.go:190
↓ 8 callers
Function
subscriptionSearchResultText
(item SearchResult)
internal/service/subscription_candidate_collect.go:88
↓ 8 callers
Function
telegramHTTPClients
(timeout time.Duration, cfg map[string]string)
internal/service/telegram_api_client.go:50
↓ 8 callers
Function
telegramIsGroupChat
(chatType string)
internal/service/telegram_bot.go:267
↓ 8 callers
Method
telegramUserIsAdmin
(ctx context.Context, channel *model.NotifyChannel, telegramUserID int)
internal/service/telegram_membership.go:14
↓ 8 callers
Function
update
(k: K, v: DownloadClientInput[K])
web/src/pages/DownloadClientFormModal.tsx:50
← previous
next →
201–300 of 5,617, ranked by callers