mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-26 20:09:47 +01:00
Merge branch 'master' into os-lyrics
This commit is contained in:
commit
66ca4ccecf
69 changed files with 758 additions and 438 deletions
|
|
@ -84,7 +84,7 @@ func (m *MockAlbumRepo) IncPlayCount(id string, timestamp time.Time) error {
|
|||
}
|
||||
if d, ok := m.data[id]; ok {
|
||||
d.PlayCount++
|
||||
d.PlayDate = timestamp
|
||||
d.PlayDate = ×tamp
|
||||
return nil
|
||||
}
|
||||
return model.ErrNotFound
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ func (m *MockArtistRepo) IncPlayCount(id string, timestamp time.Time) error {
|
|||
}
|
||||
if d, ok := m.data[id]; ok {
|
||||
d.PlayCount++
|
||||
d.PlayDate = timestamp
|
||||
d.PlayDate = ×tamp
|
||||
return nil
|
||||
}
|
||||
return model.ErrNotFound
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ func (m *MockMediaFileRepo) IncPlayCount(id string, timestamp time.Time) error {
|
|||
}
|
||||
if d, ok := m.data[id]; ok {
|
||||
d.PlayCount++
|
||||
d.PlayDate = timestamp
|
||||
d.PlayDate = ×tamp
|
||||
return nil
|
||||
}
|
||||
return model.ErrNotFound
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue