MCPcopy Create free account

hub / github.com/Hound-Media-Server/hound / functions

Functions690 in github.com/Hound-Media-Server/hound

↓ 2 callersFunctionuseAvailableCatalogs
()
web/src/api/hooks/home.ts:72
↓ 2 callersFunctionuseMediaFiles
( mediaType: string, mediaSource: string, sourceID: string, season?: number | null, episode?: number
web/src/api/hooks/media.ts:27
↓ 2 callersFunctionuseProviderProfiles
()
web/src/api/hooks/providerProfiles.ts:4
↓ 2 callersFunctionuseServerInfo
()
web/src/api/hooks/general.ts:4
↓ 2 callersFunctionuseUserHomeRows
()
web/src/api/hooks/home.ts:49
↓ 2 callersFunctionvalidateMediaParams
(mediaType string, mediaSource string)
server/controllers/v1/helpers.go:14
↓ 1 callersFunctionAddTorrent
* File idx is used, but if -1 (invalid) use filename */
server/model/stream.go:111
↓ 1 callersFunctionCheckDuplicateDownloadTask
* CheckDuplicateDownloadTask checks if a download task is a duplicate (already downloaded or being downloaded) This is not a fool-proof check, false n
server/model/ingest.go:123
↓ 1 callersFunctionEncodeURIAES
(uri string)
server/providers/crypto.go:54
↓ 1 callersFunctionEpisodeCard
( episode: any, watched: boolean, watchProgress: WatchProgressItem | undefined, handleWatchEpisode: Fu
web/src/pages/Modals/SeasonModal.tsx:387
↓ 1 callersFunctionExtractBearerToken
(header string)
server/middlewares/middlewares.go:99
↓ 1 callersFunctionGetCatalogDefinitions
()
server/model/catalog_definitions.go:282
↓ 1 callersFunctionGetDefaultHomeRows
Default home rows for all users
server/database/home_rows.go:64
↓ 1 callersFunctionGetDownloadedParentRecordsAlphabetical
(limit int, offset int, mediaType string, genreIDs []int64)
server/database/media_records.go:520
↓ 1 callersFunctionGetDownloadedParentRecordsRecent
same as above, but default sorted by newest
server/database/media_records.go:579
↓ 1 callersFunctionGetEpisodeGroupMapping
(mediaSource string, sourceID string)
server/providers/episode_mapping.go:37
↓ 1 callersFunctionGetEpisodeMediaRecords
showSourceID and seasonNumber are optional
server/database/media_records.go:449
↓ 1 callersFunctionGetGenreFromCache
(mediaSource, mediaType string, sourceID int64)
server/database/genres.go:63
↓ 1 callersFunctionGetGenresByType
(mediaType string)
server/database/genres.go:77
↓ 1 callersFunctionGetInternalCatalog
(userID int64, catalogID string)
server/model/catalog.go:76
↓ 1 callersFunctionGetMDBListCatalog
This is network expensive, first call will be slow
server/model/catalog.go:251
↓ 1 callersFunctionGetMediaRecord
(recordType string, mediaSource string, sourceID string)
server/database/media_records.go:346
↓ 1 callersFunctionGetMediaRecordTrx
each mediaSource, sourceID combination should be unique for shows, episodes, etc.
server/database/media_records.go:354
↓ 1 callersFunctionGetMovieFromIDTMDB
(tmdbID int)
server/sources/tmdb.go:320
↓ 1 callersFunctionGetProviderProfiles
()
server/database/provider_profiles.go:26
↓ 1 callersFunctionGetTMDBCatalog
(catalogID string)
server/model/catalog.go:58
↓ 1 callersFunctionGetWatchProgressUser
Gets all the user's watch progress, this is potentially expensive in some cases (?) but under normal flows, a user shouldn't have many continue watche
server/model/watch_progress.go:97
↓ 1 callersFunctionInitializeDownloadWorkers
Only p2p downloads are supported for now
server/workers/download_workers.go:43
↓ 1 callersFunctionInitializeExternalLibraryWorkers
* Quick rundown: Three producers: 1. initialExternalLibraryScan 2. periodicExternalLibraryRescan 3. watchExternalLibrary Initial scan is run at every
server/workers/external_library_worker.go:72
↓ 1 callersFunctionInitializeIngestWorkers
()
server/workers/ingest_workers.go:17
↓ 1 callersFunctionInitializeTMDB
()
server/sources/tmdb.go:51
↓ 1 callersFunctionNewEngineWithRetry
(driver, connectionString string)
server/database/database.go:115
↓ 1 callersFunctionPrefetchSeasons
prefetches all seasons for the show and stores it in the cache ideally, we would use tmdb append_to_response = season/1,season/2,... but seems like th
server/sources/tmdb.go:942
↓ 1 callersFunctionProbeVideoFromURI
(uri string)
server/model/media.go:88
↓ 1 callersFunctionRegisterNewUser
(user *RegistrationUser, isAdmin bool)
server/model/auth.go:37
↓ 1 callersFunctionReplaceMediaRecordGenresByIDsTrx
(sess *xorm.Session, mediaRecordID int64, genreIDs []int64)
server/database/genres.go:248
↓ 1 callersFunctionbatchUpsertChunk
(sess *xorm.Session, records []*MediaRecord)
server/database/media_records.go:215
↓ 1 callersFunctionchangePassword
(oldPassword: string, newPassword: string)
web/src/api/services/auth.ts:18
↓ 1 callersFunctioncleanUpDownloads
()
server/workers/workers.go:24
↓ 1 callersFunctioncleanupSessions
()
server/model/stream.go:217
↓ 1 callersFunctioncopyFile
(src string, dst string)
server/model/ingest.go:420
↓ 1 callersFunctioncreateApiKey
(name: string)
web/src/api/services/api_keys.ts:10
↓ 1 callersFunctioncreateComment
( mediaType: string, mediaSource: string, sourceId: string, commentType: "review" | "comment" | "note"
web/src/api/services/comments.ts:37
↓ 1 callersFunctioncreateMDBListCatalogTitle
(catalogID: string)
web/src/pages/Admin/HomeRows.tsx:764
↓ 1 callersFunctioncreateMovieWatchHistory
( mediaType: string, sourceID: string, watchedAt?: string, )
web/src/api/services/watchHistory.ts:106
↓ 1 callersFunctioncreateProviderProfile
( name: string, manifestURL: string, )
web/src/api/services/providerProfiles.ts:10
↓ 1 callersFunctioncreateTMDBMovieCatalogObject
(item *tmdb.MovieDetails)
server/model/catalog.go:352
↓ 1 callersFunctioncreateTMDBShowCatalogObject
(item *tmdb.TVDetails)
server/model/catalog.go:387
↓ 1 callersFunctioncreateTVWatchHistory
( mediaSource: string, sourceID: string, episodeIDs: number[], watchedAt?: string, seasonNumber?: nu
web/src/api/services/watchHistory.ts:78
↓ 1 callersFunctioncreateUser
(username: string, displayName: string, password: string)
web/src/api/services/users.ts:10
↓ 1 callersFunctiondecodeStream
(encodedData: string)
web/src/api/services/providers.ts:36
↓ 1 callersFunctiondeduplicateCatalogItems
(userID int64, rowIndex int, viewArray []view.MediaRecordCatalog, randomize bool)
server/model/home_rows.go:71
↓ 1 callersFunctiondeleteApiKey
(keyId: number)
web/src/api/services/api_keys.ts:17
↓ 1 callersFunctiondeleteComment
(commentId: number)
web/src/api/services/comments.ts:62
↓ 1 callersFunctiondeleteProviderProfile
( id: number, )
web/src/api/services/providerProfiles.ts:33
↓ 1 callersFunctiondeleteUser
(id: number)
web/src/api/services/users.ts:19
↓ 1 callersFunctiondial
()
server/internal/offline.go:51
↓ 1 callersFunctiondoneUI
({ item }: { item: any })
web/src/pages/Admin/Downloads.tsx:160
↓ 1 callersFunctiondownloadWorker
(id int)
server/workers/download_workers.go:59
↓ 1 callersFunctiondownloadingUI
({ item }: { item: any })
web/src/pages/Admin/Downloads.tsx:117
↓ 1 callersFunctionexternalLibraryQueueWorker
()
server/workers/external_library_worker.go:217
↓ 1 callersFunctionextractSeasonEpisode
(filename string)
server/model/external_library.go:435
↓ 1 callersFunctionextractSeasonFromParts
(parts []string)
server/model/external_library.go:449
↓ 1 callersFunctionfetchApiKeys
()
web/src/api/services/api_keys.ts:3
↓ 1 callersFunctionfetchCollectionContents
(id: number | string, limit = 20, offset = 0)
web/src/api/services/collections.ts:8
↓ 1 callersFunctionfetchComments
( mediaType: string, mediaSource: string, sourceId: string, commentType: "review" | "comment" | "note"
web/src/api/services/comments.ts:16
↓ 1 callersFunctionfetchDownloads
(limit: number, offset: number)
web/src/api/services/media.ts:51
↓ 1 callersFunctionfetchHomeRow
(homeRowIndex: number)
web/src/api/services/home.ts:28
↓ 1 callersFunctionfetchSubtitles
( mediaType: string, mediaSource: string, sourceId: string, season?: number, episode?: number, )
web/src/api/services/providers.ts:20
↓ 1 callersFunctionfetchTVSeasonHistory
( mediaSource: string, sourceID: string, seasonNumber: number, )
web/src/api/services/watchHistory.ts:67
↓ 1 callersFunctionfetchUsers
()
web/src/api/services/users.ts:3
↓ 1 callersFunctionfetchWatchActivity
( limit: number, offset: number, startTime?: string, endTime?: string, )
web/src/api/services/watchHistory.ts:29
↓ 1 callersFunctionfetchWatchStats
(startTime?: string, endTime?: string)
web/src/api/services/watchHistory.ts:57
↓ 1 callersFunctionfindBestMovieTMDBID
* There's quite a bit of reliance on tmdb results here, typically tmdb has its own algorithm to find fuzzy matches, even though the search query can b
server/model/external_library.go:277
↓ 1 callersFunctionfindBestTVTMDBID
see findBestMovieTMDBID comments for explanation
server/model/external_library.go:346
↓ 1 callersFunctiongetBaseUrl
()
web/src/config/axios_config.ts:3
↓ 1 callersFunctiongetDeviceID
()
web/src/config/axios_config.ts:11
↓ 1 callersFunctiongetDiscoverMovies
(discoverType string, query string)
server/model/catalog.go:158
↓ 1 callersFunctiongetDiscoverTVShows
(discoverType string, query string)
server/model/catalog.go:187
↓ 1 callersFunctiongetExternalLibraryRoots
()
server/workers/external_library_worker.go:94
↓ 1 callersFunctiongetFilename
(path: string)
web/src/pages/Admin/Downloads.tsx:177
↓ 1 callersFunctiongetHoundDownloadedRecords
(limit int, offset int, mediaType string, genreIDs []int64)
server/controllers/v1/hound_library.go:68
↓ 1 callersFunctiongetHoundRecentRecords
(userID int64, limit int)
server/model/catalog.go:217
↓ 1 callersFunctiongetIngestTargetRecordID
(mediaRecord *database.MediaRecord, seasonNumber *int, episodeNumber *int)
server/model/ingest.go:310
↓ 1 callersFunctiongetMediaDestinationDir
(mediaRecord *database.MediaRecord, seasonNumber *int, episodeNumber *int, infoHash *string, fileIdx *int, fi
server/model/ingest.go:330
↓ 1 callersFunctiongetSeasonEpisode
(seasonQuery, episodeQuery string)
server/controllers/v1/helpers.go:76
↓ 1 callersFunctiongetSeasonEpisodeFromEpisodeGroup
* Returns season-episode number in an episode group for given episodeID This is useful to convert from tmdb to tvdb orderings */
server/providers/providers.go:384
↓ 1 callersFunctiongetStremioStreams
(query ProvidersQueryRequest, details StreamMediaDetails)
server/providers/stremio.go:57
↓ 1 callersFunctiongetStremioSubtitles
(query ProvidersQueryRequest)
server/providers/stremio.go:186
↓ 1 callersFunctiongetSubtitleType
(sub string)
server/model/subtitles.go:117
↓ 1 callersFunctiongetTMDBCatalogDefinition
(catalogID string)
server/model/catalog_definitions.go:251
↓ 1 callersFunctiongetTrendingMovies
()
server/model/catalog.go:127
↓ 1 callersFunctiongetTrendingTVShows
()
server/model/catalog.go:97
↓ 1 callersFunctionhandleClose
()
web/src/pages/Settings/ApiKeys.tsx:188
↓ 1 callersFunctionhandleClose
()
web/src/pages/Modals/CreateHistoryModal.tsx:38
↓ 1 callersFunctionhandleCollectionDialogClose
()
web/src/pages/Library/Library.tsx:42
↓ 1 callersFunctionhandleCopy
()
web/src/pages/Modals/StreamSelectModal.tsx:249
↓ 1 callersFunctionhandleFileStream
(c *gin.Context, streamDetails *providers.StreamObjectFull)
server/controllers/v1/stream.go:55
↓ 1 callersFunctionhandleListItemClick
(collectionID: number)
web/src/pages/Modals/AddToCollectionModal.tsx:16
↓ 1 callersFunctionhandleMonthChange
(monthIndex: number)
web/src/pages/Activity/ActivityCalendar.tsx:95
← previousnext →101–200 of 690, ranked by callers