Added Identity to check tool.

This commit is contained in:
David Howden 2015-07-02 23:07:50 +10:00
parent b60e529091
commit 78f72c23bd

View File

@ -166,6 +166,11 @@ func (p *processor) do(ch <-chan string) {
}
defer tf.Close()
_, _, err = tag.Identify(tf)
if err != nil {
fmt.Println("IDENTIFY:", path, err.Error())
}
_, err = tag.ReadFrom(tf)
if err != nil {
fmt.Println("READFROM:", path, err.Error())