Commit a91230e7 authored by Janez Troha's avatar Janez Troha
Browse files

Update backend.py

parent c566175f
......@@ -53,7 +53,7 @@ def resolve_url(url, stream=False):
safe_url(video.title), video.videoid
)
else:
uri = video.getbestaudio()
uri = video.getbestaudio(preftype='ogg')
if not uri: # get video url
uri = video.getbest()
logger.debug('%s - %s %s %s' % (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment