MCPcopy Create free account

hub / github.com/GAumala/MediaServer / functions

Functions35 in github.com/GAumala/MediaServer

↓ 5 callersFunctionFindAllVideos
*FindAllVideos Walks throug the specified directories in the provided jsonFile * looking for videos. if the jsonFile string is empty or an invalid pat
filesys/Scanner.go:63
↓ 4 callersFunctionDefaultConfig
()
data/Config.go:60
↓ 4 callersFunctionNewVideoDir
NewVideoDir is a public constructor for VideoDir
data/VideoDir.go:27
↓ 4 callersFunctionParseJsonConfig
(configPath string)
data/Config.go:45
↓ 3 callersFunctiongetPublicFilePath
(templateFileName string)
net/StaticAssets.go:30
↓ 2 callersFunctionIsStreamableVideoFormat
*IsStreamableVideoFormat returns true if the extension provided in videoExtension * is an extension of video format that can be streamed over HTML5.
data/VideoInfo.go:25
↓ 2 callersMethodString
()
data/Config.go:31
↓ 2 callersFunctionloadTemplate
(name string)
net/Server.go:18
↓ 1 callersFunctionRunServer
*RunServer starts the HTTP server at port 8080 using the specified config. */
net/Server.go:99
↓ 1 callersFunctiondefaultVideoDir
()
data/Config.go:36
↓ 1 callersFunctionexternalIP
()
net/ip.go:8
↓ 1 callersFunctionfileExists
(filename string)
net/StaticAssets.go:22
↓ 1 callersFunctionfindVideosInPath
(verbose bool, root string, videoDict data.VideoDict)
filesys/Scanner.go:21
↓ 1 callersFunctiongenerateVideoKey
(videoPath string)
filesys/Scanner.go:15
↓ 1 callersFunctiongetProjectDir
()
net/StaticAssets.go:14
↓ 1 callersFunctionhtmlVideoHandler
(w http.ResponseWriter, r *http.Request)
net/Server.go:41
↓ 1 callersFunctioninitConfig
()
MediaServer.go:10
↓ 1 callersFunctioninitIPAddr
()
net/Server.go:88
↓ 1 callersFunctionrawVideoHandler
(w http.ResponseWriter, r *http.Request)
net/Server.go:61
↓ 1 callersMethodvideoDirsString
()
data/Config.go:19
MethodLen
()
data/VideoDir.go:16
MethodLess
(i, j int)
data/VideoDir.go:22
MethodSwap
(i, j int)
data/VideoDir.go:19
FunctionTestFindAllVideosDefault
(t *testing.T)
filesys/scanner_test.go:12
FunctionTestFindAllVideosNullDir
(t *testing.T)
filesys/scanner_test.go:26
FunctionTestFindAllVideosWrongDir
(t *testing.T)
filesys/scanner_test.go:37
FunctionTestIsStreamableVideoFormat
(t *testing.T)
data/videoinfo_test.go:10
FunctionTestParseJsonConfig
(t *testing.T)
data/config_test.go:15
FunctionTestParseJsonConfigEmpty
(t *testing.T)
data/config_test.go:40
FunctionTestParseJsonConfigNullConfig
(t *testing.T)
data/config_test.go:10
FunctionTestVideoDirSort
(t *testing.T)
data/videodir_test.go:11
FunctionassetsHandler
(w http.ResponseWriter, r *http.Request)
net/StaticAssets.go:40
FunctionindexHandler
(w http.ResponseWriter, r *http.Request)
net/Server.go:27
Functionmain
()
MediaServer.go:28
FunctionwatchHandler
(w http.ResponseWriter, r *http.Request)
net/Server.go:79