mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-10 05:39:38 +05:00
patch duration in m4a for restream/downloads
This commit is contained in:
@@ -24,11 +24,11 @@ var TracksCache = map[string]cached[Track]{}
|
||||
var tracksCacheLock = &sync.RWMutex{}
|
||||
|
||||
type Track struct {
|
||||
Artwork string `json:"artwork_url"`
|
||||
Comments int `json:"comment_count"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
Description string `json:"description"`
|
||||
//Duration int `json:"duration"` // there are duration and full_duration fields wtf does that mean
|
||||
Artwork string `json:"artwork_url"`
|
||||
Comments int `json:"comment_count"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
Description string `json:"description"`
|
||||
Duration uint32 `json:"full_duration"`
|
||||
Genre string `json:"genre"`
|
||||
Kind string `json:"kind"` // should always be "track"!
|
||||
LastModified string `json:"last_modified"`
|
||||
|
||||
Reference in New Issue
Block a user