MCPcopy Index your code

hub / github.com/KuekHaoYang/KVideo / functions

Functions758 in github.com/KuekHaoYang/KVideo

↓ 2 callersFunctioncleanLabel
(label: string)
app/api/premium/types/route.ts:78
↓ 2 callersFunctioncompareVersions
(left: string, right: string)
lib/app-release.ts:26
↓ 2 callersFunctioncreateFavoritesStore
(name: string)
lib/store/favorites-store.ts:38
↓ 2 callersFunctioncreateHistoryStore
(name: string)
lib/store/history-store.ts:91
↓ 2 callersFunctioncreateSearchHistoryStore
(name: string)
lib/store/search-history-store.ts:36
↓ 2 callersFunctiondecodeBase64Url
(value: string)
lib/server/auth-helpers.ts:66
↓ 2 callersFunctionensureUniqueUsername
( preferredValue: string, existingUsernames: ReadonlySet<string>, fallbackValue: string )
lib/server/auth-helpers.ts:187
↓ 2 callersFunctionextractFilename
* Extract filename from URL (handles both relative and absolute URLs)
lib/utils/m3u8-ad-detector.ts:126
↓ 2 callersFunctionextractNumber
(str: string)
lib/utils/danmaku-utils.ts:68
↓ 2 callersFunctionextractPathPrefix
* Extract path prefix (directory) from URL * e.g., "/20230907/73PWifvT/1392kb/hls/" from "/20230907/73PWifvT/1392kb/hls/gFE6lwIk.ts"
lib/utils/m3u8-ad-detector.ts:162
↓ 2 callersFunctionextractVariantPlaylistUrls
(content: string, baseUrl: string)
lib/player/resolution-probe-utils.ts:145
↓ 2 callersFunctionfetchManifestText
(url: string, timeoutMs: number)
app/api/probe-resolution/route.ts:55
↓ 2 callersFunctionfetchWithConcurrencyLimit
( tasks: (() => Promise<T>)[], limit: number )
lib/store/iptv-store.ts:41
↓ 2 callersFunctionfilterHEVCLevels
(hlsInstance: Hls)
components/iptv/IPTVPlayer.tsx:351
↓ 2 callersFunctionformatDate
(ts: number)
lib/utils/format-utils.ts:22
↓ 2 callersFunctionformatTime
(seconds: number)
lib/utils/format-utils.ts:8
↓ 2 callersFunctiongenerateIdFromName
(name: string)
components/settings/hooks/useAddSourceForm.ts:18
↓ 2 callersFunctiongenerateLegacyProfileId
(password: string)
lib/server/auth.ts:239
↓ 2 callersFunctiongenerateRecommendations
( history: VideoHistoryItem[] )
lib/utils/recommendation-engine.ts:36
↓ 2 callersFunctiongenerateShowIdentifier
* Generate unique identifier for deduplication (source-agnostic)
lib/store/history-store.ts:42
↓ 2 callersFunctiongetBootstrapSeeds
()
lib/server/auth.ts:152
↓ 2 callersFunctiongetCachedResolution
(source: string, id: string | number)
lib/player/resolution-cache.ts:16
↓ 2 callersFunctiongetCandidateRank
(candidate: ResolutionProbeLabel)
lib/player/resolution-probe-utils.ts:55
↓ 2 callersFunctiongetCenter
(rect: DOMRect)
lib/hooks/useSpatialNavigation.ts:14
↓ 2 callersFunctiongetPlayerSettingsSnapshot
(isPremium: boolean, mediaProxyEnabled: boolean)
components/player/hooks/usePlayerSettings.ts:34
↓ 2 callersFunctiongetReferenceTargets
(entry: Record<string, unknown>)
lib/utils/m3u-parser.ts:226
↓ 2 callersFunctiongetResolutionCacheKey
(source: string, id: string | number)
lib/player/resolution-cache.ts:12
↓ 2 callersFunctiongetResolutionLabel
(width: number, height: number)
lib/player/resolution-probe-utils.ts:38
↓ 2 callersFunctiongetRestrictedFeatures
( deploymentProvider: RuntimeFeatures['deploymentProvider'], deploymentProviderLabel: string )
lib/server/runtime-features.ts:19
↓ 2 callersFunctiongetSourceById
(id: string)
lib/api/video-sources.ts:13
↓ 2 callersFunctiongetStorageKey
()
lib/store/user-sources-store.ts:21
↓ 2 callersFunctiongetVideoDetail
( id: string | number, source: VideoSource )
lib/api/detail-api.ts:12
↓ 2 callersFunctiongetWatchedTitles
(history: VideoHistoryItem[])
lib/utils/recommendation-engine.ts:121
↓ 2 callersFunctiongroupChannelsByName
(channels: M3UChannel[])
lib/utils/m3u-parser.ts:403
↓ 2 callersFunctionhandleCategoryRequest
* Shared handler for fetching content
app/api/premium/category/route.ts:10
↓ 2 callersFunctionhandleClick
(event: React.MouseEvent)
components/favorites/FavoritesItem.tsx:43
↓ 2 callersFunctionhandleClick
(event: React.MouseEvent)
components/history/HistoryItem.tsx:48
↓ 2 callersFunctionhandleDetailRequest
* Shared handler for fetching video details
app/api/detail/route.ts:15
↓ 2 callersFunctionhandlePriorityChange
(id: string, direction: 'up' | 'down')
components/settings/SourceManager.tsx:33
↓ 2 callersFunctionhandleSearch
(searchQuery: string)
lib/hooks/usePremiumHomePage.ts:122
↓ 2 callersFunctionhandleSourcesChange
(newSources: VideoSource[])
app/settings/hooks/useSettingsPage.ts:75
↓ 2 callersFunctionhandleSourcesChange
(newSources: VideoSource[])
app/premium/settings/hooks/usePremiumSettingsPage.ts:71
↓ 2 callersFunctionhandleTypesRequest
(sourceList: any[])
app/api/premium/types/route.ts:20
↓ 2 callersFunctionhandleVolumeChange
(value: number)
components/iptv/IPTVPlayer.tsx:469
↓ 2 callersFunctionhasRoleAtLeast
(role: Role, minimumRole: Role)
lib/auth/permissions.ts:92
↓ 2 callersFunctionimportHmacKey
(secret: string)
lib/server/auth-helpers.ts:88
↓ 2 callersFunctioninitializeCastApi
()
components/player/hooks/desktop/useCastControls.ts:85
↓ 2 callersFunctionisLegacyAuthConfigured
()
lib/server/auth.ts:105
↓ 2 callersFunctionisSuperAdminSession
(session: ServerAuthSession)
lib/server/auth.ts:342
↓ 2 callersFunctionnormalizeIconUrl
(iconUrl?: string | null)
lib/server/site-icon.ts:45
↓ 2 callersFunctionnormalizeTypeName
(type: string)
lib/hooks/useTypeBadges.ts:19
↓ 2 callersFunctionnormalizeVersionParts
(version: string)
lib/app-release.ts:14
↓ 2 callersFunctionnotifySessionChange
()
lib/store/auth-store.ts:38
↓ 2 callersFunctionparseRepositoryTarget
(repository: string)
app/api/app-update/route.ts:21
↓ 2 callersFunctionparseVideoTitle
(title: string)
lib/utils/video.ts:5
↓ 2 callersFunctionprocessSearchStream
({ reader, onStart, onVideos, onProgress, onComplete, onError, onPageInfo, cur
lib/utils/search-stream.ts:26
↓ 2 callersFunctionreadManagedAccounts
()
lib/server/auth.ts:130
↓ 2 callersFunctionreadViewportMetrics
()
components/player/DesktopVideoPlayer.tsx:44
↓ 2 callersFunctionredisKey
(profileId: string)
app/api/user/config/route.ts:16
↓ 2 callersFunctionrenderFlatChannelList
(channelList: M3UChannel[])
components/iptv/IPTVPlayer.tsx:760
↓ 2 callersFunctionrequireManagedSuperAdmin
(request: NextRequest)
app/api/auth/accounts/[accountId]/route.ts:12
↓ 2 callersFunctionrequireSuperAdmin
(request: NextRequest)
app/api/auth/accounts/route.ts:12
↓ 2 callersFunctionresolvePermissions
(role: Role, customPermissions?: readonly string[] | null)
lib/auth/permissions.ts:71
↓ 2 callersFunctionresolveSessionSecret
(loginMode: LoginMode)
lib/server/auth.ts:247
↓ 2 callersFunctionresolveSiteIconSrc
()
lib/server/site-icon.ts:81
↓ 2 callersFunctionresolveUrl
(base: string, relative: string)
app/api/iptv/stream/route.ts:16
↓ 2 callersFunctionretrieveGroupedSources
(key: string)
lib/utils/grouped-sources-cache.ts:36
↓ 2 callersFunctionrewriteM3u8
(content: string, baseUrl: string, proxyBase: string)
app/api/iptv/stream/route.ts:37
↓ 2 callersFunctionsanitizeAccountInput
(body: unknown)
lib/server/auth.ts:535
↓ 2 callersFunctionsaveSettings
(settings: AppSettings)
lib/store/settings-store.ts:279
↓ 2 callersFunctionscoreBlock
(block: Block, mainPattern: MainPattern, extraKeywords: string[] = [])
lib/utils/m3u8-ad-detector.ts:218
↓ 2 callersFunctionsearchVideos
( query: string, sources: VideoSource[], page: number = 1, signal?: AbortSignal )
lib/api/search-api.ts:73
↓ 2 callersFunctionsetCachedResolution
( source: string, id: string | number, info: ResolutionCacheEntry )
lib/player/resolution-cache.ts:28
↓ 2 callersFunctionsetSession
(session: AuthSession, persist: boolean)
lib/store/auth-store.ts:67
↓ 2 callersFunctionsignSessionPayload
(payload: SessionPayload, secret: string)
lib/server/auth-helpers.ts:129
↓ 2 callersFunctionsortVideos
(videos: Video[], sortBy: SortOption)
lib/utils/sort.ts:8
↓ 2 callersFunctionsplitPersonNames
* Split person names by common delimiters (comma, Chinese comma, slash). * Does NOT split by space — Chinese names contain no spaces, and splitting
components/player/VideoMetadata.tsx:13
↓ 2 callersFunctiontoAuthSession
(session: { accountId: string; profileId: string; username?: string; name: string; role: AuthSession
components/PasswordGate.tsx:87
↓ 2 callersFunctiontoPublicSession
(session: ServerAuthSession)
lib/server/auth.ts:272
↓ 2 callersFunctiontoggleSource
(id: string)
lib/store/user-sources-store.ts:89
↓ 2 callersFunctiontrapFocus
(container: HTMLElement)
lib/accessibility/focus-management.ts:41
↓ 2 callersFunctiontryDirectVideo
(directUrl: string)
components/iptv/IPTVPlayer.tsx:287
↓ 2 callersFunctiontryParseJSON
* Try to parse content as JSON channel list. * Supports formats: * - Array of channel objects: [{ name, url, group?, logo?, ... }] * - Object with
lib/utils/m3u-parser.ts:290
↓ 2 callersFunctiontryWithProxy
()
components/iptv/IPTVPlayer.tsx:319
↓ 2 callersFunctionunwrapProxyUrl
* Unwrap proxied URL to get original URL
lib/utils/m3u8-ad-detector.ts:109
↓ 2 callersFunctionunwrapProxyUrl
(target: string)
lib/utils/m3u-parser.ts:49
↓ 2 callersFunctionupdateVisibility
(hidden: boolean)
components/VideoTogetherController.tsx:51
↓ 2 callersFunctionuseFloatingButtonPosition
({ storageKey, defaultAnchor, defaultYRatio = 0.5, buttonSize = 56, margin = 16, }: UseFloatingButto
lib/hooks/useFloatingButtonPosition.ts:52
↓ 2 callersFunctionuseParallelSearch
( onCacheUpdate: (query: string, results: any[], sources: any[]) => void, onUrlUpdate: (query: string) =>
lib/hooks/useParallelSearch.ts:27
↓ 2 callersFunctionusePersonalizedRecommendations
(isPremium = false)
components/home/hooks/usePersonalizedRecommendations.ts:44
↓ 2 callersFunctionuseResolutionProbe
(videos: VideoToProbe[])
lib/hooks/useResolutionProbe.ts:53
↓ 2 callersFunctionuseSearchCache
()
lib/hooks/useSearchCache.ts:31
↓ 2 callersFunctionuseSiteIcon
()
components/SiteIconProvider.tsx:17
↓ 2 callersFunctionwaitForAnimationFrame
()
components/player/hooks/desktop/useFullscreenControls.ts:64
↓ 2 callersFunctionwithRetry
( fn: () => Promise<T>, retries: number = MAX_RETRIES )
lib/api/http-utils.ts:53
↓ 1 callersFunctionaddCategory
()
components/settings/DisplaySettings.tsx:39
↓ 1 callersFunctionaddSource
(source: VideoSource)
lib/store/user-sources-store.ts:78
↓ 1 callersFunctionapplyRuntimeConfig
(data: { subscriptionSources?: string; iptvSources?: string; mergeSources?: string; danmakuApiUrl?: st
components/PasswordGate.tsx:64
↓ 1 callersFunctionapplySessionCookie
(response: NextResponse, token: string, persist: boolean)
lib/server/auth.ts:317
↓ 1 callersFunctionarraysEqual
(left: Permission[], right: Permission[])
components/settings/AccountSettings.tsx:64
← previousnext →101–200 of 758, ranked by callers