Skip to content

Commit e467c35

Browse files
committed
improved audiobook parsing
1 parent 0196325 commit e467c35

6 files changed

Lines changed: 111 additions & 41 deletions

File tree

CHANGELOG.MD

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
**Warning:** Features marked as *alpha* may change or be removed in a future release without notice. Use with caution.
66

7+
## [0.8.0] - 2026-06-06
8+
9+
### Added
10+
11+
- Added the `--audio-embedded-chapters`, `--audio-parsing-concurrency`, `--audio-parsing-cache-block-size` flags for more control over audiobook parsing with regards to speed/latency/memory tradeoffs
12+
13+
### Changed
14+
15+
- The go-toolkit has been updated to v0.14.0. This adds improved audiobook parsing. For a more detailed list of changed, refer to the [go-toolkit's changelog](https://github.com/readium/go-toolkit/blob/develop/CHANGELOG.md#0140---2026-06-06). While best effort is made to minimize the latency when reading audiobooks from remote sources, there can still be an excess of reads that are necessary to fully parse metadata. The new settings provide a way to make tradeoffs depending on the situation
16+
717
## [0.7.1] - 2026-05-18
818

919
### Fixed

go.mod

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/readium/cli
33
go 1.26
44

55
require (
6-
cloud.google.com/go/storage v1.62.1
6+
cloud.google.com/go/storage v1.62.2
77
github.com/CAFxX/httpcompression v0.0.9
88
github.com/MicahParks/jwkset v0.11.0
99
github.com/MicahParks/keyfunc/v3 v3.8.0
@@ -20,7 +20,7 @@ require (
2020
github.com/klauspost/compress v1.18.6
2121
github.com/maypok86/otter/v2 v2.3.0
2222
github.com/pkg/errors v0.9.1
23-
github.com/readium/go-toolkit v0.13.4
23+
github.com/readium/go-toolkit v0.14.0
2424
github.com/spf13/cobra v1.10.2
2525
github.com/vmihailenco/go-tinylfu v0.2.2
2626
github.com/zeebo/xxh3 v1.1.0
@@ -40,11 +40,13 @@ require (
4040
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.31.0 // indirect
4141
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.55.0 // indirect
4242
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.55.0 // indirect
43+
github.com/abema/go-mp4 v1.6.0 // indirect
4344
github.com/agext/regexp v1.3.0 // indirect
4445
github.com/airmrcr/go-optional v0.2.0 // indirect
4546
github.com/andybalholm/brotli v1.1.1 // indirect
4647
github.com/andybalholm/cascadia v1.3.3 // indirect
47-
github.com/antchfx/xpath v1.3.4 // indirect
48+
github.com/antchfx/xmlquery v1.5.1 // indirect
49+
github.com/antchfx/xpath v1.3.6 // indirect
4850
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.10 // indirect
4951
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.23 // indirect
5052
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.23 // indirect
@@ -63,10 +65,10 @@ require (
6365
github.com/azr/phash v0.2.0 // indirect
6466
github.com/bbrks/go-blurhash v1.2.0 // indirect
6567
github.com/cespare/xxhash/v2 v2.3.0 // indirect
66-
github.com/chocolatkey/gzran v0.0.0-20251204101541-d8891e235711 // indirect
6768
github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5 // indirect
6869
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6970
github.com/deckarep/golang-set v1.8.0 // indirect
71+
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8 // indirect
7072
github.com/disintegration/imaging v1.6.2 // indirect
7173
github.com/envoyproxy/go-control-plane/envoy v1.36.0 // indirect
7274
github.com/envoyproxy/protoc-gen-validate v1.3.0 // indirect
@@ -80,17 +82,17 @@ require (
8082
github.com/googleapis/enterprise-certificate-proxy v0.3.14 // indirect
8183
github.com/googleapis/gax-go/v2 v2.21.0 // indirect
8284
github.com/hhrutter/lzw v1.0.0 // indirect
83-
github.com/hhrutter/pkcs7 v0.2.0 // indirect
84-
github.com/hhrutter/tiff v1.0.2 // indirect
85+
github.com/hhrutter/pkcs7 v0.2.2 // indirect
86+
github.com/hhrutter/tiff v1.0.3 // indirect
8587
github.com/inconshreveable/mousetrap v1.1.0 // indirect
8688
github.com/kettek/apng v0.0.0-20220823221153-ff692776a607 // indirect
8789
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
88-
github.com/pdfcpu/pdfcpu v0.11.1 // indirect
90+
github.com/pdfcpu/pdfcpu v0.12.1 // indirect
8991
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
9092
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
91-
github.com/readium/xmlquery v0.0.0-20230106230237-8f493145aef4 // indirect
93+
github.com/readium/zran v0.0.0-20260525212206-dcf56adb2c0e // indirect
9294
github.com/relvacode/iso8601 v1.7.0 // indirect
93-
github.com/spf13/pflag v1.0.9 // indirect
95+
github.com/spf13/pflag v1.0.10 // indirect
9496
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
9597
github.com/stretchr/testify v1.11.1 // indirect
9698
github.com/trimmer-io/go-xmp v1.0.0 // indirect
@@ -106,10 +108,10 @@ require (
106108
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
107109
golang.org/x/crypto v0.51.0 // indirect
108110
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
109-
golang.org/x/image v0.38.0 // indirect
110-
golang.org/x/net v0.54.0 // indirect
111+
golang.org/x/image v0.41.0 // indirect
112+
golang.org/x/net v0.55.0 // indirect
111113
golang.org/x/oauth2 v0.36.0 // indirect
112-
golang.org/x/sys v0.44.0 // indirect
114+
golang.org/x/sys v0.45.0 // indirect
113115
golang.org/x/text v0.37.0 // indirect
114116
golang.org/x/time v0.15.0 // indirect
115117
google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 // indirect
@@ -120,3 +122,5 @@ require (
120122
gopkg.in/yaml.v2 v2.4.0 // indirect
121123
gopkg.in/yaml.v3 v3.0.1 // indirect
122124
)
125+
126+
// replace github.com/readium/go-toolkit => ../go-toolkit

0 commit comments

Comments
 (0)