Commit Graph

215 Commits

Author SHA1 Message Date
KrumpetPirate
ed084692a2 Updated README 2018-02-18 00:34:33 -06:00
KrumpetPirate
da3ca76930
Merge pull request #40 from voltagex/aac
Add support for copying to m4b (no reencode)
2018-02-18 00:29:17 -06:00
KrumpetPirate
a09e502574 Fixed ':' in input file name protocol error 2018-02-18 00:27:31 -06:00
Mark Daku
304594e845 Added m3u playlist support 2018-02-18 17:26:45 +11:00
jostyee
bcd6ffd14b Convert aax to m4b 2017-11-22 16:31:42 +08:00
Adam Baxter
1132602f65 Add support for copying to m4b (no reencode) 2017-11-16 00:16:24 +11:00
Francis Chong
176c30c42c add m4a conversion script 2017-11-03 11:33:21 +08:00
KrumpetPirate
de01589b94 Merge pull request #38 from dloeckx/master
Add cover art + improve track metadata
2017-10-22 21:40:38 -05:00
Dirk Loeckx
972123a932 Update metadata: track number = chapternum, appended chapter number to track title
track number was eg "Chapter 03", and is now eg 3 . This fits better in most mp3 players.
track title was the book title for all tracks, now it is eg "Book Title - 01 Chapter 1" (same as filename)
2017-10-22 22:54:10 +02:00
Dirk Loeckx
1ac66d1a94 Embedded cover art to (chapter) MP3's 2017-10-22 22:51:41 +02:00
KrumpetPirate
15abb34c0e Merge pull request #36 from thecb1/better-chapter-names
Update of chapter titles with sortable 0padded numbers
2017-10-21 18:51:30 -05:00
KrumpetPirate
6c33459f24 Merge branch 'master' into better-chapter-names 2017-10-21 18:51:21 -05:00
KrumpetPirate
f06b768c55 Merge pull request #34 from thecb1/patch-1
Fix chaptercount for 0-padding
2017-10-21 18:48:55 -05:00
cb1
2fc7329bf5 Update of chapter titles with sortable 0padded numbers
* Removed chapter_padding()
* Fixed $chaptercount
* Redone 0-padded chapter titles with printf()
2017-10-20 14:44:32 +02:00
cb1
f7c4d0dce8 Fix chaptercount for 0-padding 2017-10-18 17:55:19 +02:00
KrumpetPirate
1017f9a6e7 Updated grep detection with README changes and better colon support 2017-10-12 20:27:04 -05:00
Travis Neeley
c500062c96 Added ggrep detection for OSX 2017-10-09 18:09:43 -05:00
Travis Neeley
05274634d4 Removed strange _config.yml file... 2017-09-08 08:51:49 -05:00
KrumpetPirate
240068be87 Merge pull request #28 from 2001db8/patch-1
Added chapter padding
2017-09-07 21:01:09 -05:00
Jens
ee01461f9a Added chapter padding
As discussed in https://github.com/KrumpetPirate/AAXtoMP3/issues/26 I've added a quick and dirty fix to add chapter padding (for audio books containing up to 999 chapters) for non-single conversion mode.
2017-09-06 19:39:02 +02:00
KrumpetPirate
8002baf1c5 Set theme jekyll-theme-midnight 2017-06-29 13:17:41 -05:00
KrumpetPirate
56b6b6ad98 Set theme jekyll-theme-slate 2017-06-29 12:28:17 -05:00
KrumpetPirate
d96d01eb25 Updated readme for new script name 2017-05-14 20:57:03 -05:00
KrumpetPirate
026a52343c Renamed script (dropped extension) 2017-05-14 20:55:37 -05:00
KrumpetPirate
945cfa972c Merge pull request #23 from KevinWang15/master
Prevent ffmpeg from showing "Enter command: <target>|all <time>|-1 <command>[ <argument>]" in bash
2017-05-14 20:50:05 -05:00
Ke Wang
8479b1702e Prevent ffmpeg from showing "Enter command: <target>|all <time>|-1 <command>[ <argument>]" in bash 2017-05-15 08:54:35 +08:00
KrumpetPirate
ef85fe2976 Added AUR link to README 2017-04-09 08:12:05 -05:00
KrumpetPirate
48e2eebc5f Merge pull request #20 from danielhoherd/master
Fix two typos in README
2017-03-01 18:36:02 +00:00
Daniel Hoherd
99f3a72fa2 Fix two typos 2017-03-01 08:20:20 -08:00
KrumpetPirate
b7383b2612 Added support for file tagging with FFMPEG 2017-01-25 14:44:30 -06:00
KrumpetPirate
2e30e9f2a9 Updated readme for OSX 2017-01-23 18:38:38 -06:00
KrumpetPirate
9f57085905 Merge pull request #18 from thibaudcolas/patch-1
Make the script OSX compatible
2017-01-23 18:36:44 -06:00
Thibaud Colas
404f8d0a0a Make the script OSX compatible
- Use shorthand flags for `rm`: `-r` instead of `--recursive`, `-f` instead of `--force`
- Add fallbacks for `mktemp`. See http://unix.stackexchange.com/a/84980
- Use shorthand flags for `cut`: `-d` instead of `--delimiter`, `-f` instead of `--fields`

Tested on OSX 10.11.6 El Capitan
2017-01-22 23:41:25 +02:00
KrumpetPirate
05eb4e0da7 Merge pull request #17 from ZebaSz/master 2017-01-10 07:44:03 -06:00
Sebastián Ariel Szperling
47440ed463 Fix deleting full audio file in chaptered mode 2017-01-10 01:16:32 -03:00
KrumpetPirate
75f9e0b079 Mentioned --single mode 2017-01-05 18:34:10 -06:00
KrumpetPirate
a8bddf3df1 Added .authcode support and fixed README 2017-01-05 18:29:37 -06:00
Victor Engmark
aa93813892 Various tweaks (#16)
* Use lower case variable names

* Extract debug print method

* Split lines

* Simplify looping over parameters

* Use a temporary working directory for safety

* Extract metadata fetching into functions

* Don't replace colon in title

It's in the directory structure anyway.

* Use long ffmpeg options where possible

And use the same options everywhere.

* Don't print debug information during normal script run

* Always read into a dummy variable rather than REPLY

* Use `ffprobe` instead of `ffmpeg` to avoid non-zero exit code

* Handle special characters like single quotes in metadata values

* Stop the program if any errors occur

* Use FD 9 for `while` loop input

* Pass AAX file path to metadata extract command

* Avoid skipping every second file

* Don't check for `ffmpeg`

The script will exit if it's not available.

* Declare function variables local

* Fix whitespace handling

Works with filenames containing single quotes.

* Use variables for reused paths

* Put files in output directory immediately

* Clarify debug output

* Extract codec and extension for simple change

* Encode audiobooks as FLAC

* Put output files with input files

* Remove metadata file between files

* Default codec to MP3; enable FLAC using `--flac`
2017-01-05 17:56:32 -06:00
KrumpetPirate
72c949359b Merge pull request #14 from danielhoherd/master
General cleanup
2016-12-15 23:40:18 -06:00
Daniel Hoherd
30b71ba73c Trap ctrl-c and exit 0 2016-12-15 21:03:51 -08:00
Daniel Hoherd
f5c09d7270 read -r, trap and cleanup 2016-12-15 20:54:53 -08:00
Daniel Hoherd
69c1c2e77e Check for ffmpeg. xargs echo. date on status updates. 2016-12-15 20:25:27 -08:00
Daniel Hoherd
c1e1830eb9 Safety quotes, consistent variable braces. 2016-12-15 19:54:19 -08:00
KrumpetPirate
ce2a341ebb Fixed : in Title causing protocol error 2016-08-10 23:48:13 -05:00
KrumpetPirate
ad6a2cd746 Merge pull request #12 from pbowyer/master
Fix for titles with single quotes breaking script
2016-07-17 11:12:37 -05:00
Peter Bowyer
13f756ffb4 Fix for titles with single quotes breaking script
This patch fixes #11 and prevents the following error, which happens when a title contains a single quote (e.g. this `tmp.txt` file: https://gist.github.com/pbowyer/7b7d2181da42c4de1d4f947247a47178):
```
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
```
2016-07-17 16:58:46 +01:00
KrumpetPirate
17895e4663 Merge pull request #9 from iltempo/cover
Extracting cover art at end of script
2016-07-13 07:43:31 -05:00
KrumpetPirate
21e4b5f919 Merge pull request #8 from iltempo/sed
sed -r to sed -e for portability
2016-07-13 07:42:07 -05:00
KrumpetPirate
16b6bac6c0 Merge pull request #7 from iltempo/bash
env bash location
2016-07-13 07:40:45 -05:00
Alexander Greim
2774675e5b Extracting cover art 2016-07-13 11:58:43 +02:00