Fixed log message.
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user