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.

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.0.tar.gz (231.9 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.0-py3-none-any.whl (147.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for walrio-1.3.0.tar.gz
Algorithm Hash digest
SHA256 4912ed1e048af2361d9efa86735e6b3b93b5f5f7e4307187e7747399d5977e0c
MD5 bfcd5fdcc7bd0a2528d98b79d170ecaf
BLAKE2b-256 c0aca49403c5cc802fea62cf2794366afdc418c9a72592956e3cffb1207e6bc4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for walrio-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da5f5254e13835277d5afe91291732360d39b5a5f0102effd12616b4e9957bfd
MD5 afbce6d5cb927fc2b4f1f3e4d3a3ae67
BLAKE2b-256 0896fedd03ba4257140f53e7ff2cb3c90e1720cd510bb7ca5adc95bb7c5b783f

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