MCPcopy Create free account

hub / github.com/ShukeBta/MediaStationGo / functions

Functions5,617 in github.com/ShukeBta/MediaStationGo

↓ 5 callersFunctionembyClientInfoFromRequest
(c *gin.Context)
internal/handler/emby_auth.go:164
↓ 5 callersMethodensureAuth
ensureAuth makes sure we have a valid SID cookie. Cheap on the happy path; logs in transparently otherwise.
internal/service/qbittorrent.go:249
↓ 5 callersMethodensureAuthLocked
ensureAuthLocked 确保已认证(调用者必须持有锁)。
internal/service/qbittorrent_adp.go:209
↓ 5 callersFunctionensureLicenseDeviceID
(ctx context.Context, svc *service.Container, candidate string)
internal/handler/license_state.go:32
↓ 5 callersFunctionffmpegDefaultString
(value, fallback string)
internal/service/transcoder_ffmpeg_args.go:67
↓ 5 callersMethodfindByProvider
(ctx context.Context, provider string)
internal/service/api_config.go:213
↓ 5 callersFunctionfindMatchingTaskByTorrentIdentity
(title string, taskByKey map[string]model.DownloadTask)
internal/service/download_completion_state.go:221
↓ 5 callersMethodfindSeriesGroup
(ctx context.Context, id, userID string)
internal/service/emby_series.go:38
↓ 5 callersFunctionfirstFormValue
(c *gin.Context, keys ...string)
internal/handler/emby_auth_request.go:156
↓ 5 callersFunctionfirstHeaderValue
(c *gin.Context, names ...string)
internal/handler/emby_auth.go:149
↓ 5 callersFunctionfirstJSONInt
(obj map[string]any, keys ...string)
internal/service/cloud_metadata_json.go:149
↓ 5 callersFunctionfirstStringFromMap
(values map[string]any, keys ...string)
internal/service/douban_parse.go:8
↓ 5 callersFunctionfirstStringFromMap
(body map[string]any, keys ...string)
internal/handler/emby_auth_request.go:142
↓ 5 callersFunctionfirstValue
(values url.Values, keys ...string)
internal/handler/emby_auth_request.go:133
↓ 5 callersFunctionfmtBytes
(n: number)
web/src/pages/StatsPageSections.tsx:6
↓ 5 callersFunctiongroupMediaSeriesCards
(items []model.Media)
internal/service/media_series.go:98
↓ 5 callersFunctionhasFFmpegListEntry
(output, name string)
internal/service/transcoder_ffmpeg_probe.go:136
↓ 5 callersFunctionhashPassword
(p string)
internal/service/auth.go:244
↓ 5 callersFunctionisCloudMediaPath
(value string)
internal/service/scraper_local_metadata.go:177
↓ 5 callersFunctionisEpisodeLike
(media: Media)
web/src/utils/groupSeries.ts:76
↓ 5 callersFunctionisHTTPURL
(value: string)
web/src/pages/strmPageUtils.ts:5
↓ 5 callersFunctionisImageContentType
(ctype string)
internal/service/image_proxy_cache.go:38
↓ 5 callersMethodjobSyncCloudLibraries
jobSyncCloudLibraries keeps mounted cloud:// libraries refreshed without enabling full disk scans. It imports remote cloud files as STRM-backed media
internal/service/scheduler_cloud.go:99
↓ 5 callersFunctionjoinOpenListAPIPath
(dir, name string)
internal/service/cloud/clouddrive2_openlist_helpers.go:119
↓ 5 callersFunctionlibraryRootPathKey
(pathValue string)
internal/service/media_library_roots.go:295
↓ 5 callersMethodlistUserDevices
(ctx context.Context, userID string)
internal/service/telegram_user_self.go:163
↓ 5 callersMethodloadCapacity
loadCapacity reads live capacity + open-reg quota state.
internal/service/bot_features.go:43
↓ 5 callersFunctionlocalMetadataMarksMatched
(local *LocalMetadata)
internal/service/local_metadata_apply.go:91
↓ 5 callersFunctionmatchesSubscriptionTorrentRules
(sub *model.Subscription, item SearchResult)
internal/service/subscription_torrent_rules.go:11
↓ 5 callersMethodmediaExternalIDMatchTrusted
(m *model.Media, lib *model.Library, match *Match, source string)
internal/service/scraper_lookup.go:64
↓ 5 callersFunctionmetadataFromDoc
(doc *nfoDocument, baseDir string, seriesLike bool)
internal/service/local_metadata_convert.go:8
↓ 5 callersFunctionminInt
(a, b int)
internal/service/emby_items_helpers.go:104
↓ 5 callersFunctionmteamRequestError
(action string, cfg SiteConfig, err error)
internal/service/site_adapter_mteam.go:237
↓ 5 callersFunctionnewLicenseClient
(ctx context.Context, svc *service.Container)
internal/handler/license_client.go:30
↓ 5 callersFunctionnewLicenseHandlerTestService
(t *testing.T)
internal/handler/license_test.go:403
↓ 5 callersFunctionnormalizeBangumiImageURL
(raw string)
internal/service/bangumi.go:199
↓ 5 callersFunctionnormalizeLibraryMergeName
(name string)
internal/service/cloud_mount_label.go:65
↓ 5 callersFunctionnumberedTechnicalFolder
(value, prefix string)
internal/service/scraper_query_paths.go:49
↓ 5 callersMethodopen
()
cmd/server/log_rotate.go:89
↓ 5 callersFunctionorganizePipeline
(svc *service.Container)
internal/handler/organizer.go:136
↓ 5 callersFunctionpageSlice
(items []T, start, limit int)
internal/service/emby_items_helpers.go:77
↓ 5 callersFunctionparseCloudMediaPlaybackURL
(raw string)
internal/service/emby_playback.go:98
↓ 5 callersFunctionparseDownloadMediaIdentity
(name string)
internal/service/download_identity.go:77
↓ 5 callersFunctionparseNexusPHPHTML
parseNexusPHPHTML 解析 NexusPHP 种子列表 HTML。
internal/service/site_adapter_nexusphp_list.go:18
↓ 5 callersFunctionparseProviderIDString
(value, provider string)
internal/service/manual_scrape_helpers.go:98
↓ 5 callersMethodpollInterval
(ctx context.Context)
internal/service/subscription.go:220
↓ 5 callersFunctionpublicDownloadTitle
(raw string)
internal/service/download_identity.go:169
↓ 5 callersMethodqueueCloudMediaProbe
(typ, ref, path string)
internal/service/scanner_probe_queue.go:16
↓ 5 callersMethodqueueCloudMediaProbeWithBudget
(typ, ref, path string, budget *int)
internal/service/scanner_probe_queue.go:88
↓ 5 callersFunctionreadNFO
(path string)
internal/service/local_metadata_read.go:111
↓ 5 callersFunctionregisterEmbyGetRoutes
(grp *gin.RouterGroup, svc *service.Container, paths []string, factory embyRouteHandlerFactory)
internal/handler/emby_routes.go:118
↓ 5 callersFunctionregisterTelegramBotCommands
(ctx context.Context, cfg map[string]string)
internal/service/telegram_command_menus.go:129
↓ 5 callersFunctionrepairRescrapeOptions
RepairAndRescrapeAllLibraries 修复并重刮所有媒体库:先从媒体路径中的 {tmdb-123}/{bangumi-456} 等占位符回填缺失或错误的外部 ID(回填后会把相关 行的 scrape_status 重置为 pending),随后逐个媒体库重刮(含 no_matc
internal/service/cloud_path_rescrape.go:61
↓ 5 callersFunctionrequestLibraries
(t *testing.T, svc *service.Container, userID, role, path string)
internal/handler/media_test.go:318
↓ 5 callersMethodrequireAllowedPath
(path string, forbidRoot bool)
internal/service/filemanager_roots.go:12
↓ 5 callersFunctionreserveMTeamAPIQuota
(ctx context.Context, cfg SiteConfig, endpoint string)
internal/service/site_rate_limiter.go:153
↓ 5 callersMethodresolveRuntimeConfig
(ctx context.Context)
internal/service/ai_runtime_config.go:18
↓ 5 callersFunctionrssSubscriptionItem
(title, download string)
internal/service/subscription_rss_defaults_test.go:31
↓ 5 callersFunctionsanitizeTelegramText
(text string)
internal/service/telegram_api_client.go:122
↓ 5 callersMethodscrapeDelay
(ctx context.Context)
internal/service/scraper_library.go:210
↓ 5 callersFunctionseasonFromDir
(name string)
internal/service/episode_parser.go:179
↓ 5 callersFunctionseasonFromParents
(path string)
internal/service/episode_parser.go:160
↓ 5 callersFunctionseriesCardLink
(card: SeriesCard)
web/src/utils/groupSeries.ts:280
↓ 5 callersFunctionseriesFingerprint
(parts ...string)
internal/service/media_series_key.go:59
↓ 5 callersFunctionseriesFingerprint
(...parts: string[])
web/src/utils/groupSeries.ts:61
↓ 5 callersMethodseriesGroupsFromMedia
(rows []model.Media)
internal/service/emby_series.go:112
↓ 5 callersMethodseriesPayload
(group embySeriesGroup)
internal/service/emby_series_payload.go:3
↓ 5 callersFunctionserveCachedPlaceholder
(w http.ResponseWriter)
internal/service/image_proxy_cache.go:64
↓ 5 callersFunctionsettingOn
(value: string)
web/src/pages/autoOrganizeModel.ts:96
↓ 5 callersFunctionshowDirFromEpisodePath
showDirFromEpisodePath 从单集路径推出整剧目录, 作为「同一部剧」的聚合键。 若没有季文件夹, 则退而去掉文件名取其父目录。
internal/service/episode_metadata_cleanup.go:26
↓ 5 callersMethodsignIn
signIn records a daily sign-in for the user, tracking consecutive-day streaks only (no points). A second sign-in on the same calendar day is a no-op.
internal/service/bot_features.go:230
↓ 5 callersFunctionsignedMiddlewareTestToken
(t *testing.T, secret string, claims Claims)
internal/middleware/middleware_test.go:166
↓ 5 callersMethodsiteModelToConfig
siteModelToConfig 将 model.Site 转换为适配器使用的 SiteConfig。 当全局 FlareSolverr 已启用且此站点开启了 BrowserEmulation 时,填充 FlareSolverrURL。
internal/service/site_crud.go:106
↓ 5 callersFunctionstableSiteSearchGUID
(item SearchResult, download string)
internal/service/subscription_guid.go:24
↓ 5 callersFunctionstartScrapeHTTPTask
(svc *service.Container, name, title, path string)
internal/handler/streaming.go:246
↓ 5 callersFunctionstreamHandler
(svc *service.Container)
internal/handler/media.go:267
↓ 5 callersFunctionstrmCategoryRoot
(part string)
internal/service/strm_output_dir.go:143
↓ 5 callersFunctionstrmLibraryOutputSubdir
(lib model.Library)
internal/service/strm_output_dir.go:10
↓ 5 callersFunctionstrmTreeURLQueryMediaSource
(raw string)
internal/service/strm_tree_normalize.go:222
↓ 5 callersFunctionsubscriptionTitleMatchQueries
(sub *model.Subscription)
internal/service/subscription_episode_queries.go:110
↓ 5 callersFunctiontelegramCommandName
(text string)
internal/service/telegram_bot.go:252
↓ 5 callersFunctiontelegramPrivateBotCommandMenu
()
internal/service/telegram_command_menus.go:44
↓ 5 callersFunctiontelegramSetBotCommands
(ctx context.Context, cfg map[string]string, commands []telegramBotCommand, scope map[string]interface{})
internal/service/telegram_command_menus.go:152
↓ 5 callersFunctiontelegramTargetChatIDs
(cfg map[string]string)
internal/service/notify_telegram_config.go:5
↓ 5 callersFunctiontelegramUpdateActionable
telegramUpdateActionable 判断一条 update 是否需要分发处理。 长轮询默认会返回 message 与 callback_query 两类更新;命令消息需有文本, 而内联按钮回调(callback_query)必须被分发,否则成人目录显隐开关会失效。
internal/service/telegram_polling.go:176
↓ 5 callersMethodtelegramUserBindDecision
(ctx context.Context, channel *model.NotifyChannel, telegramUserID int)
internal/service/telegram_membership.go:46
↓ 5 callersFunctiontoProfileView
(p model.PlayProfile)
internal/service/play_profile_model.go:36
↓ 5 callersMethodupsertTelegramBinding
(ctx context.Context, msg *TelegramMessage, userID string)
internal/service/telegram_binding.go:34
↓ 5 callersFunctionvalidateRecognitionWordURL
(ctx context.Context, rawURL string)
internal/service/recognition_words_shared.go:88
↓ 5 callersMethodverifySigned
(resp *licenseServerSignedResp)
internal/handler/license_client.go:111
↓ 5 callersMethodwant
(provider string)
internal/service/manual_scrape_search.go:123
↓ 5 callersMethodwarnMissingCloudStorageConfigOnce
(ctx context.Context, typ string, err error)
internal/service/boot_cloud_health.go:65
↓ 5 callersFunctionwithQuery
(url: string, query: string)
web/src/api/client.ts:175
↓ 5 callersFunctionwriteFileManagerResponse
(c *gin.Context, payload any, err error)
internal/handler/filemanager.go:90
↓ 4 callersFunctionAdultLibraryIDs
(ctx context.Context, repo *repository.Container)
internal/service/visibility.go:151
↓ 4 callersMethodApplyManualMatch
(ctx context.Context, mediaID string, req ManualScrapeRequest)
internal/service/manual_scrape.go:41
↓ 4 callersMethodAuthenticate
(ctx context.Context, cfg SiteConfig)
internal/service/site_adapter_mteam.go:30
↓ 4 callersMethodBroadcast
Broadcast 向所有连接的客户端广播事件。
internal/service/sse_hub.go:110
↓ 4 callersMethodCancelCloudScansForProvider
(provider string)
internal/service/scanner_cloud_status.go:220
↓ 4 callersMethodClearDefault
ClearDefault unsets the default flag for all clients.
internal/repository/download_client_repo.go:83
← previousnext →501–600 of 5,617, ranked by callers