Skip to content

Commit

Permalink
set testing lines to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aetaric committed Jan 11, 2024
1 parent 8aa5f15 commit fe68834
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions check/checkrr.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ func (c *Checkrr) checkFile(path string) {
} else {
log.WithFields(log.Fields{"Format": data.Format.FormatLongName, "Type": detectedFileType, "FFProbe": true}).Infof(string(data.Format.Filename))

log.Info(data.Format.FormatName)
log.Debug(data.Format.FormatName)

if detectedFileType == "Video" {
for _, stream := range data.Streams {
log.Info(stream.CodecName)
log.Debug(stream.CodecName)
for _, codec := range c.removeVideo {
if stream.CodecName == codec {
log.WithFields(log.Fields{"Format": data.Format.FormatLongName, "Type": detectedFileType, "FFProbe": true}).Infof("Detected %s. Removing.", string(data.FirstVideoStream().CodecName))
Expand All @@ -287,7 +287,7 @@ func (c *Checkrr) checkFile(path string) {
} else {
log.Debug(data.FirstAudioStream().CodecName)
for _, stream := range data.Streams {
log.Info(stream.CodecName)
log.Debug(stream.CodecName)
for _, codec := range c.removeAudio {
if stream.CodecName == codec {
log.WithFields(log.Fields{"Format": data.Format.FormatLongName, "Type": detectedFileType, "FFProbe": true}).Infof("Detected %s. Removing.", string(data.FirstVideoStream().CodecName))
Expand Down

0 comments on commit fe68834

Please sign in to comment.