MCPcopy Create free account

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

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

FunctionAddMovieToCollectionTMDB
(userID int64, source string, sourceID int, collectionID int64)
server/sources/tmdb.go:343
FunctionAddProviderModal
({ open, setOpen, }: { open: boolean; setOpen: (open: boolean) => void; })
web/src/pages/Admin/ProviderProfiles.tsx:203
FunctionAddTVShowRewatchHandler
@Router /v1/tv/{id}/history/rewatch [post] @Summary Create TV Show Rewatch @ID create-tvshow-rewatch @Description Create new rewatch for tv show. This
server/controllers/v1/watch_history.go:300
FunctionAddTVShowToCollectionTMDB
(userID int64, source string, sourceID int, collectionID int64)
server/sources/tmdb.go:260
FunctionAddToCollectionHandler
@Router /v1/collection/{id} [post] @Summary Add Media to Collection @ID collections-add-media @Tags Collection @Accept json @Produce json @Param id pa
server/controllers/v1/collections.go:40
FunctionAddToCollectionModal
(props: any)
web/src/pages/Modals/AddToCollectionModal.tsx:14
FunctionAddTorrentHandler
@Router /api/v1/torrent/{encodedString} [post] @Summary Add Torrent @ID add-torrent @Description Adds a p2p torrent to the server for streaming/downlo
server/controllers/v1/stream.go:243
FunctionAddUserModal
({ open, onClose, }: { open: boolean; onClose: () => void; })
web/src/pages/Admin/Users.tsx:195
FunctionAddWatchHistoryMovieHandler
@Router /v1/movie/{id}/history [post] @Summary Add Movie Watch History @ID add-movie-watch-history @Tags Watch History @Accept json @Produce json @Par
server/controllers/v1/watch_history.go:358
FunctionAddWatchHistoryTVHandler
@Router /v1/tv/{id}/history [post] @Summary Add TV Show Watch History @ID add-tvshow-watch-history @Description Only one of season_number and episode_
server/controllers/v1/watch_history.go:192
FunctionAdmin
(props: any)
web/src/pages/Admin/Admin.tsx:18
FunctionAdminMiddleware
(c *gin.Context)
server/middlewares/middlewares.go:72
FunctionAdminResetPasswordHandler
@Router /api/v1/users/{id}/password [post] @Summary Admin reset user password @ID admin-reset-password @Tags Users @Accept json @Produce json @Param i
server/controllers/v1/users.go:83
FunctionApiKeyCard
({ apiKey }: { apiKey: any })
web/src/pages/Settings/ApiKeys.tsx:66
FunctionApiKeyField
({ apiKey }: { apiKey: string })
web/src/pages/Settings/ApiKeys.tsx:111
FunctionApiKeys
()
web/src/pages/Settings/ApiKeys.tsx:24
FunctionApp
()
web/src/App.tsx:75
FunctionArrow
({ children, disabled, onClick, }: { children: React.ReactNode; disabled: boolean; onClick: VoidFu
web/src/pages/Home/arrows.tsx:8
FunctionAuthMiddleware
(c *gin.Context)
server/middlewares/middlewares.go:14
FunctionAuthenticateUser
(userID int64, password string, clientID string, clientPlatform string, deviceID string)
server/model/auth.go:72
FunctionBatchDeleteWatchEvents
(watchEventIDs []int64, userID int64, recordID int)
server/database/watch_history.go:293
FunctionBatchInsertWatchEvents
batch the inserts since we also insert the full json data might take some memory
server/database/watch_history.go:270
FunctionBatchUpsertMediaRecords
(sess *xorm.Session, records []*MediaRecord)
server/database/media_records.go:196
FunctionCORSMiddleware
(c *gin.Context)
server/middlewares/middlewares.go:81
FunctionCancelIngestTaskHandler
@Router /api/v1/ingest/{taskID}/cancel [post] @Summary Cancel an ingest/download task @ID cancel-download-task @Tags Download @Accept json @Produce js
server/controllers/v1/download.go:202
FunctionCatalogEditor
({ catalog, catalogIndex, row, availableCatalogs, onChange, }: { catalog: Catalog; catalogIndex:
web/src/pages/Admin/HomeRows.tsx:463
FunctionChangePassword
(userID int64, oldPassword, newPassword string)
server/model/auth.go:107
FunctionChangePasswordHandler
@Router /api/v1/auth/password [post] @Summary Change user password @ID user-change-password @Tags Auth @Accept json @Produce json @Param request body
server/controllers/v1/auth.go:151
FunctionChangePasswordModal
({ open, setOpen, }: { open: boolean; setOpen: (open: boolean) => void; })
web/src/pages/Settings/GeneralSettings.tsx:41
FunctionCheckShowEpisodesIDs
for an array of episode ids, check if exist in the database as a child of the show hierarchy show -> season -> episode returns a list of invalid episo
server/database/media_records.go:400
FunctionCheckTorrentSession
check if a torrent session exists
server/model/stream.go:166
FunctionClearCache
Only for development purposes this skips watch progress and auth keys
server/database/cache.go:48
FunctionClearCacheHandler
(c *gin.Context)
server/controllers/v1/providers.go:49
FunctionClearServiceFailures
call whenever there is a successful response
server/providers/service_health.go:59
FunctionCollection
(props: any)
web/src/pages/Collection/Collection.tsx:21
FunctionCollectionCover
(props: any)
web/src/pages/Library/CollectionCover.tsx:4
FunctionCommentCard
(props: any)
web/src/pages/Comments/CommentCard.tsx:16
FunctionConfirmDeleteApiKeyModal
({ open, onClose, onConfirm, name, }: { open: boolean; onClose: () => void; onConfirm: () => voi
web/src/pages/Settings/ApiKeys.tsx:150
FunctionConfirmDeleteUserModal
({ open, onClose, onConfirm, username, }: { open: boolean; onClose: () => void; onConfirm: () =>
web/src/pages/Admin/Users.tsx:147
FunctionConfirmRewatchModal
(props: any)
web/src/pages/Modals/ConfirmRewatchModal.tsx:6
FunctionConvertGenres
(mediaSource string, mediaType string, genres []tmdb.Genre)
server/database/genres.go:137
FunctionCreateAPIKey
(userID int64, name string, expiresAt *time.Time)
server/model/api_keys.go:20
FunctionCreateAPIKeyHandler
@Router /api/v1/api_keys [post] @Summary Create API Key @ID create-api-key @Tags API Keys @Accept json @Produce json @Param name query string true "AP
server/controllers/v1/api_keys.go:52
FunctionCreateCollection
(record CollectionRecord)
server/database/collections.go:182
FunctionCreateCollectionHandler
@Router /v1/collection/new [post] @Summary Create New Collection @ID create-collection @Tags Collection @Accept json @Produce json @Success 200 {objec
server/controllers/v1/collections.go:192
FunctionCreateHistoryModal
(props: CreateHistoryModalProps)
web/src/pages/Modals/CreateHistoryModal.tsx:22
FunctionCreateIngestTaskDownload
Downloads torrent to server, not clients
server/model/ingest.go:34
FunctionCreateMovieWatchHistory
(userID int64, mediaSource string, sourceID int, watchHistoryPayload WatchHistoryMoviePayload)
server/model/watch_history.go:198
FunctionCreateProviderProfileHandler
@Router /api/v1/provider_profiles [post] @Summary Create a provider profile @ID create-provider-profile @Tags Provider Profiles @Accept json @Produce
server/controllers/v1/provider_profiles.go:48
FunctionCreateTVShowWatchHistory
(userID int64, mediaSource string, showID int, watchHistoryPayload WatchHistoryTVShowPayload)
server/model/watch_history.go:31
FunctionDecodeJsonStreamAES
* Decode a string back into StreamObjectFull data */
server/providers/crypto.go:42
FunctionDecodeStreamHandler
@Router /api/v1/decode [get] @Summary Decode Stream AES from Encoded Data @Description Use this to decode the stream object if you have the encoded da
server/controllers/v1/providers.go:30
FunctionDecodeURIAES
(encryptedText string)
server/providers/crypto.go:58
FunctionDeleteAuthSession
(userID int64, sessionID string)
server/database/sessions.go:108
FunctionDeleteCollection
(userID int64, collectionID int64)
server/database/collections.go:193
FunctionDeleteCollectionHandler
@Router /v1/collection/{id}/delete [delete] @Summary Delete Collection @ID delete-collection @Tags Collection @Accept json @Produce json @Param id pat
server/controllers/v1/collections.go:326
FunctionDeleteCollectionRelation
(userID int64, recordID int64, collectionID int64)
server/database/collections.go:155
FunctionDeleteComment
(userID int64, commentID int64)
server/database/comments.go:69
FunctionDeleteCommentBatch
(userID int64, commentIDs []int64)
server/database/comments.go:83
FunctionDeleteCommentHandler
@Router /api/v1/comments/{id} [delete] @Summary Delete a Comment @ID delete-comment @Tags Comments @Accept json @Produce json @Param id path string tr
server/controllers/v1/comments.go:233
FunctionDeleteFromCollectionHandler
@Router /v1/collection/{id} [delete] @Summary Delete A Media from Collection @ID colllections-delete-media @Tags Collection @Accept json @Produce json
server/controllers/v1/collections.go:100
FunctionDeleteMediaFile
(fileID int)
server/model/media.go:65
FunctionDeleteMediaFileHandler
@Router /api/v1/media_files/{id} [delete] @Summary Delete a media file @ID delete-media-file @Tags Media Files @Accept json @Produce json @Param id pa
server/controllers/v1/media_files.go:172
FunctionDeleteMediaFileRecord
(fileID int)
server/database/media_files.go:108
FunctionDeleteMoviePlaybackProgressHandler
@Router /v1/movie/{id}/playback/delete [post] @Summary Delete Movie Playback Progress @ID delete-movie-playback-progress @Tags Watch Progress @Accept
server/controllers/v1/watch_progress.go:227
FunctionDeleteProviderProfile
(providerID int)
server/database/provider_profiles.go:139
FunctionDeleteProviderProfileHandler
@Router /api/v1/provider_profiles/{id} [delete] @Summary Delete a provider profile @ID delete-provider-profile @Tags Provider Profiles @Accept json @P
server/controllers/v1/provider_profiles.go:123
FunctionDeleteTVPlaybackProgressHandler
@Router /v1/tv/{id}/playback/delete [post] @Summary Delete TV Playback Progress @ID delete-tv-playback-progress @Tags Watch Progress @Accept json @Pro
server/controllers/v1/watch_progress.go:242
FunctionDeleteUser
(userID int64)
server/database/users.go:94
FunctionDeleteUserAuthSessions
(userID int64)
server/database/sessions.go:84
FunctionDeleteUserHandler
@Router /api/v1/users/{id} [delete] @Summary Delete a user @ID delete-user @Tags Users @Accept json @Produce json @Param id path int true "User ID" @S
server/controllers/v1/users.go:43
FunctionDeleteWatchHistoryMovieHandler
@Router /movie/{id}/history/delete [post] @Summary Delete Movie Watch History @ID delete-movie-watch-history @Tags Watch History @Accept json @Produce
server/controllers/v1/watch_history.go:251
FunctionDeleteWatchHistoryTVHandler
@Router /tv/{id}/history/delete [post] @Summary Delete TV Show Watch History @ID delete-tvshow-watch-history @Tags Watch History @Accept json @Produce
server/controllers/v1/watch_history.go:236
FunctionDownloadCard
({ item }: { item: any })
web/src/pages/Admin/Downloads.tsx:77
FunctionDownloadHandler
@Router /api/v1/download/{encodedString} [post] @Summary Download media file to server @ID download-media @Tags Download @Accept json @Produce json @P
server/controllers/v1/download.go:39
FunctionDownloadSeasonModal
(props: any)
web/src/pages/Modals/DownloadSeasonModal.tsx:32
FunctionDownloadTVSeasonHandler
@Router /api/v1/tv/{id}/season/{seasonNumber}/download [post] @Summary Download TV Season @ID download-tv-season @Tags Download @Accept json @Produce
server/controllers/v1/download.go:91
FunctionDownloads
()
web/src/pages/Admin/Downloads.tsx:13
FunctionEpisodeSelector
(props: any)
web/src/pages/Modals/DownloadSeasonModal.tsx:300
FunctionErrorResponse
(c *gin.Context, err error)
server/internal/response.go:13
FunctionErrorResponseWithMessage
data can be strings, or others
server/internal/response.go:19
FunctionExtractInfoHashFromURL
given a http url, extract infohash from it if it's in the url
server/internal/helpers.go:63
FunctionFFProbe
(uri string)
server/services/ffprobe.go:40
FunctionFetchRemoteVersionInfo
()
server/model/general.go:21
FunctionFilterBar
(props: any)
web/src/pages/Library/FilterBar.tsx:10
FunctionFindCollection
(query CollectionRecord, limit int, offset int)
server/database/collections.go:220
FunctionFindIngestTasks
(task IngestTask)
server/database/ingest.go:133
FunctionFindIngestTasksForStatus
(status []string, limit int, offset int)
server/database/ingest.go:142
FunctionFinishRewatch
(rewatchID int64, finishedAt time.Time)
server/database/watch_history.go:238
FunctionFooter
(props: any)
web/src/pages/Footer.tsx:4
FunctionGeneralSearchHandler
@Router /api/v1/search [get] @Summary General Media Search @ID search-media @Tags Search @Accept json @Produce json @Param q query string true "Search
server/controllers/v1/general.go:32
FunctionGeneralSettings
()
web/src/pages/Settings/GeneralSettings.tsx:15
FunctionGenerateAuthSession
(userID int64, clientID, clientPlatform, deviceID string)
server/database/sessions.go:57
FunctionGetAPIKey
(apiKey string)
server/database/api_keys.go:41
FunctionGetActiveRewatchFromSourceID
Gets the current active rewatch this is the rewatch with the latest start time
server/database/watch_history.go:120
FunctionGetBuildInfo
()
server/internal/build_info.go:15
FunctionGetCatalogDefinitionsHandler
@Router /api/v1/catalogs [get] @Summary Get Available Catalogs @ID get-available-catalogs @Tags Catalog @Accept json @Produce json @Success 200 {objec
server/controllers/v1/catalog.go:24
FunctionGetCatalogDefinitionsResponse
()
server/model/catalog_definitions.go:296
FunctionGetCatalogHandler
@Router /api/v1/catalog/{id} [get] @Summary Get Catalog @ID get-catalog @Tags Catalog @Accept json @Produce json @Param id path string true "Catalog I
server/controllers/v1/catalog.go:43
FunctionGetCollectionContentsHandler
@Router /v1/collection/{id} [get] @Summary Get Collection Contents @ID get-collection-contents @Tags Collection @Accept json @Produce json @Param id p
server/controllers/v1/collections.go:230
← previousnext →301–400 of 690, ranked by callers