recognize .flac file as an audio file
This commit is contained in:
parent
cc308bea78
commit
8dba46e53e
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ buildscript {
|
|||
propMinSdkVersion = 16
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '3.8.8'
|
||||
propVersionName = '3.8.9'
|
||||
kotlin_version = '1.2.21'
|
||||
support_libs = '27.0.2'
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ fun String.isAValidFilename(): Boolean {
|
|||
|
||||
val String.photoExtensions: Array<String> get() = arrayOf(".jpg", ".png", ".jpeg", ".bmp", ".webp", ".dng")
|
||||
val String.videoExtensions: Array<String> get() = arrayOf(".mp4", ".mkv", ".webm", ".avi", ".3gp", ".mov", ".m4v", ".3gpp")
|
||||
val String.audioExtensions: Array<String> get() = arrayOf(".mp3", ".wav", ".wma", ".ogg", ".m4a", ".opus")
|
||||
val String.audioExtensions: Array<String> get() = arrayOf(".mp3", ".wav", ".wma", ".ogg", ".m4a", ".opus", ".flac")
|
||||
|
||||
fun String.isImageVideoGif() = isImageFast() || isVideoFast() || isGif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue