diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -180,9 +180,9 @@ func urlProc(ctx context.Context, playlistURL string, out chan<- string) { return } } - // I expect this to be mainly driven by the buffered channel but - // a small (less than target duration) additional pause will not hurt. - time.Sleep(1 * time.Second) + // Media players will happily buffer the whole playlist at once, + // a small (less than target duration) additional pause is appropriate. + time.Sleep(3 * time.Second) } } |