Videos: Add .dv to the list of known video file types #3226

Note that this is completely untested as we have no sample files.

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-02-22 22:45:53 +01:00
parent 1cc64cc5e6
commit ae4a2abc37
4 changed files with 4 additions and 0 deletions

View file

@ -109,6 +109,7 @@ var Extensions = FileExtensions{
".webm": VideoWebM,
".asf": VideoASF,
".wmv": VideoWMV,
".dv": VideoDV,
".svg": VectorSVG,
".ai": VectorAI,
".ps": VectorPS,

View file

@ -31,6 +31,7 @@ var TypeInfo = TypeMap{
VideoAVI: "Microsoft Audio Video Interleave",
VideoASF: "Advanced Systems Format ",
VideoWMV: "Windows Media",
VideoDV: "DV Video",
Video3GP: "Mobile Multimedia Container (3G)",
Video3G2: "Mobile Multimedia Container (CDMA2000)",
VideoFlash: "Adobe Flash",

View file

@ -48,6 +48,7 @@ const (
VideoOGV Type = "ogv" // Ogg container format maintained by the Xiph.Org, free and open
VideoASF Type = "asf" // Advanced Systems/Streaming Format (ASF)
VideoWMV Type = "wmv" // Windows Media Video (based on ASF)
VideoDV Type = "dv" // DV Video (https://en.wikipedia.org/wiki/DV)
VectorSVG Type = "svg" // Scalable Vector Graphics
VectorAI Type = "ai" // Adobe Illustrator
VectorPS Type = "ps" // Adobe PostScript

View file

@ -39,6 +39,7 @@ var Formats = map[fs.Type]Type{
fs.VideoOGV: Video,
fs.VideoASF: Video,
fs.VideoWMV: Video,
fs.VideoDV: Video,
fs.VectorSVG: Vector,
fs.VectorAI: Vector,
fs.VectorPS: Vector,