Loop your favorite section(s) of YouTube videos and save them into playlists with this simple and modern Java Swing application, built using the MVC architecture. This program was created for educational purposes as a final project in an Introduction to Java college course (COP 2800).
I wanted to dive head-first and solve an issue I faced myself: liking specific section(s) of a song but not being able to save them to loop separately.
The following programs or libraries are required for LoopTube to function:
- JDK 17 or higher: To run Java.
- yt-dlp: To download audio.
- ffmpeg (and ffprobe, which should come bundled): Lets yt-dlp extract videos' audio.
After ensuring you have met the requirements above, the jar file for this application may be installed from the releases page, which you should be able to double-click to run.
If you would like to build LoopTube from source, download the source code,
cd
into it with your desired terminal application and run gradlew build --no-daemon
(on macOS you may need to run chmod +x gradlew
first to make
gradlew executable). The --no-deamon
argument can be removed if you would
like to keep the gradle daemon in memory, which makes future gradle builds
quicker.
Once finished, the resulting files will be in the build
folder. The .jar
will be in build/libs
and gradle's default run scripts will be in
build/bin
.
The code in the LoopTube repository is licensed under the GPLv3 license: a free and permissive license. For more information please read the LICENSE file in the repository root.