Compare commits
No commits in common. "0d451c7be4d9e5e34e422b212c52a22e4cf6aa20" and "378e73177a2de98188d5272bf72b3a16c74c667a" have entirely different histories.
0d451c7be4
...
378e73177a
|
@ -1,10 +1,5 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 1.5
|
|
||||||
|
|
||||||
* Update readme and fix dependencies
|
|
||||||
* Fix typo
|
|
||||||
|
|
||||||
## 1.4
|
## 1.4
|
||||||
|
|
||||||
* Update dependencies and code cleaning
|
* Update dependencies and code cleaning
|
||||||
|
|
27
README.md
27
README.md
|
@ -1,24 +1,11 @@
|
||||||
Negro Mate Songs
|
Negro Mate Songs
|
||||||
================
|
================
|
||||||
Negro Mate's song database library. Not much versatile without two another packages:
|
NegroMate's song database library.
|
||||||
|
|
||||||
* [negromate.web](https://pypi.org/project/negromate.web/): Static html compiler for the web of Negro Mage
|
Install from source
|
||||||
* [negromate.karaoke](https://pypi.org/project/negromate.karaoke/): Simple karaoke video browser
|
-------------------
|
||||||
|
Instalation uses the pep517 packaging format, whichs requires pip version
|
||||||
|
19 or newer.
|
||||||
|
|
||||||
Provides the base `negromate` command to interact with a song repository.
|
pip install "pip>=19"
|
||||||
|
pip install .
|
||||||
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
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Filesystem based database of songs.
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
VERSION = "1.5"
|
VERSION = "1.4"
|
||||||
|
|
||||||
|
|
||||||
logger = logging.getLogger("negromate.songs")
|
logger = logging.getLogger("negromate.songs")
|
||||||
|
|
|
@ -92,7 +92,7 @@ class Song:
|
||||||
srtfile.write(asstosrt.convert(assfile))
|
srtfile.write(asstosrt.convert(assfile))
|
||||||
self.files.append(self.srt)
|
self.files.append(self.srt)
|
||||||
|
|
||||||
vtt = self.path / f"{self.path.name}.vtt"
|
vtt = self.path / "{self.path.name}.vtt"
|
||||||
if regenerate or needs_change(vtt, (self.srt,)):
|
if regenerate or needs_change(vtt, (self.srt,)):
|
||||||
logger.info("generating %s", str(vtt))
|
logger.info("generating %s", str(vtt))
|
||||||
self.vtt = vtt
|
self.vtt = vtt
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
ass==0.5.2
|
webvtt-py
|
||||||
webvtt-py==0.4.6
|
|
||||||
asstosrt==0.1.6
|
asstosrt==0.1.6
|
||||||
srt==3.5.3
|
srt==3.5.3
|
||||||
|
|
|
@ -6,10 +6,10 @@ version = attr: negromate.songs.VERSION
|
||||||
license-file = LICENSE.txt
|
license-file = LICENSE.txt
|
||||||
author = Ales (Shagi) Zabala Alava
|
author = Ales (Shagi) Zabala Alava
|
||||||
author_email = shagi@gisa-elkartea.org
|
author_email = shagi@gisa-elkartea.org
|
||||||
url = https://negromate.rocks
|
url = http://negromate.rocks
|
||||||
description = NegroMate karaoke song database library
|
description = NegroMate karaoke song database library
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
long_description = file: README.md, CHANGELOG.md
|
long_description = files: README.md, CHANGELOG.md
|
||||||
license = GPLv3
|
license = GPLv3
|
||||||
classifiers =
|
classifiers =
|
||||||
Development Status :: 5 - Production/Stable
|
Development Status :: 5 - Production/Stable
|
||||||
|
@ -26,7 +26,6 @@ install_requires =
|
||||||
webvtt-py
|
webvtt-py
|
||||||
asstosrt ==0.1.6
|
asstosrt ==0.1.6
|
||||||
srt ==3.5.3
|
srt ==3.5.3
|
||||||
ass ==0.5.2
|
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
|
Loading…
Reference in New Issue