ingwinlu / python-twitch

python-twitch is an python module for simple interaction with twitch.
http://ingwinlu.github.io/python-twitch/
GNU General Public License v3.0
34 stars 17 forks source link

best_match quality #4

Closed ingwinlu closed 9 years ago

ingwinlu commented 9 years ago

Redo how qualities get parsed and retrieved so best_match can be implemented better. see #3.

i.e. save qualities with keys 0-4 instead of 'source' and so on. check if wanted quality is in dict.keys and if not, determine the differnce between the wanted quality and all available qualies and get the closest match