Skip to main content

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.2.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

chapter_marker-1.0.2-py3-none-any.whl (91.3 kB view details)

Uploaded Python 3

File details

Details for the file chapter-marker-1.0.2.tar.gz.

File metadata

  • Download URL: chapter-marker-1.0.2.tar.gz
  • Upload date:
  • Size: 86.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.7 Linux/5.19.9-200.fc36.x86_64

File hashes

Hashes for chapter-marker-1.0.2.tar.gz
Algorithm Hash digest
SHA256 39e1bb59f88a50b811ad217044117c30e3b87bcbdacc9a6688c8577b6c7f1744
MD5 b06f23026519e8f4129f8ac04e077af9
BLAKE2b-256 d25008a2c9ca2025b4f58f66427e074afbad5371f2aba12914cba4b80d0db23f

See more details on using hashes here.

File details

Details for the file chapter_marker-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: chapter_marker-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 91.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.7 Linux/5.19.9-200.fc36.x86_64

File hashes

Hashes for chapter_marker-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ecad77b9e38119afc6c06057aa62e353877322151e385cb3d8fda495a8296d81
MD5 7a5db9d5eee38cded38dcc404a510e1e
BLAKE2b-256 258a74e945b2a5648d89b6bd4a7f443a0f80247f94c1a82006e7a5f913a97dbb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page