spaam/svtplay-dl

Some videos on svtplay have support for UHD ( 4k )

Closed this issue · 2 comments

Im not srue how we should deal with this?
or should we add <, >, >= and <= support for it?

like --resolution <1080 it will choose a video that is under 1080p.
--resolution >=1080 it will choose a video resoluution that is 1080p or bigger.
--resplution <720,>1080 it will chose a video that is smaller than 720 or bigger than 1080.

by default it will choose all of the resolutions like before 🤔

imagine svtplay-dl-dev/lib ‹master*› » python3 -m svtplay_dl https://www.svtplay.se/video/ewAbYBZ/historien-om-sverige/1-stenaldern-ca-14-500-3700-ar-sedan\?id\=ewAbYBZ --list-quality                                                                 130 ↵
INFO: Quality:   METHOD:  Codec:   Resolution:  Language:            Role:
INFO: 19603      DASH     hevc-51  3840x2160    sv                   main
INFO: 19603      DASH     hevc-51  3840x2160    sv-x-tydligaretal    alternate
INFO: 19603      DASH     hevc-51  3840x2160    sv                   main
INFO: 19603      DASH     hevc-51  3840x2160    sv-x-tydligaretal    alternate
INFO: 19349      DASH     hevc     3840x2160    sv                   main
INFO: 19349      DASH     hevc     3840x2160    sv-x-tydligaretal    alternate

<. >. <=. and <= sounds like a perfect way forward to me ... +1 from me on that one ...

this is part of 4.26 :)