Add sending playlist to timeline feature.

Also, fix a possible crash due to under-caching avformat producer
instances. Base cache size not only on number of tracks but also size of
the thread pool (logical core count).