Skip to main content

Negro Mate Songs

Negro Mate's song database library. Not very versatile without two another packages:

Provides the base negromate command to interact with a song repository.

negromate config: Write the configuration file
negromate songs: Update song database
negromate thumbnail: Generate cover and thumbnail for a song

Needs the following packages installed:

  • imagemagick
  • ffmpeg

Karaoke subtitle generation is currently broken, it worked with these packages on older systems:

  • xdotool
  • aegisub
  • xserver-xephyr

Song library structure

Each song is a folder containing at least a video file, a subtitles file and a metadata file:

song_name/
├── song_name.ass
├── song_name.mp4
└── metadata.json

Video and subtitles file has to be named like the folder. Supported subtitles:

  • ass (prefered)
  • src
  • vtt

The metadata json file

{
    "name": "Song name",
    "original": "Original song, Original author",
    "karaoke": true,
    "date": "XXXX-XX-XX"
    "author": "Author of the karaoke"
}
  • name: used as the title of the song.
  • original: for giving credit to original authors.
  • karaoke: if true, the ass subtitles file has karaoke level subtitles (syllable level timing) and automatik karaoke subtitles can be generated.
  • date: approx. creation date of this version
  • author: not required, used for givin credits to the author when it's different from the web authors.

Changelog

1.5

  • Update readme and fix dependencies
  • Fix typo

1.4

  • Update dependencies and code cleaning

1.3

  • New property for songs: has_subtitles
  • Upgrade dependencies
  • Add songs without ass file as pending
  • Song folders must have a metadata.json file

1.2

  • Get karaoke ass generator from negromate.web
  • Add date to songs
  • Convert to namespace package
  • Add verbose flag
  • Use configuration file for commands defaults

1.1

  • Start with generic negromate command with entry points for other modules
  • Move image generating code to utils
  • Migrate setup to pep517

Metadata

Release files for negromate.songs 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for negromate.songs 1.5
File Interpreter ABI Platform
negromate.songs-1.5-py3-none-any.whl Python 3 none any Details

Release files / negromate.songs-1.5-py3-none-any.whl

Download URL negromate.songs-1.5-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7470fd24225a5d1853d129fc28682018882ca7b95fdb2721e29b3373d0af09df
BLAKE2b-256 checksum
How to use checksums
0ad5c8dcc70a73313389e20ebba2817e86ee0f4a308b78d33869164ec4e075dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.5 This release

1 release file

1.4

2 release files

1.3

2 release files

1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page