transition time ranged queries to timeframe (#117)

This commit is contained in:
Gabe Farrell 2026-01-01 01:56:16 -05:00 committed by GitHub
parent ad3c51a70e
commit d327729bff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 2032 additions and 335 deletions

View file

@ -116,14 +116,9 @@ type AddArtistsToAlbumOpts struct {
}
type GetItemsOpts struct {
Limit int
Period Period
Page int
Week int // 1-52
Month int // 1-12
Year int
From int64 // unix timestamp
To int64 // unix timestamp
Limit int
Page int
Timeframe Timeframe
// Used only for getting top tracks
ArtistID int