# Chapter-marker
Write a chaptermark file for your podcast. The focus is the [binaergewitter podcast](https://blog.binaergewitter.de)
Chapter-marker is to be used with hotkeys.
## Installation
```bash
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
```bash
nix-shell
# or build and test the whole thing
nix-build
result/bin/chapter-marker
```
### Legacy OS
Requires python headers:
```bash
sudo dnf install python3-devel
sudo apt install python3-dev
```
```bash
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/
Raw data
{
"_id": null,
"home_page": "https://github.com/Binaergewitter/chapter-marker",
"name": "chapter-marker",
"maintainer": "Felix Richter",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "github@krebsco.de",
"keywords": "chapter marks,podcast,meta data",
"author": "Felix Richter",
"author_email": "github@krebsco.de",
"download_url": "https://files.pythonhosted.org/packages/3f/0d/f87a9e153762b1225912a96a74b91614c09cec5fa0cec3711cda771e5306/chapter_marker-1.0.3.tar.gz",
"platform": null,
"description": "# Chapter-marker\n\nWrite a chaptermark file for your podcast. The focus is the [binaergewitter podcast](https://blog.binaergewitter.de)\nChapter-marker is to be used with hotkeys.\n\n\n## Installation\n\n```bash\npip install chapter-marker\n```\n\n## Workflow\n\n### For Bin\u00e4rgewitter\n```\nexport PAD_APIKEY=<add-apikey-for-pad-here> \n\nCURRENT_SHOW=$(bgt-current-show)\nshowtitles=\"titles${CURRENT_SHOW}.lst\"\nbgt-get-titles \"${CURRENT_SHOW}\" > \"$showtitles\"\n\nchapter-marker \"$showtitles\" \"${CURRENT_SHOW}\"\n# ctrl-j -> start the show at \"H\" of Hallihallo, also start next chapter\n# check by clicking left on the tray icon which is the next chapter\n\n# finish up the show by right clicking on the tray and choose [save] \n# the chapter mark file is now stored at ~/.local/share/chapter-marker/${CURRENT_SHOW}_chapters.txt\n```\n\n## Development\n\n### NixOS\n\n```bash\nnix-shell\n# or build and test the whole thing\nnix-build\nresult/bin/chapter-marker\n```\n\n\n### Legacy OS\n\nRequires python headers:\n\n```bash\nsudo dnf install python3-devel\nsudo apt install python3-dev\n```\n\n```bash\npoetry install\npoetry run chapter-marker \"$showtitles\" \"${CURRENT_SHOW}\"\n```\n\n# License\nSource Code under MIT (see `License`)\n\nThe Icons are Licensed under Apache 2.0, from https://github.com/Templarian/MaterialDesign/\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "chapter-marking utility",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/Binaergewitter/chapter-marker",
"Repository": "https://github.com/Binaergewitter/chapter-marker"
},
"split_keywords": [
"chapter marks",
"podcast",
"meta data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7ed09ee5df43d429f7054a0bf89a124e1fdbd814ad3a97371cf1e1bd76a4cf76",
"md5": "c75e8c92cc7956526e31228a14b43556",
"sha256": "f4294c9b862e7aceaa494cd68884b03bbf2ce0366413e0b38076c3a2fcf8e929"
},
"downloads": -1,
"filename": "chapter_marker-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c75e8c92cc7956526e31228a14b43556",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 91344,
"upload_time": "2023-10-11T17:52:07",
"upload_time_iso_8601": "2023-10-11T17:52:07.532198Z",
"url": "https://files.pythonhosted.org/packages/7e/d0/9ee5df43d429f7054a0bf89a124e1fdbd814ad3a97371cf1e1bd76a4cf76/chapter_marker-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3f0df87a9e153762b1225912a96a74b91614c09cec5fa0cec3711cda771e5306",
"md5": "e9d4a5d3c2d77f88b6fcf86c0e61c6da",
"sha256": "2cd5acd1c8783eb12d17fb94c7fa87bb472c9c2c192dc2b02f2d2960acb03b93"
},
"downloads": -1,
"filename": "chapter_marker-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "e9d4a5d3c2d77f88b6fcf86c0e61c6da",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 85608,
"upload_time": "2023-10-11T17:52:09",
"upload_time_iso_8601": "2023-10-11T17:52:09.008667Z",
"url": "https://files.pythonhosted.org/packages/3f/0d/f87a9e153762b1225912a96a74b91614c09cec5fa0cec3711cda771e5306/chapter_marker-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-11 17:52:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Binaergewitter",
"github_project": "chapter-marker",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "chapter-marker"
}