Skip to main content

Stream music from YouTube.

Project description

ytplay is a simple program made to solve a specific problem.

ytplay reads in lines of YouTube URLs from stdin and plays their audio one by one in order, and echos them to stdout.

Let’s say you’re browsing YouTube and finding songs to listen to. Start running ytplay in a terminal and redirect its output to a file. Whenever you come across a song you want to listen to, simply paste its URL into the terminal and it will be queued for playback. Its URL will also be echoed into whichever file you set up, for you to do whatever with later.

ytplay requires youtube-dl and mpv.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mir.ytplay-0.1.2.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

mir.ytplay-0.1.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page