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
↓ 6 callers
Function
groupMediaVersions
(items []model.Media)
internal/service/media_versions.go:63
↓ 6 callers
Function
isHTTPURL
(raw string)
internal/service/local_metadata_artwork.go:280
↓ 6 callers
Method
libraryIsEpisodic
(ctx context.Context, libraryID string)
internal/service/emby_movie_items.go:134
↓ 6 callers
Function
libraryRootID
(root *model.LibraryRoot)
internal/service/scanner_roots.go:106
↓ 6 callers
Function
librarySupportsSeasons
(lib *model.Library)
internal/service/scraper_query.go:121
↓ 6 callers
Function
load
()
web/src/pages/HomePage.tsx:26
↓ 6 callers
Function
logCloudPlayback
(svc *service.Container, msg string, fields ...zap.Field)
internal/handler/cloud_playback.go:225
↓ 6 callers
Method
mainMenu
mainMenu builds the button-based menu, tailored to the user's binding and admin status. Ordinary users only see self-service actions; admins get an ex
internal/service/telegram_menu_layout.go:13
↓ 6 callers
Method
markImageFetchFailed
(failPath string)
internal/service/image_proxy_cache.go:146
↓ 6 callers
Function
mergeCloudMetadata
(dst, src *LocalMetadata)
internal/service/cloud_metadata_merge.go:5
↓ 6 callers
Function
mergeLocalAvailability
(values ...LocalAvailability)
internal/service/subscription_availability_titles.go:128
↓ 6 callers
Function
mergeManualRequestIntoMatch
(match *Match, req ManualScrapeRequest)
internal/service/manual_scrape_helpers.go:9
↓ 6 callers
Function
nonEmptyStrings
(values ...string)
internal/service/tmdb_helpers.go:24
↓ 6 callers
Function
normalizeProxyURL
(raw, proxyKind string)
internal/helper/proxy.go:62
↓ 6 callers
Method
onTorrentComplete
onTorrentComplete handles a torrent that just finished downloading. It organizes the completed torrent payload directly. Relying on existing Media row
internal/service/download_completion.go:19
↓ 6 callers
Method
openRegEnabled
openRegEnabled reports whether bot registration is currently open. It honours both the new open-reg switch and the legacy registration switch.
internal/service/bot_features.go:65
↓ 6 callers
Function
organizeFileExists
(path string)
internal/service/organizer_reclassify_files.go:24
↓ 6 callers
Function
preferExistingLocalizedEpisodeTitle
(m *model.Media, lib *model.Library, match *Match)
internal/service/scraper_lookup.go:151
↓ 6 callers
Function
qbitLogin
(ctx context.Context, client *http.Client, baseURL, username, password string)
internal/service/qbittorrent_login.go:20
↓ 6 callers
Function
refresh
()
web/src/pages/SubscriptionsPage.tsx:23
↓ 6 callers
Function
refresh
()
web/src/pages/useAdminLibraryPanel.ts:21
↓ 6 callers
Function
refresh
()
web/src/pages/AdminUsersPanel.tsx:20
↓ 6 callers
Function
refreshLicenseServerStatus
(ctx context.Context, client *licenseClient, state service.LicenseActivationState, deviceID string)
internal/handler/license_state.go:18
↓ 6 callers
Function
renewExpiry
── 续期 ──────────────────────────────────────────────────────────────────── renewUser extends a user's expiry by durationDays. A nil/zero current expir
internal/service/bot_features.go:196
↓ 6 callers
Function
resolveLocalExecutable
(configured, name string)
internal/service/media_tools.go:54
↓ 6 callers
Method
rpcLocked
rpcLocked 发送 RPC 请求(调用者必须持有锁)。
internal/service/transmission_rpc.go:79
↓ 6 callers
Function
scrapeOptionsFromRequest
(c *gin.Context, retryNoMatch bool)
internal/handler/streaming.go:148
↓ 6 callers
Function
serverOrigin
(r *http.Request)
internal/service/qbittorrent_test.go:409
↓ 6 callers
Function
set
(key: keyof typeof form, value: string | boolean)
web/src/components/OrganizeMediaDialog.tsx:41
↓ 6 callers
Function
siteRequestTimeout
(siteType string, timeoutSeconds int)
internal/service/site_crud.go:143
↓ 6 callers
Function
siteSearchKeywords
(sub *model.Subscription)
internal/service/subscription_site_search_helpers.go:91
↓ 6 callers
Function
splitPath
(raw: string)
web/src/pages/strmPageModel.ts:157
↓ 6 callers
Function
strmSlashParts
(raw string)
internal/service/strm_output_dir.go:89
↓ 6 callers
Function
strmTreeItemIsIgnoredFileSource
(item string)
internal/service/strm_tree_parse.go:181
↓ 6 callers
Function
strmTreeItemIsVideoSource
(item string)
internal/service/strm_tree_parse.go:173
↓ 6 callers
Function
telegramGroupPrivateUserHint
(action string)
internal/service/telegram_bot.go:284
↓ 6 callers
Function
telegramInlineCodeList
(items []string)
internal/service/telegram_mgo_compat.go:72
↓ 6 callers
Function
telegramSupportedCommand
(cmd string)
internal/service/telegram_command_menus.go:9
↓ 6 callers
Function
toFloat64
toFloat64 安全地将 interface{} 转为 float64。
internal/service/transmission_parse.go:53
↓ 6 callers
Function
toNumber
(value: string)
web/src/components/MetadataEditDialog.tsx:81
↓ 6 callers
Function
toSlash
(raw: string)
web/src/pages/strmPageModel.ts:200
↓ 6 callers
Method
urlFor
(remotePath string)
internal/service/storage_upload_webdav.go:113
↓ 6 callers
Method
withinAllowed
(path string, roots map[string]string)
internal/service/filemanager_roots.go:106
↓ 5 callers
Method
All
All returns every key/value pair (used by the admin UI).
internal/repository/setting_repository.go:38
↓ 5 callers
Method
ApplyToUsers
(ctx context.Context, users []model.User)
internal/service/session_tracker_activity.go:11
↓ 5 callers
Function
BuildCloudAutoCategoryLibraryPath
(provider, displayDir string)
internal/service/cloud_auto_category.go:15
↓ 5 callers
Function
CanonicalLibraryDisplayName
(lib model.Library)
internal/service/cloud_mount_display.go:68
↓ 5 callers
Function
CloudMountProviderLabel
(provider string)
internal/service/cloud_mount_label.go:11
↓ 5 callers
Function
DecodeAllowedLibraryIDs
DecodeAllowedLibraryIDs normalises a PlayProfile allowed-library JSON string.
internal/service/visibility.go:73
↓ 5 callers
Method
DeleteByUser
DeleteByUser removes every device row for a user (used on account deletion).
internal/repository/bot_repo.go:178
↓ 5 callers
Method
Discover
Discover returns every reachable MediaRenderer on the LAN. Results are cached for 30 seconds so the React UI's polling does not spam the network.
internal/service/dlna.go:114
↓ 5 callers
Method
EnrichManagementProgress
(ctx context.Context, items []model.Subscription)
internal/service/subscription_availability.go:52
↓ 5 callers
Method
EnrichOneWithOptions
(ctx context.Context, m *model.Media, options ScrapeOptions)
internal/service/scraper.go:22
↓ 5 callers
Function
ExpandMediaVisibilityForMergedCloudLibraries
(ctx context.Context, repo *repository.Container, visibility MediaVisibility)
internal/service/cloud_mount_scope.go:74
↓ 5 callers
Function
FilterScannableCloudLibraries
(ctx context.Context, repo *repository.Container, libs []model.Library)
internal/service/cloud_mount_filter.go:79
↓ 5 callers
Function
FindCloudMountConflict
(libs []model.Library, provider, scanDir, displayDir string)
internal/service/cloud_mount.go:82
↓ 5 callers
Method
FindDefault
FindDefault returns the default download client, or (nil, nil).
internal/repository/download_client_repo.go:36
↓ 5 callers
Method
GetMedia
GetMedia returns a single media row.
internal/service/media_listing.go:100
↓ 5 callers
Method
HandleWebhook
HandleWebhook 处理 Telegram 推送的 Webhook/Polling 消息。
internal/service/telegram_bot.go:158
↓ 5 callers
Function
HashToken
HashToken returns the SHA256 hash of a token.
internal/repository/refresh_token_repository.go:91
↓ 5 callers
Method
ImageURL
ImageURL returns artwork for a media/series/season item id.
internal/service/emby_artwork.go:11
↓ 5 callers
Function
InferCloudMountMediaType
(dir, name string)
internal/service/cloud_mount_label.go:83
↓ 5 callers
Method
IngestPath
IngestPath ingests a single file into the given library without walking the whole tree. Used by the watcher for incremental, event-driven additions so
internal/service/scanner_scan.go:233
↓ 5 callers
Function
IsDeprecatedNativeCloudProvider
(typ string)
internal/service/storage_types.go:29
↓ 5 callers
Function
LicensedMaxUsers
(ctx context.Context, repos *repository.Container)
internal/service/license.go:34
↓ 5 callers
Method
ListEnabled
ListEnabled returns all enabled sites.
internal/repository/site_repo.go:42
↓ 5 callers
Method
LiveTorrentSnapshot
(maxAge time.Duration)
internal/service/download_live_snapshot.go:23
↓ 5 callers
Function
Load
Load 从默认值 / 文件 / 环境读取配置。 即使没有文件也始终返回可用的 Config。
internal/config/config.go:25
↓ 5 callers
Method
MarkUsed
MarkUsed atomically consumes one use of a redeemable code. It returns gorm.ErrRecordNotFound when the code is exhausted so callers can avoid double-sp
internal/repository/bot_repo.go:39
↓ 5 callers
Function
NewAdultProvider
(log *zap.Logger, apiConfig *APIConfigService)
internal/service/adult_scraper.go:52
↓ 5 callers
Method
RepairCloudPathMetadata
RepairCloudPathMetadata backfills external IDs from media paths such as "Movie (2025) {tmdb-123}" so existing placeholder rows can be scraped without
internal/service/cloud_path_repair.go:18
↓ 5 callers
Method
ScanAndScrapeLibrariesForPath
ScanAndScrapeLibrariesForPath scans the affected organize target libraries, then optionally runs the scraper synchronously so manual/automatic organiz
internal/service/organizer_scan.go:98
↓ 5 callers
Method
SearchFiltered
(ctx context.Context, query string, limit int, filter MediaQueryFilter)
internal/repository/media_search_repository.go:19
↓ 5 callers
Method
Stop
Stop shuts the loop down.
internal/service/subscription.go:82
↓ 5 callers
Function
SuccessWithMessage
SuccessWithMessage 返回带消息的成功响应。
internal/handler/response.go:50
↓ 5 callers
Method
TestConnection
TestConnection tries to reach the site's base URL with the configured credentials and reports success/failure. 测试逻辑(与旧版参考实现对齐): 1. 优先调用对应站点适配器的 Auth
internal/service/site_connection.go:25
↓ 5 callers
Method
Type
Type returns the provider key.
internal/service/cloud/cloud.go:62
↓ 5 callers
Method
VerifyPIN
VerifyPIN validates that the caller can switch to a PIN-protected profile.
internal/service/play_profile.go:203
↓ 5 callers
Method
Views
Views 返回 Emby 中"虚拟根目录"——每个 library 一个条目。
internal/service/emby_system.go:128
↓ 5 callers
Function
absoluteRequestURL
(c *gin.Context, path string)
internal/handler/playback_extra.go:205
↓ 5 callers
Function
applyMediaVisibilityQuery
(q *gorm.DB, visibility service.MediaVisibility)
internal/handler/stats.go:136
↓ 5 callers
Method
applyProviderMatchWithOptions
(ctx context.Context, m *model.Media, lib *model.Library, match *Match, options ScrapeOptions)
internal/service/scraper.go:115
↓ 5 callers
Function
buildRequest
buildRequest 构建带认证的 HTTP 请求。
internal/service/site_adapter.go:123
↓ 5 callers
Function
clampNonNegativeInt
(value int)
internal/service/media_metadata.go:137
↓ 5 callers
Function
cloneBackgroundTask
(task BackgroundTask)
internal/service/task_tracker.go:219
↓ 5 callers
Function
cloneLocalMetadata
(src *LocalMetadata)
internal/service/cloud_metadata_merge.go:111
↓ 5 callers
Function
cloudPlaybackLogFields
(typ, ref string, link *cloud.DirectLink, resolveDur time.Duration)
internal/handler/cloud_playback.go:232
↓ 5 callers
Method
cmdRegister
cmdRegister 处理 /register 命令:在管理员开启注册后,普通用户可通过 Bot 注册一个新的媒体中心账号,并自动绑定到当前 Telegram 账号。
internal/service/telegram_bot_commands_core.go:90
↓ 5 callers
Function
commandOutput
(ctx context.Context, timeout time.Duration, name string, args ...string)
internal/service/media_tools.go:110
↓ 5 callers
Function
completedTorrentQueueKey
(torrent QBitTorrent)
internal/service/download_completion_state.go:139
↓ 5 callers
Function
composeTargetInDir
(dir string)
internal/service/system_update_compose.go:88
↓ 5 callers
Function
containsCJK
(s string)
internal/service/scraper_query.go:94
↓ 5 callers
Function
containsString
(values []string, want string)
internal/service/subscription_site_search_keywords_test.go:103
↓ 5 callers
Method
currentTime
()
internal/service/scheduler_runner.go:167
↓ 5 callers
Function
detectContentType
detectContentType returns the MIME type of data using the first 512 bytes.
internal/service/image_proxy_cache.go:31
↓ 5 callers
Function
discoverFeedErrorMessage
(err error)
internal/handler/discover_extra.go:204
↓ 5 callers
Function
discoverSectionProvider
(key string)
internal/handler/discover_extra.go:278
↓ 5 callers
Function
discoverSectionTimeout
(key string)
internal/handler/discover_extra.go:236
↓ 5 callers
Function
downloadSavePathCategoryRoot
(root, category string)
internal/service/download_classifier.go:49
↓ 5 callers
Function
downloadTaskBlocksReadd
(status string)
internal/service/download_identity.go:54
← previous
next →
401–500 of 5,617, ranked by callers