diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-18 19:07:31 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-18 19:07:31 -0400 |
| commit | eb41a250b7caa464e6f6d7297416bc8bd8d72a8c (patch) | |
| tree | eb45e10c91edfdb960a0a2e452eb1ceaf1c16968 /lfmclient.go | |
| parent | ff81576e21f5b89cbf47856c520df3e5e0c9adbe (diff) | |
| download | lastfm-api-eb41a250b7caa464e6f6d7297416bc8bd8d72a8c.tar.gz | |
Add import count
Diffstat (limited to 'lfmclient.go')
| -rw-r--r-- | lfmclient.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lfmclient.go b/lfmclient.go index 1b39ce9..c845b7d 100644 --- a/lfmclient.go +++ b/lfmclient.go @@ -180,6 +180,7 @@ func (app *App) ImportRecentTracks(user *User) { log.Println(err) } i.LastFetch = st + i.Count += len(scrobbles) if err := app.SaveImport(i); err != nil { log.Println(err) } |
