Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Honeypot
mopidy-youtube
Commits
a91230e7
Commit
a91230e7
authored
Aug 19, 2015
by
Janez Troha
Browse files
Update backend.py
parent
c566175f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mopidy_youtube/backend.py
View file @
a91230e7
...
...
@@ -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'
%
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment