Please sign in to comment.
Reduce dependency on OS in determining if file is video.
Introduce magic.IsVideoFileName, add test for it. Fixes this error: --- FAIL: TestIsVideo (0.08s) search_test.go:41: IsVideo failed video=true filename=movie.mkv mimetype=application/octet-stream FAIL FAIL perkeep.org/pkg/types/camtypes 0.399s Discussion about this problem is here: https://groups.google.com/forum/#!topic/perkeep/Wdb_0Os6ZkY Change-Id: I14f54bd60c9495d6aa665036b83c813673608ad7
- Loading branch information
Showing with 25 additions and 6 deletions.