mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-14 23:59:38 +05:00
started working on playlists support
This commit is contained in:
@@ -16,6 +16,9 @@ const UserTTL = 5 * time.Minute
|
||||
// time-to-live for track cache
|
||||
const TrackTTL = 5 * time.Minute
|
||||
|
||||
// time-to-live for playlist cache
|
||||
const PlaylistTTL = 5 * time.Minute
|
||||
|
||||
// default fasthttp one was causing connections to be stuck? todo make it cycle browser useragents or just choose random at startup
|
||||
const UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.3"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user