youtube: Started code for playback from youtube. Not functionnal, yet

This commit is contained in:
2018-02-16 17:58:57 -06:00
parent d4dadfcdc7
commit 5ff5a4a6d2
5 changed files with 80 additions and 18 deletions

View File

@@ -28,5 +28,9 @@ def convert_soundcloud (url):
else:
raise TypeError('%r is not streamable' % url)
@matches_url ('https://www.youtube.com/watch')
def convert_long_youtube(url):
return "youtube-url"
def convert_generic_audio(url):
return url