MCPcopy Create free account

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

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

FunctionInitializeMedia
* media deals with file ingestion pipeline download->create files->process metadata...etc. */
server/model/media.go:36
FunctionInitializeOnboarding
()
server/model/onboarding.go:7
FunctionInitializeP2P
()
server/model/stream.go:52
FunctionInitializeSources
()
server/sources/sources.go:3
FunctionInitializeWorkers
()
server/workers/workers.go:15
FunctionInsertAPIKey
(apiKey *APIKey)
server/database/api_keys.go:27
FunctionInsertCollectionRelation
(userID int64, recordID int64, collectionID int64)
server/database/collections.go:120
FunctionInsertIngestTask
(task *IngestTask)
server/database/ingest.go:246
FunctionInsertMediaFile
(mediaFileMetadata *MediaFile)
server/database/media_files.go:65
FunctionInsertProviderProfile
(name string, manifestURL string)
server/database/provider_profiles.go:64
FunctionInsertRewatch
(rewatch RewatchRecord)
server/database/watch_history.go:230
FunctionInsertUser
(user User)
server/database/users.go:34
FunctionInstantiateDB
()
server/database/database.go:23
FunctionIsServiceBlocked
(rawURL string)
server/providers/service_health.go:76
FunctionIsValidURL
(str string)
server/internal/helpers.go:81
FunctionItemCard
(props: { item: any; itemType: | "collectionImageList" | "poster" | "cast" | "video" |
web/src/pages/Home/ItemCard.tsx:11
FunctionLeftArrow
()
web/src/pages/Home/arrows.tsx:38
FunctionLibrary
(props: any)
web/src/pages/Library/Library.tsx:23
FunctionLogin
()
web/src/pages/Login/Login.tsx:8
FunctionLoginHandler
@Router /api/v1/auth/login [post] @Summary User login @ID user-login @Tags Auth @Accept json @Produce json @Param request body model.LoginUser true "L
server/controllers/v1/auth.go:59
FunctionLogout
()
web/src/pages/Logout.tsx:4
FunctionLogoutHandler
@Router /api/v1/auth/logout [post] @Summary User logout @ID user-logout @Tags Auth @Accept json @Produce json @Success 200 {object} V1SuccessResponse
server/controllers/v1/auth.go:108
FunctionMarkForUpdate
marks a media_record to be updated on the next attempt
server/database/media_records.go:337
FunctionMediaItem
(props: any)
web/src/pages/Collection/MediaItem.tsx:17
FunctionMediaPageGame
(props: any)
web/src/pages/MediaPage/MediaPageGame.backup.tsx:40
FunctionMediaPageLanding
()
web/src/pages/MediaPage/MediaPageLanding.tsx:10
FunctionMediaPageMovie
(props: any)
web/src/pages/MediaPage/MediaPageMovie.tsx:58
FunctionMediaPageTV
(props: any)
web/src/pages/MediaPage/MediaPageTV.tsx:52
FunctionPageNotFound
()
web/src/pages/PageNotFound.tsx:4
FunctionParseAuthSession
(sessionID string)
server/model/auth.go:96
FunctionPingProviderManifest
check if provider is online/valid
server/providers/provider_profiles.go:12
FunctionPostCommentMovieHandler
@Router /api/v1/movie/{id}/comments [post] @Summary Post Comment for a Movie @ID post-movie-comment @Tags Comments @Accept json @Produce json @Param i
server/controllers/v1/comments.go:162
FunctionPostCommentTVHandler
@Router /api/v1/tv/{id}/comments [post] @Summary Post Comment for a TV Show @ID post-tvshow-comment @Tags Comments @Accept json @Produce json @Param i
server/controllers/v1/comments.go:147
FunctionPrettyPrint
(i interface{})
server/internal/helpers.go:20
FunctionProfileButton
()
web/src/pages/Topnav/ProfileButton.tsx:4
FunctionProtectedRoute
({ component }: ProtectedRouteProps)
web/src/App.tsx:80
FunctionProviderProfile
({ profile, setSelectedID, setIsDeleteDialogOpen, }: { profile: any; setSelectedID: (id: number) =>
web/src/pages/Admin/ProviderProfiles.tsx:120
FunctionProviderProfiles
()
web/src/pages/Admin/ProviderProfiles.tsx:24
FunctionQueryProvidersStreams
(query ProvidersQueryRequest)
server/providers/providers.go:102
FunctionQueryProvidersSubtitles
(query ProvidersQueryRequest)
server/providers/providers.go:203
FunctionQueueExternalLibraryFile
(rootPath string, filePath string, mediaType string)
server/model/external_library.go:45
FunctionRegister
()
web/src/pages/Login/Register.tsx:7
FunctionRegistrationHandler
@Router /api/v1/users [post] @Summary Register a new user @ID user-register @Tags Auth @Accept json @Produce json @Param request body model.Registrati
server/controllers/v1/auth.go:27
FunctionRemoveActiveTorrentStream
(infoHash string, fileIdx int)
server/model/stream.go:87
FunctionReplaceMediaRecordGenresByIDs
atomic update media record's genres by removing all genres for a media record, then repopulating
server/database/genres.go:235
FunctionResetPassword
(userID int64, newPassword string)
server/model/auth.go:130
FunctionResetUserHomeRows
(userID int64)
server/database/home_rows.go:184
FunctionResetUserHomeRowsHandler
@Router /api/v1/home [delete] @Summary Reset User Home Rows to Server Defaults @ID reset-user-home-rows @Tags Home Rows @Accept json @Produce json @Su
server/controllers/v1/home_rows.go:126
FunctionResetUserPasswordModal
({ open, setOpen, userID, }: { open: boolean; setOpen: (open: boolean) => void; userID: number; })
web/src/pages/Admin/Users.tsx:312
FunctionReviews
(props: { mediaType: string; mediaSource: string; sourceId: string; })
web/src/pages/Comments/Reviews.tsx:14
FunctionRevokeAPIKey
(keyID int64)
server/database/api_keys.go:70
FunctionRevokeAPIKeyHandler
@Router /api/v1/api_keys/{id} [delete] @Summary Revoke API Key @ID revoke-api-key @Tags API Keys @Accept json @Produce json @Param id path string true
server/controllers/v1/api_keys.go:93
FunctionRightArrow
()
web/src/pages/Home/arrows.tsx:59
FunctionSanitizeFilename
(filename string)
server/internal/helpers.go:16
FunctionSearchBar
(props: any)
web/src/pages/Home/SearchBar.tsx:5
FunctionSearchMovies
(queryString string)
server/model/search.go:14
FunctionSearchMoviesHandler
@Router /v1/movie/search [get] @Summary Search Movies @ID search-movies @Tags Movie, Search @Accept json @Produce json @Param query query string true
server/controllers/v1/movies.go:28
FunctionSearchMoviesTMDB
(query string)
server/sources/tmdb.go:303
FunctionSearchPage
(props: any)
web/src/pages/Search/SearchPage.tsx:9
FunctionSearchProvidersMovieHandler
@Router /api/v1/movie/{id}/providers [get] @Summary Search Stream Providers for Movie by ID @ID search-providers-movie @Tags Providers @Accept json @P
server/controllers/v1/providers.go:104
FunctionSearchProvidersTVHandler
@Router /api/v1/tv/{id}/providers [get] @Summary Search Stream Providers for TV Show by ID @ID search-providers-tvshow @Tags Providers @Accept json @P
server/controllers/v1/providers.go:69
FunctionSearchSubtitlesMovieHandler
@Router /api/v1/movie/{id}/subtitles [get] @Summary Search Subtitles for Movies by ID @ID search-subtitles-movie @Tags Providers @Accept json @Produce
server/controllers/v1/providers.go:175
FunctionSearchSubtitlesTVHandler
@Router /api/v1/tv/{id}/subtitles [get] @Summary Search Subtitles for TV Show by ID @ID search-subtitles-tvshow @Tags Providers @Accept json @Produce
server/controllers/v1/providers.go:141
FunctionSearchTVShowHandler
@Router /v1/tv/search [get] @Summary Search TV Shows @ID search-tvshows @Tags TV Show, Search @Accept json @Produce json @Param query query string tru
server/controllers/v1/tvshows.go:27
FunctionSearchTVShowTMDB
(query string)
server/sources/tmdb.go:120
FunctionSearchTVShows
(queryString string)
server/model/search.go:44
FunctionSeasonModal
(props: any)
web/src/pages/Modals/SeasonModal.tsx:62
FunctionSelectStreamModal
(props: { modalType: "select-stream" | "download-season"; fetchParams?: FetchParams; setOpen: (open: boo
web/src/pages/Modals/StreamSelectModal.tsx:34
FunctionSelectedSeasonPack
(props: any)
web/src/pages/Modals/DownloadSeasonModal.tsx:269
FunctionSetMoviePlaybackProgressHandler
@Router /v1/movie/{id}/playback [post] @Summary Set Movie Playback Progress @ID set-movie-playback-progress @Tags Watch Progress @Accept json @Produce
server/controllers/v1/watch_progress.go:32
FunctionSetTVPlaybackProgressHandler
@Router /v1/tv/{id}/playback [post] @Summary Set TV Playback Progress @ID set-tvshow-playback-progress @Tags Watch Progress @Accept json @Produce json
server/controllers/v1/watch_progress.go:47
FunctionSetWatchProgress
(userID int64, mediaType string, mediaSource string, sourceID string, watchProgress *WatchProgress)
server/model/watch_progress.go:118
FunctionSettings
(props: any)
web/src/pages/Settings/Settings.tsx:14
FunctionSetupRoutes
()
server/controllers/routes.go:19
FunctionSetupRoutes
(r *gin.Engine)
server/controllers/v1/routes.go:10
FunctionStreamHandler
* Proxies links through the server */ @Router /api/v1/stream/{encodedString} [get] @Summary Stream Video @ID stream-video @Description A streamable li
server/controllers/v1/stream.go:34
FunctionStreamModal
(props: any)
web/src/pages/Modals/StreamModal.tsx:20
FunctionSubtitleHandler
* Stream subtitle files through the server Converts .srt to .vtt if requested */ @Router /api/v1/subtitle/{encodedString} [get] @Summary Get Subtitle
server/controllers/v1/stream.go:197
FunctionSuccessResponse
(c *gin.Context, payload interface{}, statusCode int)
server/internal/response.go:9
FunctionTMDBMovieDiscover
* Catalog Generation */
server/sources/tmdb.go:980
FunctionTMDBTVShowDiscover
(discoverType string, query string)
server/sources/tmdb.go:999
FunctionTopnav
()
web/src/pages/Topnav/Topnav.tsx:8
FunctionUpdateDefaultHomeRows
(homeRow UserHomeRows)
server/database/home_rows.go:188
FunctionUpdateDefaultHomeRowsHandler
@Router /api/v1/home/default [put] @Summary Update Default Home Rows @ID update-default-home-rows @Tags Home Rows @Accept json @Produce json @Param ho
server/controllers/v1/home_rows.go:149
FunctionUpdateDefaultProviderProfile
Note that only true fields are updated eg. If isDefaultStreaming is true and isDefaultDownloading is false, then only the default streaming profile is
server/database/provider_profiles.go:90
FunctionUpdateIngestTask
(task *IngestTask)
server/database/ingest.go:254
FunctionUpdateProviderProfileHandler
@Router /api/v1/provider_profiles/{id} [put] @Summary Update a provider profile @ID update-provider-profile @Description Set the default provider prof
server/controllers/v1/provider_profiles.go:90
FunctionUpdateStatus
(ingestTaskID int64, status string)
server/database/ingest.go:261
FunctionUpdateUserHomeRows
(homeRow UserHomeRows)
server/database/home_rows.go:175
FunctionUpdateUserHomeRowsHandler
@Router /api/v1/home [put] @Summary Update User Home Rows @ID update-user-home-rows @Tags Home Rows @Accept json @Produce json @Param homeRows body da
server/controllers/v1/home_rows.go:98
FunctionUpdateUserPassword
(userID int64, hashedPassword string)
server/database/users.go:102
FunctionUpsertExternalLibraryItem
(item *ExternalLibraryItem)
server/database/external_library.go:73
FunctionUpsertGenres
UpsertGenres inserts new genres, or update db records if genre names were to change This shouldn't be run after startup, race conditions possible?
server/database/genres.go:156
FunctionUpsertMediaRecord
(mediaRecord *MediaRecord)
server/database/media_records.go:82
FunctionUpsertMediaRecordTMDB
simple helper function
server/sources/tmdb.go:609
FunctionUpsertMediaRecordsTrx
Caller responsible for session, can rollback returns true if upserted
server/database/media_records.go:145
FunctionUserCard
({ user }: { user: any })
web/src/pages/Admin/Users.tsx:70
FunctionUserHomeRows
()
web/src/pages/Settings/UserHomeRows.tsx:19
FunctionUserList
()
web/src/pages/Admin/Users.tsx:26
FunctionValidateAPIKey
(apiKey string)
server/model/api_keys.go:12
← previousnext →501–600 of 690, ranked by callers