mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-20 22:07:43 +03:00
Logs to scrobble
This commit is contained in:
parent
8e1736703d
commit
3e08c8f8c3
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user