Embed static resources (#1466)
* Replace pkger with go:embed for bundling the admin. Closes #844 * Remove references to pkged.go * Point tests to use an updated version of Go * Add comment to new exported function * Cleanup * Add a dummy pkged.go to alert people to stop using it. * Add simple browser test to make sure the admin is available and renders * Don't panic * Embed bot/scraper metadata template. Add browser test to validate the rendering of this template. * Use embedded offline.ts segment * Remove placeholder thumbnail as its unnecessary * Remove copying the static directory into the release * Cleanup
This commit is contained in:
@@ -386,8 +386,8 @@ func (t *Transcoder) SetInput(input string) {
|
||||
}
|
||||
|
||||
// SetStdin sets the Stdin of the ffmpeg command.
|
||||
func (t *Transcoder) SetStdin(rtmp *io.PipeReader) {
|
||||
t.stdin = rtmp
|
||||
func (t *Transcoder) SetStdin(pipe *io.PipeReader) {
|
||||
t.stdin = pipe
|
||||
}
|
||||
|
||||
// SetOutputPath sets the root directory that should include playlists and video segments.
|
||||
|
||||
Reference in New Issue
Block a user