Increase playlist re-read pause

This commit is contained in:
Přemysl Eric Janouch 2018-11-03 01:04:22 +01:00
parent 783fce1175
commit 131930f45b
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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)
}
}