Negro Mate Songs
Negro Mate's song database library. Not very versatile without two another packages:
- negromate.web: Static html compiler for the web of Negro Mage
- negromate.karaoke: Simple karaoke video browser
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: iftrue, the ass subtitles file has karaoke level subtitles (syllable level timing) and automatik karaoke subtitles can be generated.date: approx. creation date of this versionauthor: 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| negromate.songs-1.5-py3-none-any.whl | Python 3 | none | any | Details for negromate.songs-1.5-py3-none-any.whl |
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
|
Security for negromate.songs 1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.