mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Transcode stream refactor (#609)
* Remove forceMkv and forceHEVC * Add HLS support and refactor * Add new streaming endpoints
This commit is contained in:
@@ -62,10 +62,6 @@ const ShowStudioAsText = "show_studio_as_text"
|
||||
const CSSEnabled = "cssEnabled"
|
||||
const WallPlayback = "wall_playback"
|
||||
|
||||
// Playback force codec,container
|
||||
const ForceMKV = "forceMKV"
|
||||
const ForceHEVC = "forceHEVC"
|
||||
|
||||
// Logging options
|
||||
const LogFile = "logFile"
|
||||
const LogOut = "logOut"
|
||||
@@ -326,15 +322,6 @@ func GetCSSEnabled() bool {
|
||||
return viper.GetBool(CSSEnabled)
|
||||
}
|
||||
|
||||
// force codec,container
|
||||
func GetForceMKV() bool {
|
||||
return viper.GetBool(ForceMKV)
|
||||
}
|
||||
|
||||
func GetForceHEVC() bool {
|
||||
return viper.GetBool(ForceHEVC)
|
||||
}
|
||||
|
||||
// GetLogFile returns the filename of the file to output logs to.
|
||||
// An empty string means that file logging will be disabled.
|
||||
func GetLogFile() string {
|
||||
|
||||
Reference in New Issue
Block a user