mosswg / dropout-dl

A tool for downloading dropout.tv episodes
GNU General Public License v3.0
28 stars 7 forks source link

Detect highest quality automatically #16

Closed r0ckarong closed 9 months ago

r0ckarong commented 10 months ago

Is your feature request related to a problem? Please describe. When no video quality is specified the code assumes 1080p.

https://github.com/mosswg/dropout-dl/blob/447e6cbbe207077d8fb67ceb362e0c4f9bc410f4/src/main.cpp#L160

For some older series (for example: Badman) there is no 1080p quality available. The container will exit after discovering the episodes but without downloading.

Describe the solution you'd like When no quality is specified by the user, check at least the first episode (ideally for each episode) and select the highest available quality for download.

Describe alternatives you've considered You can inspect the container log and then manually adjust your runtime command to use the highest quality but this isn't very automation friendly.

mosswg commented 9 months ago

Thanks for your feature request. This is implemented with 57f0fd4.