bvanheu / pytoutv

TOU.TV client library and user interfaces written in Python 3
96 stars 23 forks source link

Better filenames for downloaded files #108

Closed gboudreau closed 7 years ago

gboudreau commented 7 years ago

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

simark commented 7 years ago

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.

gboudreau commented 7 years ago

Done.