Logs to scrobble

This commit is contained in:
Deluan 2016-03-21 19:51:22 -04:00
parent 8e1736703d
commit 3e08c8f8c3

View File

@ -30,6 +30,7 @@ func (c *MediaAnnotationController) Scrobble() {
playerName := c.ParamString("c")
username := c.ParamString("u")
beego.Debug("Scrobbling ids:", ids, "times:", times, "submission:", submission)
for i := range ids {
var t time.Time
if len(times) > 0 {
@ -45,7 +46,6 @@ func (c *MediaAnnotationController) Scrobble() {
//if skip {
// beego.Info("Skipped previous song")
//}
if submission {
mf, err := c.scrobbler.Register(playerId, ids[i], t)
if err != nil {