Skip to content

Shell script that extracts YouTube video audio and condenses it for passive language listening

License

Notifications You must be signed in to change notification settings

sirfredrick/pacify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Pacify

Shell script that extracts YouTube video audio and condenses it for passive language listening

Pacify downloads YouTube audio via youtube-dl and condenses it for a better passive listening experience.

POSIX compliant* *Require youtube-dl(python), ffmpeg, and dos2unix to be installed and in the PATH. Make sure that a symlink of python3 to python is made

ln -s /usr/local/bin/python3 /usr/local/bin/python

and that youtube-dl is the latest version (monthly release).

youtube-dl --version

This script has been tested on Ubuntu 20.04, Alpine 3.13.5, FreeBSD 12.2, and OpenBSD 6.8.

Running

chmod +x ./pacify
./pacify SuperTuxCart uWO5DISzMUA es

Note: This video might not work on OpenBSD, try the video you want instead

The command format is

pacify [file/directory name] [YouTube video ID] [subtitle language ID]

Developing

Make sure you are using a POSIX OS and that git is installed and on your path then run

git clone https://github.com/sirfredrick/pacify.git

then follow the above steps for running it.

Contributing

If you'd like to contribute, please fork the repository and use a feature
branch. Pull requests are warmly welcome.

Links

License

Copyright © 2021 Sir Fredrick

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

About

Shell script that extracts YouTube video audio and condenses it for passive language listening

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages