TODO/Known bugs for rtmpdump-yle
--------------------------------

Sometimes rtmpdump-yle crashes when downloading live streams.

Simplify downloading of programs that require YLE Passi. Login to YLE
Passi by ourselves, or at least get the cookie from the browser
automatically.

Implement --resume without -o properly. Currently it connects to the
server twice to seek to the correct position. This may cause a
(harmless) warning "Received FLV packet before play()".

-o and --episodes?

Automatically detect which server to use (Areena and Elävä arkisto).
When connecting outside Finland you may need to add "-n
flashu.yle.fi" on the command line.

Inconsistency: Elävä arkisto videos are overwritten, Areena videos are
saved under a different name.

Crtl+C doesn't terminate properly if we are writing but buffer is full
(this may happen for example with named pipes).
