Skip to content

🎧 Your Personal Streaming Service

Logs to scrobble

Deluan3e08c8f8c32e
diff --git a/api/media_annotation.go b/api/media_annotation.go
index c5ebe7d4b..93f8166da 100644
--- a/api/media_annotation.go
+++ b/api/media_annotation.go
@@ -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 {