Commit Graph

363 Commits

Author SHA1 Message Date
aba332abc0 Remove colon from metadata
This will help prevent issues on linux based operating systems where it cannot make the directories in the event any of the metadata (like the book name) includes a colon.
2023-03-26 19:48:32 -05:00
e66c51dbfa Merge pull request #211 from utf8please/patch-1
Limit result to one line when parsing cover size.
2023-01-29 11:29:36 -06:00
f6ec8aa867 Merge pull request #222 from jarrodcolburn/patch-1
fix: typo '--aac' not '-aac'
2023-01-29 11:28:44 -06:00
f9bc150775 Merge pull request #227 from damajor/patch-2
Change cover.jpg to $currentFileNameScheme.jpg
2023-01-29 11:27:43 -06:00
61cfc08886 Merge pull request #231 from FreedomBen/fix-typo-in-docs
Fix incorrect variable name bug
2023-01-29 11:27:05 -06:00
1338f1e5c1 Fix incorrect variable name bug
Fix misleading variable name.  `$author` -> `$artist`

This took 30 mins of head pounding to figure out what was wrong :-)
2023-01-02 15:48:00 -07:00
-_-
2a5a208a2d Change cover.jpg to $currentFileNameScheme.jpg
This change allow multiple covers of different audiobooks in the same target directory.
2022-10-17 16:54:21 +02:00
8fc5e360d3 fix: typo '--aac' not '-aac'
usage example has 'aac' prefixed with single dash '-' (but should be double dashes '--')
2022-07-07 17:49:45 -05:00
1544a89249 Merge pull request #220 from FreedomBen/fix-typo
Fix typo in comment: FFMGEP -> FFMPEG
2022-06-10 19:09:24 -05:00
c289c10cd7 Fix typo in comment: FFMGEP -> FFMPEG 2022-06-10 18:03:41 -06:00
1ac6979885 Limit result to one line when parsing cover size. 2022-03-27 20:04:49 -07:00
f65fddebc2 Merge pull request #207 from bismark/fix-chapters-jq
Fixes for jq command generating chapters.txt
2022-03-02 13:14:40 -05:00
cab6394c02 Fixes for jq command generating chapters.txt
Fixes #184

Adds a reduce + flatten step to generate a flat list of chapters.

Fixes #206

Support for emitting timestamps greater than 24 hours.
2022-03-01 21:45:28 -08:00
3e42539812 Merge pull request #205 from nysasounds/cover-art
Cover art
2022-02-09 17:49:20 -05:00
c103d4899b feat: Use ffmpeg for cover art on non mpeg-4 containers instead of mp4art from deprecated mp4v2-utils package
Closes: https://github.com/KrumpetPirate/AAXtoMP3/issues/203
2022-02-09 21:24:22 +00:00
be8473ffba Revert "feat: Use ffmpeg to cover add instead of mp4art from deprecated mp4v2-utils package"
This reverts commit 72794b6785.

This broke cover art addition for MPEG-4 containers
2022-02-09 21:06:47 +00:00
6d659ade72 Merge pull request #202 from nysasounds/front-cover-typo
fix: video stream metadata for front cover comment should be lower ca…
2022-02-06 21:10:42 -05:00
b07737f5c4 fix: video stream metadata for front cover comment should be lower case _front_ 2022-02-06 20:29:20 +00:00
9a1f0fae49 Merge pull request #201 from nysasounds/ffmpeg-from-snap
feat: Add support for ffmpeg via snap package
2022-02-06 14:25:20 -05:00
bf7d405d3e Merge pull request #199 from nysasounds/ffmpeg-cover-art
feat: Use ffmpeg to cover add instead of mp4art
2022-02-06 14:24:18 -05:00
1ce836f5a2 feat: Add support for ffmpeg via snap package, requires ability to specify custom ffmpeg binary names if required
closes: https://github.com/KrumpetPirate/AAXtoMP3/issues/200
2022-02-06 00:06:54 +00:00
72794b6785 feat: Use ffmpeg to cover add instead of mp4art from deprecated mp4v2-utils package
closes: https://github.com/KrumpetPirate/AAXtoMP3/issues/198
2022-02-05 23:31:12 +00:00
c9bcf2326b Merge pull request #192 from bensaufley/fix/single_cover_art
Attempt to fix missing cover art for single output
2022-01-21 17:17:06 -05:00
bee00b9c58 Merge pull request #196 from Muxelmann/patch-2
Fixing `,000` issue with mp4chaps
2022-01-21 17:15:56 -05:00
00fd4d552a Merge pull request #195 from Muxelmann/patch-1
Changing uses of `grep` to `$GREP` for non-linux
2022-01-21 17:14:33 -05:00
aa702cb97a Remove redundant loglevel check 2022-01-21 17:09:43 -05:00
31507139c8 Merge pull request #190 from bensaufley/fix/consistent_grep
Use GREP variable everywhere
2022-01-21 17:05:30 -05:00
2272d9ce99 Fixing ,000 issue with mp4chaps
Replaces the `,000` in the chapters.txt file with `.000` to allow processing with `mp4chaps`
2022-01-20 11:59:10 +01:00
e4f92461d3 Changing uses of grep to $GREP for non-linux 2022-01-20 11:45:49 +01:00
4dd095da2a Attempt to fix missing cover art for single output
Solves #191 for me anecdotaly, but I don't know if there's a better solution or a different way to go about it.
2022-01-12 09:34:59 -05:00
20289a1774 One sed/gsed as well 2022-01-12 00:28:52 -05:00
048e15a476 Use GREP variable everywhere 2022-01-12 00:15:14 -05:00
d5e32478c7 Merge pull request #189 from jkuettner/feature/audible-library-series
Add optional possibility to extract the series from the audible library
2022-01-09 08:47:22 -05:00
5010927559 fix "syntax error in expression" 2022-01-08 21:45:03 +01:00
b87b08ee6a fix continuing for existing files 2022-01-08 21:13:28 +01:00
7f1f3df020 Add possibility to read the series from the audible library 2022-01-08 16:38:29 +01:00
fb56087a72 Merge pull request #182 from Natrinicle/extra-crop-cover-check
Add extra_crop_cover to All Odd Cover Widths
2022-01-07 18:13:35 -05:00
c8870e29fd Merge pull request #187 from jkuettner/feature/continue-on-existing
Continue if the current file already exists
2022-01-07 18:05:26 -05:00
45fd0d4852 remove temp metadata_file on continue 2022-01-07 20:58:54 +01:00
12435d3e24 Continue if target directory already exists 2022-01-07 17:48:04 +01:00
ab91343dd5 Add extra_crop_cover to All Odd Cover Widths
When attempting to convert
https://www.audible.com/pd/Stephen-Fry-Presents-a-Selection-of-Anton-Chekhovs-Short-Stories-Audiobook/B0036GPPWS
using this tool and chaptered mode, ffmpeg fails out with

[libx264 @ 0x5588ef28d780] width not divisible by 2 (483x500)
Error initializing output stream 0:1 -- Error while opening encoder
for output stream #0:1 - maybe incorrect parameters such as bit_rate,
rate, width or height
Conversion failed!

This is because the cover file embedded in the downloaded mp4 file
from Audible has the dimensions 483x500. Found the extra_crop_cover
that's currently being used only for covers from the Audible CLI
tool and extended the script to instead check the dimensions of the
cover file and include the extra_crop_cover anytime the cover has an
odd width.
2021-11-09 11:36:23 -07:00
c6e8a06f10 Merge pull request #181 from fabh2o/fix-180
Sanitize the chapters name
2021-11-08 07:50:19 -05:00
a45c6245fe delete '/' and ':' from chapter names 2021-11-08 10:50:52 +01:00
9b24aa1be3 Merge pull request #177 from fabh2o/fix-176
Fix 176
2021-09-28 19:15:11 -04:00
43d96f0118 Merge pull request #178 from fabh2o/ffmpeg44-path
ffmpeg custom path
2021-09-28 19:14:38 -04:00
ce62e832ee fix anchor link 2021-09-28 22:06:33 +02:00
d645e616fe updated readme 2021-09-28 20:16:52 +02:00
bf1f384341 fix tmp_chapter_file: unbound variable 2021-09-28 19:56:14 +02:00
f1c4b97bc1 use custom path for ffmpeg/ffprobe binaries 2021-09-28 19:55:16 +02:00
68a91bbbbb --aac is identical to -e:m4a 2021-09-26 18:30:44 +02:00