Nullable
This commit is contained in:
parent
4d75083817
commit
d8f517f08b
@ -4,7 +4,7 @@ import java.io.File
|
||||
|
||||
class ReaderEnv {
|
||||
companion object {
|
||||
val metadataTimeOut: Long = System.getenv("TIMEOUT_READER_WAIT_FOR_METADATA").toLongOrNull() ?: 300000
|
||||
val metadataTimeOut: Long = System.getenv("TIMEOUT_READER_WAIT_FOR_METADATA")?.toLongOrNull() ?: 300000
|
||||
val ffprobe: String = System.getenv("SUPPORTING_EXECUTABLE_FFPROBE") ?: "ffprobe"
|
||||
val encodePreference: File = File("/data/config/preference.json")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user