Skip to main content

Modular audio library management system for playing, managing, and editing music files (requires FFmpeg, GStreamer, rsgain)

Project description

Walrio

Walrio is a modular library/set of files that let you play, manage, and edit music and music-related files. Every file should be usable via the terminal except documentation.

Contributing

For those interested in contributing code/documentation, please check the contribution guidelines. On top of these guidelines, this specific project requires a single comment at the top of each file explaining what it does so that help commands properlyload dynmically.

All current contributors are listed both in the sidebar and (optionally) in the AUTHORS file.

Licensing (USE IN OTHER PROJECTS)

Check out the LICENSE file to see what LICENSE this project uses and how you're allowed to use it. General rule of thumb is attribution (crediting) is required at a minimum.

Star History

Star History Chart

File Structure

Modules

The main folder with all the seperate walrio music modules you can use and walrio.py, the global file that lets you easily run any file without having the CD into each folder. ⚠️ Important: Most processing is done where the command is called in a subfolder called "output_dir". If this is a folder containing any sensitive data please considr renaming it/moving it while doing any file processing.

Addons

Files that are non-essential for playing music but are still very nice to have/relevant for maintaining a music library (converter files, replay gain, move files, etc.). Can require modules from the addons folder itself or the core modules.

Core

The core set of modules that are absolutely essential to playing your music files from your media library. Often required for addons/niche modules to function.

Database

Modules that require a SQLite database (walrio_library.db/database.py from the core section) to function. These provide advanced library management features like playback statistics, smart playlists, and database-powered queues. The database must be created first using the database module.

Niche

Very specific workflow related files or extremely niche functionality. Generally files combining multiple different core and addon modules together into a singular unified workflow or something to connect your music to external programs/hardware.

Installation

Quick Install (pip)

pip install walrio

⚠️ Important: Walrio requires system dependencies that pip cannot install:

  • FFmpeg
  • GStreamer
  • rsgain

After installing via pip, check for missing dependencies:

walrio dependency_checker --verbose

Then install any missing system packages (see System Requirements below).

If you have all the needed dependencies, you can get started using walrio with the help command (walrio --help).

System Requirements

Walrio requires the following non-Python tools to be installed on your system:

  • FFmpeg - Audio/video conversion and processing (also used for album art resizing)
  • GStreamer - Audio playback engine
  • rsgain - ReplayGain 2.0 loudness scanner

Installation by platform:

Fedora:

sudo dnf install gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-tools ffmpeg rsgain

Ubuntu/Debian:

sudo apt install gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly ffmpeg
# rsgain: See https://github.com/complexlogic/rsgain

Arch Linux:

sudo pacman -S gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly ffmpeg
yay -S rsgain  # or use another AUR helper

macOS:

brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly ffmpeg rsgain

Development Setup

  1. Clone the repository

    git clone https://github.com/TAPSOSS/Walrio.git
    cd Walrio
    
  2. Install system dependencies (see System Requirements above)

  3. Install in editable mode

    # For development (includes testing/formatting tools)
    pip install -e .[dev]
    
    # Or for basic usage only
    pip install -e .
    
  4. Verify dependencies

    walrio dependency_checker --verbose
    
  5. Run Walrio

    walrio --help
    walrio player song.mp3
    

Third-Party Credits

Walrio uses/requires/bundles the following projects (and python):

Non-Python

Python/Pip-Installable

Check the requirements.txt file to see what to install with pip/python in order to use this library.

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

walrio-1.3.6.tar.gz (238.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

walrio-1.3.6-py3-none-any.whl (153.2 kB view details)

Uploaded Python 3

File details

Details for the file walrio-1.3.6.tar.gz.

File metadata

  • Download URL: walrio-1.3.6.tar.gz
  • Upload date:
  • Size: 238.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for walrio-1.3.6.tar.gz
Algorithm Hash digest
SHA256 d0adc8bf677589bae392318f014a79332352ae785cefaf38a84acf2c97e14006
MD5 544b677363c0194e22ff1811c31af495
BLAKE2b-256 528775caa5ed69713ba714702331fd03f742ea8a9b7842776322f0d9b96ba53e

See more details on using hashes here.

File details

Details for the file walrio-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: walrio-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 153.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for walrio-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6fee446d176268f944017c4f795874603b760e779cd5f2bf558c50fe69c7d369
MD5 86f500970f018cba4c55908617c61fa8
BLAKE2b-256 48f95ccb288d4700588b3e8242ef8b5d58925b4e79b0276f9d2212c2f277baf7

See more details on using hashes here.

Supported by

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