Instead of including the bitrate in the filename, include qMIN, qMAX or qAVG instead, which reflects the quality setting the user chose for the fetch command.
This will prevent duplicate downloads when tou.tv streams change bitrates.
I think it would make more sense if FilesystemSegmentHandler just took the filename as a parameter, and the details on how to decide of the file name were left to the client application.
Instead of including the bitrate in the filename, include qMIN, qMAX or qAVG instead, which reflects the quality setting the user chose for the fetch command. This will prevent duplicate downloads when tou.tv streams change bitrates.
Fixes #107