Commit Graph

175 Commits

Author SHA1 Message Date
fabh2o
cb17d422f3 Merge branch 'master' of github.com:KrumpetPirate/AAXtoMP3 into audible-cli-integration 2021-02-11 10:38:20 +01:00
fabh2o
82c0ef0f6b Merge branch 'master' of github.com:KrumpetPirate/AAXtoMP3 into custom-output-folder 2021-02-11 09:26:23 +01:00
fabh2o
b5408310a2 Merge branch 'fix-log-level-time-as-octal' of github.com:fabh2o/AAXtoMP3 into custom-output-folder 2021-02-10 21:08:23 +01:00
fabh2o
3c909baf5e Merge branch 'master' of github.com:KrumpetPirate/AAXtoMP3 into custom-output-folder 2021-02-10 20:59:48 +01:00
fabh2o
012749071e force base-10 2021-02-10 20:48:14 +01:00
fabh2o
68168f6495
Merge branch 'master' into keep-n-author 2021-02-10 09:20:37 +01:00
fabh2o
836c6b0722 use 2021-02-09 20:55:38 +01:00
fabh2o
93478c797d Merge branch 'master' of github.com:KrumpetPirate/AAXtoMP3 into custom-output-folder 2021-02-09 20:47:34 +01:00
Nicko98
6646b84e72
Added different loglevels
I added different loglevels and (for loglevel 0 and 1) a progress bar for chapter splitting.
0 = show progress only, chapter splitting shown as progress bar
1 (default) = fewer information, chapter splitting shown as progress bar
2 = as it has been up until now
3 = debug mode
2021-02-09 20:21:55 +01:00
Nicko98
2805aca990
Added different loglevels
I added different loglevels and (for loglevel 0 and 1) a progress bar for chapter splitting.
0 = show progress only, chapter splitting shown as progress bar
1 (default) = fewer information, chapter splitting shown as progress bar
2 = as it has been up until now
3 = debug mode
2021-02-09 20:19:53 +01:00
Nicko98
9e1b33904a
Added different loglevels
I added different loglevels and (for loglevel 0 and 1) a progress bar for chapter splitting.
0 = show progress only, chapter splitting shown as progress bar
1 (default) = fewer information, chapter splitting shown as progress bar
2 = as it has been up until now
3 = debug mode
2021-02-09 20:00:11 +01:00
fabh2o
239ae1aa3f remove leading space after cut 2021-02-09 18:54:37 +01:00
fabh2o
fcef788bc4 artist --> author 2021-02-09 17:48:21 +01:00
fabh2o
33a8d254bd Merge branch 'master' of github.com:KrumpetPirate/AAXtoMP3 into keep-n-author 2021-02-09 17:40:43 +01:00
Nicko98
e6f34b5f97
faster chapter splitting
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac.
For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
2021-02-09 12:39:15 +01:00
Nicko98
2b31c7defa
faster chapter splitting
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac.
For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
2021-02-09 03:24:20 +01:00
Nicko98
c4c5470b6b
faster chapter splitting
Since there is an issue with this fix when applied on flac option, the changes dont take effect on flac.
For more information have a look in KrumpetPirate/AAXtoMP3 issue #142.
2021-02-09 03:15:22 +01:00
fabh2o
1e7802ac3f force author name 2021-02-08 22:04:32 +01:00
fabh2o
ad2bbe5da4 typo in sed 2021-02-08 21:46:57 +01:00
fabh2o
ad86f187f8 keep n-th artist only 2021-02-08 21:29:26 +01:00
fabh2o
afb852fdf1 cut title to 128 char + no - or : subsitution 2021-02-07 16:51:51 +01:00
fabh2o
ffbc592bf8 correct playlist name? 2021-02-07 11:32:18 +01:00
fabh2o
8f0f8ec3e1 forgot ; 2021-02-07 11:24:23 +01:00
fabh2o
7b602eaf5d proper multi file support i hope 2021-02-07 11:21:07 +01:00
fabh2o
d199d875bb Debugvar chapter, restored chapter number format 2021-02-07 10:26:29 +01:00
fabh2o
1afa763999 restored default output dir struct 2021-02-07 10:20:06 +01:00
fabh2o
45bd9e666f remove all apprnd-narrator traces 2021-02-07 10:15:34 +01:00
fabh2o
bcaec020ce first commit 2021-02-06 22:27:52 +01:00
fabh2o
c45a4ac610 reformat usage + auduble-cli flag 2021-02-06 19:06:56 +01:00
fabh2o
0972886b58 Merge branch 'append-narrator' of github.com:fabh2o/AAXtoMP3 into audible-cli-integration 2021-02-06 18:51:01 +01:00
fabh2o
822f5c3409 forgot to update help message 2021-02-06 18:38:03 +01:00
fabh2o
b8bef58122 fix indentation 2021-02-06 18:34:09 +01:00
fabh2o
f98ded7ca7 debugvar audibleCli 2021-02-06 18:27:13 +01:00
fabh2o
60b762bb29 append narrator name to the output folder 2021-02-06 18:26:14 +01:00
KrumpetPirate
440c6302fb
Merge pull request #144 from fabh2o/mediainfo
Mediainfo tags
2021-02-05 20:52:19 -05:00
fabh2o
f74ec2e75a removed Audiobook (genre) dir from the output 2021-02-05 21:00:39 +01:00
fabh2o
f94cf1baa7 fix for find command: use basename 2021-02-05 16:53:43 +01:00
fabh2o
3fb377a107 debug var publisher 2021-02-05 16:13:06 +01:00
fabh2o
1f0b44d455 Merge branch 'master' of github.com:KrumpetPirate/AAXtoMP3 into audible-cli-integration 2021-02-05 15:38:35 +01:00
fabh2o
9ea5bf0899 restore ffmpeg to be silent 2021-02-05 15:33:07 +01:00
KrumpetPirate
ce3b5a5c18
Merge pull request #141 from Nicko98/master
Added compression levels for mp3, opus and flac
2021-02-05 08:58:52 -05:00
fabh2o
4870dc334a use publisher tag 2021-02-05 10:42:14 +01:00
fabh2o
712b69d8ec get metadata value 2021-02-05 10:39:00 +01:00
fabh2o
7be5ee8749 extract only some tags, not all 2021-02-05 10:37:23 +01:00
fabh2o
047d7eb6f3 validate_extra_files final touchs, mediainfo get only useful infos,
save chapter infos from audible-cli json, publisher tag,
cover crop, real track title
2021-02-05 10:22:12 +01:00
fabh2o
b7e978c8bb better HQ cover processing 2021-02-04 13:45:42 +01:00
Nicko98
db65efaf67
Added Compression levels for mp3, opus and flac 2021-02-04 11:20:13 +01:00
fabh2o
0c9fa05aab return 1 if no aax file found 2021-02-04 10:09:33 +01:00
fabh2o
02e1132301 validate files 2021-02-04 09:59:19 +01:00
Nicko98
fd8a51d474
Added Compression levels for mp3, opus and flac 2021-02-04 01:06:33 +01:00
Nicko98
cbf75faa58
Added Compression levels for mp3, opus and flac 2021-02-04 01:02:03 +01:00
fabh2o
eceb4e2f09 flag 2021-02-03 16:47:19 +01:00
fabh2o
82b865f55f comments about the reading of chapter infos 2021-02-03 14:24:02 +01:00
fabh2o
d16a47049b
Merge branch 'master' into master 2021-02-03 11:07:56 +01:00
Nicko98
ffb7e40961
Way faster chapter splitting
Just a little change in the ffmpeg call, but this massively increases the speed of chapter splitting. (In my first test approximately by a factor of 10.)
2021-02-02 23:01:23 +01:00
Nicko98
dc5309ebc3
Way faster chapter splitting
Just a little change in the ffmpeg call, but this massively increases the speed of chapter splitting. (In my first test approximately by a factor of 10.)
2021-02-02 22:56:09 +01:00
fabh2o
9a674d0127 Use mediainfo to parse additional metadata 2021-02-02 10:53:10 +01:00
Andrea Gelmini
9989aa5ad6 Add note about package install on Ubuntu 20.04
gelma@gopt:/tmp/AudioLibro$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

gelma@gopt:/tmp/AudioLibro$ sudo apt-get install ffmpeg libav-tools x264 x265 bc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libav-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  ffmpeg:i386 ffmpeg

E: Package 'libav-tools' has no installation candidate
2021-01-28 19:05:00 +01:00
Andrea Gelmini
b9f21a54f1 Fix typos 2021-01-28 19:01:38 +01:00
Nicko98
32aacd2b42
Continue after interrupt
Until now, when the conversion of a audiobook gets interrrupted during the splitting phase, one has to delete all the output files and restart from beginning.
This can be very uncomfy, especially if it's a long audiobook and the computer did work on it for several hours.
I added some changes, so that one only has to delete the last (incompletely generated) chapter and add "--continue " to the command where CHAPTERNUMBER is the chapter, that has been interrupted while splitting of.
For this to work I mainly just skipped the steps which were already done before interruption with if-conditions.
2021-01-26 23:32:14 +01:00
andreasziegl
04b7d9ff45
Print total chapter count when extracting chapters 2021-01-18 11:11:51 +01:00
Nico Linder
84d708f217 Remove chapters in "chaptered mode" 2020-07-14 10:21:26 +02:00
Andrea Gelmini
624ca434e0 Fix typos 2020-04-17 10:11:51 +02:00
Ryan Voots
a3ac4fb834 Small updates for Opus and metadata
Forcibly add the track and title metadata to the audio stream.  Fixes missing meta-data with Plex and possibly other programs.
Use the .opus file extension and ogg container for opus files to match recommended practice, and correct detection of opus files in Plex and other programs
2020-04-15 18:27:31 -07:00
73k05
2d5902ed6e Fix mkdir: cannot create directory : File name too long On linux file name max is 143 characters. Fix max name to 100 characters 2020-03-05 23:43:53 +01:00
KrumpetPirate
1dfd8ae755 Default noclobber off 2019-10-06 00:00:54 -04:00
Benjamin Porter
7b77b944cf Add no-clobber option to CLI
So the user can abort if the target directory would be overwritten.

Pork:  Remove trailing whitespace
2019-10-01 13:17:18 -06:00
Yozen Hernandez
3edb1b2fc8 Create chaptered single-file m4a's/m4b's
- Changes "container" for m4a and m4b to "mp4" as that is
the official container type.
- Changes "extension" checks for m4b to "container" checks
which check for "mp4". This makes it possible to produce
chaptered m4a files as well.
- Needs awk, but I think portable awk code is used. This
should probably be tested on other platforms, like macOS.
- Adds a check for mp4chaps, but that should be included
in the same package as mp4art.
- Only adds chapter data to mp4 files if using single-file
output mode.
2019-05-23 20:22:22 -04:00
KrumpetPirate
93ea984a53
Merge pull request #102 from mithomas/master
Fixed minor doc typos.
2019-03-17 16:28:39 -04:00
Michael Thomas
010dd7fb2d Fixed minor doc typos. 2019-03-17 16:07:11 +01:00
Brett Randall
abafa6285c Fixed minor doc-typos, some EOL whitespace. Fixed #95, fixed #96. 2019-03-16 23:43:41 +11:00
Brett Randall
243289c3ab Also add bc to apt-get install list as prompted by script. 2019-03-10 20:55:20 +11:00
supremesyntax
13c240ab53
fix file extension in m3u file
Use file extension in m3u file rather than container format.
2018-11-30 08:50:13 +00:00
James Hewitt
67a190b0a6
Fix bad argument name in usage 2018-07-22 21:46:15 +01:00
Dewey Hylton
35308ccb11 check for GNU sed, recommend gnu-sed for mac os x if missing 2018-07-02 19:26:15 -04:00
upuv
a6da4412b8 Fixing Bad Merge. 2018-06-25 14:17:30 +10:00
upuv
6d2768613c
Merge branch 'master' into master 2018-06-21 17:25:02 +10:00
upuv
101861f41c Fix for chapter length. 2018-06-21 17:21:18 +10:00
upuv
1af3f0ebcc Added checks for ffmpeg and ffprobe. 2018-06-21 17:07:47 +10:00
Reidar Cederqvist
8ebd16ae8b AAXtoMP3: fix possition of dash when replacing colon 2018-06-07 09:26:38 +02:00
Reidar Cederqvist
db48c6a970 AAXtoMP3: fix how .authcode is located fix issue #60 2018-06-07 09:11:47 +02:00
upuv
03f1a58638 Verify aax files options Improvements 2018-06-06 00:39:33 +10:00
upuv
9d20609f3c More Refactor, Setting up for user defined file naming using variable names. 2018-06-04 17:11:12 +10:00
upuv
71e140259b Refactor some variables for readability. 2018-06-04 16:10:00 +10:00
upuv
c2082ccfc0 Big change to DEBUG Output. It now handles lists of vars to dump. Makes the code a little cleaner. 2018-06-03 23:15:31 +10:00
upuv
de6d5db3f2 Enhanced DEBUG output for command line options 2018-06-03 15:49:19 +10:00
upuv
8327f15ac2 Adding --complete_dir option and documentation 2018-06-03 15:34:56 +10:00
upuv
1727d10be3 Fixed usage string 2018-05-26 16:23:12 +10:00
upuv
09145b4df2 Fixed an issue with container setting. 2018-05-26 16:16:00 +10:00
upuv
84335828d9 Bug Fix, added --chaptered, Readme updates. 2018-05-26 15:27:39 +10:00
upuv
eaf75eb2e2 Fixed a regression. m4a and m4b now have coverart. 2018-05-24 15:36:05 +10:00
upuv
67d4d05b52 Added in support for m4b, Removed old m4b script. 2018-05-23 23:18:23 +10:00
upuv
6f343c9191
Merge branch 'master' into master 2018-05-21 22:19:51 +10:00
upuv
ac656f9723 Inserting code comments for the next guy. 2018-05-20 00:50:48 +10:00
upuv
e754e83b6b Added big FAT metadata to DEBUG output. 2018-05-19 23:35:11 +10:00
upuv
66dc8953ad Enhanced debug flag. 2018-05-19 23:01:34 +10:00
upuv
e69b212982 diferentiated between a log and debug message 2018-05-19 21:29:20 +10:00
upuv
ccfaf07021 some cleanup 2018-05-19 15:52:38 +10:00
upuv
dee0d7e9a0 some cleanup 2018-05-19 15:51:40 +10:00
upuv
41a2803e18 some cleanup 2018-05-19 15:48:08 +10:00