diff options
author | Přemysl Janouch <p@janouch.name> | 2018-11-03 01:04:22 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-11-03 01:04:22 +0100 |
commit | 131930f45b512c11e7c1848ad3284e6d759d6d58 (patch) | |
tree | a86b4b35f566897f6054954c7d6b14423d2cce5a | |
parent | 783fce1175f8ace7122b499c4f438e738cf11ee4 (diff) | |
download | bbc-on-ice-131930f45b512c11e7c1848ad3284e6d759d6d58.tar.gz bbc-on-ice-131930f45b512c11e7c1848ad3284e6d759d6d58.tar.xz bbc-on-ice-131930f45b512c11e7c1848ad3284e6d759d6d58.zip |
Increase playlist re-read pause
-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) } } |