mps_youtube.commands.download module

mps_youtube.commands.download.da_url(url)

Open and prompt for download of youtube best audio from url.

mps_youtube.commands.download.dl_url(url)

Open and prompt for download of youtube video url.

mps_youtube.commands.download.down_many(dltype, choice, subdir=None)

Download multiple items.

mps_youtube.commands.download.down_plist(dltype, parturl)

Download YouTube playlist.

mps_youtube.commands.download.down_user_pls(dltype, user)

Download all user playlists.

mps_youtube.commands.download.download(dltype, num)

Download a track or playlist by menu item number.

mps_youtube.commands.download.external_download(song, filename, url)

Perform download using external application.

mps_youtube.commands.download.extract_metadata(name)

Try to determine metadata from video title.

mps_youtube.commands.download.gen_dl_text(ddata, song, p)

Generate text for dl screen.

mps_youtube.commands.download.get_dl_data(song, mediatype='any')

Get filesize and metadata for all streams, return dict.

mps_youtube.commands.download.menu_prompt(model, prompt=' > ', rows=None, header=None, theading=None, footer=None, force=0)

Generate a list of choice, returns item from model.

mps_youtube.commands.download.prompt_dl(song)

Prompt user do choose a stream to dl. Return (url, extension).

mps_youtube.commands.download.remux_audio(filename, title)

Remux audio file. Insert limited metadata tags.

mps_youtube.commands.download.transcode(filename, enc_data)

Re encode a download.