A simple audio recorder for Linux that automatically captures and saves songs playing from MPRIS-enabled media players (like Spotify, Celluloid, etc.). It comes with a Cinnamon desktop applet for easy control.
- Automatic Recording: Detects when a new song starts and begins recording automatically.
- Metadata & Album Art: Saves the recorded audio in an
.mp4container with the correct title, artist, album, and embedded album art. - Playback Detection: Intelligently saves the file only if the song has played to near completion, avoiding partial recordings from skips.
- Cinnamon Applet: Provides a simple user interface in your desktop panel to start/stop the service and view the currently recording track.
- A Linux distribution with the Cinnamon Desktop Environment.
build-essential,git, andpkg-config.- FFmpeg development libraries.
- D-Bus development libraries.
Open a terminal and run:
git clone [https://github.com/EvanParden/stream-catcher.git](https://github.com/EvanParden/stream-catcher.git)
cd stream-catcherOn Debian-based systems (like Ubuntu, Linux Mint):
sudo apt-get update
sudo apt-get install build-essential pkg-config libavformat-dev libavcodec-dev libavdevice-dev libswresample-dev libavutil-dev libdbus-1-devCompile the C++ backend program:
g++ src/main.cpp -o recorder $(pkg-config --cflags --libs libavformat libavcodec libavdevice libswresample libavutil dbus-1) -lpthreadRun the included installation script (or perform the steps manually):
chmod +x install.sh
./install.sh(You may need to create a simple install.sh script that moves the compiled recorder to ~/.local/bin/ and copies the applet directory to ~/.local/share/cinnamon/applets/)
To make the applet available, restart the Cinnamon shell by pressing Alt+F2, typing r, and pressing Enter.
- Right-click on your Cinnamon panel, select "Applets," find "Stream Catcher" in the list, and click the
+button to add it. - Click the new record icon on your panel to open the menu.
- Use the toggle switch to enable the recording service.
- Play music in a supported player. The applet will display the current song, and it will be saved to
~/Music/Recordingswhen finished.
This project is licensed under the MIT License. See the LICENSE file for details.