getNowPlaying.view working

This commit is contained in:
Deluan
2016-03-17 10:37:19 -04:00
parent 68c456e188
commit c4b660fce3
6 changed files with 25 additions and 12 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ func (c *MediaAnnotationController) Scrobble() {
time := c.ParamTime("time", time.Now())
submission := c.ParamBool("submission", false)
playerName := c.Data["c"].(string)
username := c.Data["u"].(string)
playerName := c.ParamString("c")
username := c.ParamString("u")
if submission {
mf, err := c.scrobbler.Register(id, time)