[YoutubeDL] format spec: fix handling of '/' with ','
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 4 Jul 2015 19:30:26 +0000 (21:30 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 4 Jul 2015 19:30:26 +0000 (21:30 +0200)
commitf5f4a27a964b41646303921104f4d6d6fd2098e4
tree77779ea1ae99fc950f0e9ac717eba7633bbd1f1d
parentcf2ac6df6896dac4d23918867bb86fac1e1088d9
[YoutubeDL] format spec: fix handling of '/' with ','

When using 'bestvideo/best,bestaudio', 'bestvideo/best' must be set as the current_selector (instead of appending it to the selectors), otherwise when it gets the ',' it would append 'None' to the selectors.
test/test_YoutubeDL.py
youtube_dl/YoutubeDL.py