MCPcopy Create free account

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

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

FunctionGetCollectionRecords
(userID int64, collectionID int64, limit int, offset int)
server/database/collections.go:60
FunctionGetComments
(recordID int64, commentType *string)
server/database/comments.go:56
FunctionGetCommentsMovieHandler
@Router /api/v1/movie/{id}/comments [get] @Summary Get Comments for a Movie @ID get-movie-comments @Tags Comments @Accept json @Produce json @Param id
server/controllers/v1/comments.go:52
FunctionGetCommentsTVHandler
@Router /api/v1/tv/{id}/comments [get] @Summary Get Comments for a TV Show @ID get-tvshow-comments @Tags Comments @Accept json @Produce json @Param id
server/controllers/v1/comments.go:37
FunctionGetContinueWatching
gets the 10 most recent continue watching actions for the user not the most efficient performance-wise, hopefully fine for now evaluate if performance
server/model/continue_watching.go:75
FunctionGetContinueWatchingHandler
@Router /api/v1/continue_watching [get] @Summary Get Continue Watching @ID get-continue-watching @Tags Watch Activity @Accept json @Produce json @Succ
server/controllers/v1/continue_watching.go:77
FunctionGetDefaultHomeRowsHandler
@Router /api/v1/home/default [get] @Summary Get Default Home Rows @ID get-default-home-rows @Tags Home Rows @Accept json @Produce json @Success 200 {o
server/controllers/v1/home_rows.go:45
FunctionGetDownloadedParentRecords
This returns the movie/show-level record, not the episodes For shows, if you have at least 1 downloaded episode it will be included
server/database/media_records.go:513
FunctionGetEpisodeMediaRecord
easier to accept nil then to check for nil everywhere else
server/database/media_records.go:493
FunctionGetEpisodeTMDB
(tmdbID int, seasonNumber int, episodeNumber int)
server/sources/tmdb.go:200
FunctionGetExternalLibraryItemByPath
(sourcePath string)
server/database/external_library.go:59
FunctionGetGenreByInternalID
(mediaType string, id int64)
server/database/genres.go:103
FunctionGetGenresMapFromTMDBIDs
(genreIds []int64, mediaType string)
server/sources/tmdb.go:519
FunctionGetHomeRow
* Evaluates and returns each home row defined by rowIndex eg. User has home rows ["trending-movies","trending-shows"] Clients should request the user
server/model/home_rows.go:30
FunctionGetHomeRowIndexHandler
@Router /api/v1/home/{rowIndex} [get] @Summary Get Home Row by Index @ID get-home-row-index @Tags Home Rows @Accept json @Produce json @Param rowIndex
server/controllers/v1/home_rows.go:64
FunctionGetHoundLibraryHandler
@Router /api/v1/collection/hound-library [get] @Summary Get Hound Library @ID get-hound-library @Description Get content downloaded to Hound @Tags Col
server/controllers/v1/hound_library.go:29
FunctionGetIngestTask
(task IngestTask)
server/database/ingest.go:238
FunctionGetIngestTasksHandler
@Router /api/v1/ingest [get] @Summary Get Ingest Tasks @ID get-ingest-tasks @Tags Media @Accept json @Produce json @Param status query string false "C
server/controllers/v1/media.go:106
FunctionGetLocalStreamsForMovie
(sourceID int)
server/providers/local.go:12
FunctionGetLocalStreamsForTVShow
(showID int, seasonNumber *int, episodeNumber *int)
server/providers/local.go:50
FunctionGetMDBList
(listAuthor string, listName string)
server/sources/mdblist.go:39
FunctionGetMagnetURI
GetMagnetURI returns magnet: uri from hash and trackers
server/internal/helpers.go:26
FunctionGetMediaBackdrops
@Router /api/v1/backdrops [get] @Summary Get Media Backdrops @ID get-media-backdrops @Tags General @Accept json @Produce json @Success 200 {object} V1
server/controllers/v1/general.go:55
FunctionGetMediaFile
(fileID int)
server/database/media_files.go:70
FunctionGetMediaFileByRecordID
(recordID int)
server/database/media_files.go:77
FunctionGetMediaFiles
(limit *int, offset *int)
server/database/media_files.go:84
FunctionGetMediaFilesHandler
@Router /api/v1/media_files [get] @Summary Get all media file records @ID get-media-files @Tags Media Files @Accept json @Produce json @Param limit qu
server/controllers/v1/media_files.go:134
FunctionGetMediaRecordByID
(recordID int64)
server/database/media_records.go:370
FunctionGetMetadataHandler
(c *gin.Context)
server/controllers/v1/media.go:69
FunctionGetMimeType
(filename string)
server/model/stream.go:255
FunctionGetMovieFromIDHandler
@Router /v1/movie/{id} [get] @Summary Get Movie Details @ID get-movie-details @Tags Movie @Accept json @Produce json @Param id path string true "Media
server/controllers/v1/movies.go:48
FunctionGetMovieGenresHandler
@Router /api/v1/movie/genres [get] @Summary Get Movie Genres @ID get-movie-genres @Tags TV Shows, Genres @Accept json @Produce json @Success 200 {obje
server/controllers/v1/genres.go:39
FunctionGetMovieMediaFilesHandler
@Router /api/v1/movie/{id}/media_files [get] @Summary Get Movie Media Files by ID @ID get-movie-media-files @Tags Media Files @Accept json @Produce js
server/controllers/v1/media_files.go:27
FunctionGetMovieNextWatchActionHandler
@Router /api/v1/movie/{id}/continue_watching [get] @Summary Get Movie Next Watch Action @ID get-movie-next-watch-action @Tags Watch Activity @Accept j
server/controllers/v1/continue_watching.go:26
FunctionGetMoviePlaybackProgressHandler
@Router /v1/movie/{id}/playback [get] @Summary Get Movie Playback Progress @ID get-movie-playback-progress @Tags Watch Progress @Accept json @Produce
server/controllers/v1/watch_progress.go:149
FunctionGetNextPendingDownloadTask
GetNextPendingDownloadTask atomically gets the next pending download task for workers and marks as downloading use ForUpdate() lock to prevent multipl
server/database/ingest.go:270
FunctionGetNextPendingIngestTask
GetNextPendingIngestTask atomically gets the next pending ingest task for workers and marks as copying
server/database/ingest.go:301
FunctionGetNextWatchAction
A nil watch action means we don't have a next watch action
server/model/continue_watching.go:58
FunctionGetProviderProfile
(providerID int)
server/database/provider_profiles.go:46
FunctionGetProviderProfilesHandler
@Router /api/v1/provider_profiles [get] @Summary Get all provider profiles @ID get-provider-profiles @Tags Provider Profiles @Accept json @Produce jso
server/controllers/v1/provider_profiles.go:29
FunctionGetRecentCollectionContentsHandler
@Router /v1/collection/recent [get] @Summary Get User's Recent Collection Records @ID get-user-recent-collections @Description Gets 20 most recent rec
server/controllers/v1/collections.go:296
FunctionGetRecentCollectionRecords
(userID int64, limit int)
server/database/collections.go:99
FunctionGetRewatchesFromSourceID
get rewatches for a certain show, given user id and show source id
server/database/watch_history.go:146
FunctionGetSeasonMediaRecord
GetSeasonMediaRecord returns the season record for a show by show record_id and season_number.
server/database/media_records.go:380
FunctionGetServerID
Server ID should persist through restarts, note that hound uses BadgerDB which is a persistent cache
server/database/server_info.go:13
FunctionGetServerInfoHandler
@Router /api/v1/server_info [get] @Summary Get Server Info @ID get-server-info @Tags General @Accept json @Produce json @Success 200 {object} V1Succes
server/controllers/v1/general.go:114
FunctionGetSubtitle
(uri string, convert string)
server/model/subtitles.go:30
FunctionGetTMDBImageURL
(path string, size string)
server/internal/helpers.go:74
FunctionGetTVEpisodeGroupsDetailsTMDB
(tmdbEpisodeGroupID string)
server/sources/tmdb.go:243
FunctionGetTVEpisodeGroupsHandler
@Router /v1/tv/{id}/episode_groups [get] @Summary Get TV Episode Groups @ID get-tvshow-episode-groups @Tags TV Show @Accept json @Produce json @Param
server/controllers/v1/tvshows.go:228
FunctionGetTVEpisodeGroupsTMDB
(tmdbID int)
server/sources/tmdb.go:226
FunctionGetTVEpisodesHandler
(c *gin.Context)
server/controllers/v1/media.go:79
FunctionGetTVGenresHandler
@Router /api/v1/tv/genres [get] @Summary Get TV Show Genres @ID get-tvshow-genres @Tags TV Shows, Genres @Accept json @Produce json @Success 200 {obje
server/controllers/v1/genres.go:21
FunctionGetTVNextWatchActionHandler
@Router /api/v1/tv/{id}/continue_watching [get] @Summary Get TV Show Next Watch Action @ID get-tvshow-next-watch-action @Tags Watch Activity @Accept j
server/controllers/v1/continue_watching.go:40
FunctionGetTVSeasonHandler
@Router /v1/tv/{id}/season/{seasonNumber} [get] @Summary Get TV Season Details @ID get-tvseason-details @Tags TV Show @Accept json @Produce json @Para
server/controllers/v1/tvshows.go:155
FunctionGetTVSeasonPlaybackProgressHandler
@Router /v1/tv/{id}/season/{seasonNumber}/playback [get] @Summary Get TV Season Playback Progress @ID get-tvseason-playback-progress @Tags Watch Progr
server/controllers/v1/watch_progress.go:164
FunctionGetTVSeasonWatchHistoryHandler
@Router /v1/tv/{id}/season/{seasonNumber}/history [get] @Summary Get TV Season Watch History @ID get-tvseason-watch-history @Tags Watch History @Accep
server/controllers/v1/watch_history.go:102
FunctionGetTVShowFromIDHandler
@Router /v1/tv/{id} [get] @Summary Get TV Show Details @ID get-tvshow-details @Tags TV Show @Accept json @Produce json @Param id path string true "Med
server/controllers/v1/tvshows.go:47
FunctionGetTVShowIMDBID
(tmdbID int)
server/sources/tmdb.go:163
FunctionGetTVShowMediaFilesHandler
@Router /api/v1/tv/{id}/media_files [get] @Summary Get TV Show Media Files by ID @ID get-tvshow-media-files @Tags Media Files @Accept json @Produce js
server/controllers/v1/media_files.go:66
FunctionGetTVShowWatchHistoryHandler
@Router /v1/tv/{id}/history [get] @Summary Get TV Show Watch History @ID get-tvshow-watch-history @Tags Watch History @Accept json @Produce json @Para
server/controllers/v1/watch_history.go:87
FunctionGetTorrentFile
(infoHash string, fileIdx *int, sources *[]string)
server/model/stream.go:171
FunctionGetTorrentSession
(infoHash string)
server/model/stream.go:152
FunctionGetTrendingMoviesTMDB
* ------------------------------ TMDB MOVIES FUNCTIONS ------------------------------ */
server/sources/tmdb.go:284
FunctionGetTrendingTVShowsTMDB
* ------------------------------ TMDB TV SHOWS FUNCTIONS ------------------------------ */
server/sources/tmdb.go:101
FunctionGetUniqueWatchedParents
useful to answer, what's the 10 most recent unique movies/shows the user has watched we want to get the parent of the media record, so that we can gro
server/database/watch_history.go:164
FunctionGetUser
(userID int64)
server/database/users.go:42
FunctionGetUserAPIKeys
(userID int64)
server/database/api_keys.go:32
FunctionGetUserAPIKeysHandler
@Router /api/v1/api_keys [get] @Summary Get User API Keys @ID get-user-api-keys @Tags API Keys @Accept json @Produce json @Success 200 {object} V1Succ
server/controllers/v1/api_keys.go:28
FunctionGetUserCollectionsHandler
@Router /v1/collection/all [get] @Summary Get a User's Collections @ID get-user-collections @Tags Collection @Accept json @Produce json @Success 200 {
server/controllers/v1/collections.go:149
FunctionGetUserHomeRows
(userID int64)
server/database/home_rows.go:48
FunctionGetUserHomeRowsHandler
@Router /api/v1/home [get] @Summary Get User Home Rows @ID get-user-home-rows @Tags Home Rows @Accept json @Produce json @Success 200 {object} V1Succe
server/controllers/v1/home_rows.go:22
FunctionGetUserIDFromUsername
should be used sparingly, userID is preferred internally
server/database/users.go:61
FunctionGetUsernameFromID
(userID int64)
server/database/users.go:73
FunctionGetUsers
()
server/database/users.go:85
FunctionGetUsersHandler
@Router /api/v1/users [get] @Summary Get all users @ID get-users @Tags Users @Accept json @Produce json @Success 200 {object} V1SuccessResponse{data=[
server/controllers/v1/users.go:23
FunctionGetWatchActivity
gets a users watch activity (list of events) between start and end time if nil, return all activity
server/database/watch_history.go:83
FunctionGetWatchActivityHandler
@Router /v1/watch_activity [get] @Summary Get Watch Activity for User @ID get-user-watch-activity @Tags Watch Activity @Accept json @Produce json @Par
server/controllers/v1/watch_history.go:31
FunctionGetWatchEventsFromRewatchID
get rewatches joined with media_records by record_id for a certain rewatch id
server/database/watch_history.go:246
FunctionGetWatchHistoryMovieHandler
@Router /v1/movie/{id}/history [get] @Summary Get Movie Watch History @ID get-movie-watch-history @Tags Watch History @Accept json @Produce json @Para
server/controllers/v1/watch_history.go:116
FunctionGetWatchStats
(userID int64, startTime *time.Time, finishTime *time.Time)
server/database/watch_stats.go:26
FunctionGetWatchStatsHandler
@Router /api/v1/watch_stats [get] @Summary Get Watch Stats @ID get-user-watch-stats @Tags Watch Activity @Accept json @Produce json @Param start_time
server/controllers/v1/watch_stats.go:24
FunctionHasInternetConnection
return immediately, refresh in background if necessary
server/internal/offline.go:25
FunctionHistoryModal
(props: any)
web/src/pages/Modals/HistoryModal.tsx:5
FunctionHistoryTable
(props: any)
web/src/pages/Comments/HistoryTable.tsx:9
FunctionHome
()
web/src/pages/Home/Home.tsx:13
FunctionHomeRowCard
({ row, rowIndex, rows, catalogs, isMDBListConfigured, onChange, }: { row: HomeRow; rowIndex:
web/src/pages/Admin/HomeRows.tsx:278
FunctionHomeRows
()
web/src/pages/Admin/HomeRows.tsx:63
FunctionHomeRowsEditor
({ title, description, homeRowsData, catalogDefinitionsResponse, isLoading, error, onSave, isS
web/src/pages/Admin/HomeRows.tsx:106
FunctionHorizontalSection
(props: { items: any; header: string; headerHref?: string; itemType: | "poster" | "cast" |
web/src/pages/Home/HorizontalSection.tsx:8
FunctionImageModal
(props: any)
web/src/pages/Modals/ImageModal.tsx:4
FunctionIncrementServiceFailure
* Health check service to determine if external providers are responsive, especially important for subtitles since in the current implementation, fail
server/providers/service_health.go:27
FunctionInfoModal
({ open, setOpen, decodedData, }: { open: boolean; setOpen: (open: boolean) => void; decodedData:
web/src/pages/Modals/StreamModal.tsx:175
FunctionIngestFile
(mediaRecord *database.MediaRecord, seasonNumber *int, episodeNumber *int, infoHash *string, fileIdx *int, so
server/model/ingest.go:216
FunctionIngestFileHandler
(c *gin.Context)
server/controllers/v1/media.go:39
FunctionIngestLogger
()
server/loggers/ingest.go:36
FunctionInitializeCache
()
server/database/cache.go:19
FunctionInitializeConfig
()
server/config/config.go:36
FunctionInitializeFFMPEG
()
server/services/ffmpeg.go:14
FunctionInitializeLoggers
()
server/loggers/loggers.go:5
← previousnext →401–500 of 690, ranked by callers