• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jeeftor / audiobook-organizer / 29019168448
35%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2026 12:50PM UTC
Jobs 1
Files 72
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2026 12:45PM UTC coverage: 34.15% (+0.9%) from 33.278%
29019168448

push

github

web-flow
feat: composite optional layout template segments (#184)

* feat: add composite optional layout template segments

Extend the custom template engine with composite tokens such as
{Vol series_number:02 - } and {[narrator]}, numeric :02 padding,
and the book_title alias. Empty slash-separated layout segments
continue to be omitted when a field renders blank.

Adds TUI custom layout editing, docs/changelog updates, and tests
written before implementation.

Resolves #183

* refactor: remove book_title template alias

Use {title} only in templates, docs, defaults, and tests.

* fix: use per-file track prefixes when organizing multi-chapter books

Multi-chapter directories were applying the first file's track number to
every moved audio file. Resolve embedded per-file track metadata instead,
skip redundant prefixes for single-track audiobooks, and leave non-audio
files unchanged.

* fix: render only first narrator for {narrator} template field

{narrator} now resolves to the first narrator while {narrators} keeps the
full comma-separated list. Document the distinction in layout template
references and add regression coverage.

* fix: normalize dash field names and honor composite fallbacks

Normalize dashes to underscores when scanning composite template content
so field references like series-number match known fields. Apply pipe
fallback values when any inner composite field is empty, matching simple
token behavior.

---------

Co-authored-by: David Freitag <david@freitag.site>

241 of 411 new or added lines in 9 files covered. (58.64%)

17 existing lines in 3 files now uncovered.

5076 of 14864 relevant lines covered (34.15%)

0.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
91
0.0
0.0% internal/tui/models/settings_redesign.go
38
81.55
-7.34% internal/organizer/template.go
25
31.25
-13.91% internal/tui/models/path_utils.go
6
32.55
-0.78% internal/tui/models/process.go
5
0.0
0.0% internal/tui/models/command_output.go
4
45.75
11.55% internal/organizer/path.go
1
39.23
2.68% internal/organizer/organize.go

Coverage Regressions

Lines Coverage ∆ File
14
81.55
-7.34% internal/organizer/template.go
2
0.0
0.0% internal/tui/models/settings_redesign.go
1
31.25
-13.91% internal/tui/models/path_utils.go
Jobs
ID Job ID Ran Files Coverage
1 29019168448.1 09 Jul 2026 12:50PM UTC 72
34.15
GitHub Action Run
Source Files on build 29019168448
  • Tree
  • List 72
  • Changed 11
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29019168448
  • f1e16e93 on github
  • Prev Build on master (#26332876071)
  • Next Build on master (#29344672564)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc