Fixed log message.

This commit is contained in:
Deluan 2016-03-29 13:54:08 -04:00
parent edcfd9dd61
commit 2dfa05ceb6

View File

@ -53,8 +53,8 @@ func (s *scrobbler) detectSkipped(playerId int, trackId string) {
}
diff := np.Start.Sub(prev.Start)
if diff < minSkipped || diff > maxSkipped {
prev = np
beego.Debug(fmt.Sprintf("-- Playtime for track %s was %v. Not skipping.", prev.TrackId, diff))
prev = np
continue
}
err = s.itunes.MarkAsSkipped(prev.TrackId, prev.Start.Add(time.Duration(1)*time.Minute))