transition time ranged queries to timeframe

This commit is contained in:
Gabe Farrell 2026-01-01 00:05:20 -05:00
parent ad3c51a70e
commit 24c101d35f
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