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
- correct logging that logged functions instead of their value
- use ID vs Id naming
- use correct function names in comments
Change-Id: I61562cef7ebac7337ec6c85312cdf7915cb1a84b