mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-16 18:37:51 +01:00
Add TS file extension to detected list. VLC creates TS files.
This commit is contained in:
@@ -58,7 +58,7 @@ func FileTranslateExtension(extension string) (fileType, fileFormat uint16) {
|
||||
case "gif", "jpg", "jpeg", "png", "svg", "bmp", "tif", "tiff", "jfif", "webp":
|
||||
return core.TypePicture, core.FormatPicture
|
||||
|
||||
case "mp4", "flv", "avi", "mov", "mpg", "mpeg", "h264", "3g2", "3gp", "mkv", "wmv", "webm":
|
||||
case "mp4", "flv", "avi", "mov", "mpg", "mpeg", "h264", "3g2", "3gp", "mkv", "wmv", "webm", "ts":
|
||||
return core.TypeVideo, core.FormatVideo
|
||||
|
||||
case "mp3", "ogg", "flac":
|
||||
|
||||
Reference in New Issue
Block a user