chapter-marking utility
Project description
Chapter-marker
Write a chaptermark file for your podcast. The focus is the binaergewitter podcast Chapter-marker is to be used with hotkeys.
Installation
pip install chapter-marker
Workflow
For Binärgewitter
export PAD_APIKEY=<add-apikey-for-pad-here>
CURRENT_SHOW=$(bgt-current-show)
showtitles="titles${CURRENT_SHOW}.lst"
bgt-get-titles "${CURRENT_SHOW}" > "$showtitles"
chapter-marker "$showtitles" "${CURRENT_SHOW}"
# ctrl-j -> start the show at "H" of Hallihallo, also start next chapter
# check by clicking left on the tray icon which is the next chapter
# finish up the show by right clicking on the tray and choose [save]
# the chapter mark file is now stored at ~/.local/share/chapter-marker/${CURRENT_SHOW}_chapters.txt
Development
NixOS
nix-shell
# or build and test the whole thing
nix-build
result/bin/chapter-marker
Legacy OS
Requires python headers:
sudo dnf install python3-devel
sudo apt install python3-dev
poetry install
poetry run chapter-marker "$showtitles" "${CURRENT_SHOW}"
License
Source Code under MIT (see License
)
The Icons are Licensed under Apache 2.0, from https://github.com/Templarian/MaterialDesign/
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
chapter_marker-1.0.3.tar.gz
(85.6 kB
view details)
Built Distribution
File details
Details for the file chapter_marker-1.0.3.tar.gz
.
File metadata
- Download URL: chapter_marker-1.0.3.tar.gz
- Upload date:
- Size: 85.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cd5acd1c8783eb12d17fb94c7fa87bb472c9c2c192dc2b02f2d2960acb03b93 |
|
MD5 | e9d4a5d3c2d77f88b6fcf86c0e61c6da |
|
BLAKE2b-256 | 3f0df87a9e153762b1225912a96a74b91614c09cec5fa0cec3711cda771e5306 |
File details
Details for the file chapter_marker-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: chapter_marker-1.0.3-py3-none-any.whl
- Upload date:
- Size: 91.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4294c9b862e7aceaa494cd68884b03bbf2ce0366413e0b38076c3a2fcf8e929 |
|
MD5 | c75e8c92cc7956526e31228a14b43556 |
|
BLAKE2b-256 | 7ed09ee5df43d429f7054a0bf89a124e1fdbd814ad3a97371cf1e1bd76a4cf76 |