]> code.delx.au - youtube-cgi/commitdiff
ignore stereo3d videos
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 9 Mar 2014 12:16:14 +0000 (23:16 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 9 Mar 2014 12:16:14 +0000 (23:16 +1100)
youtube.cgi

index 67153e260d9ab1b44628414c6a0fd0f83767ca43..fef9beb175adf9799c3093d2911aae6feca1ed35 100755 (executable)
@@ -196,6 +196,8 @@ def get_best_video(player_config):
                mimetype = url_data["type"][0].split(";")[0]
                quality = url_data["quality"][0]
 
+               if url_data.has_key("stereo3d"):
+                       continue
                if quality not in QUALITIES:
                        continue
                if mimetype not in MIMETYPES: