Commit Graph

73 Commits

Author SHA1 Message Date
SendSpams
db014f8f51
Update AAXtoMP3 2018-04-06 07:04:19 +01:00
SendSpams
1d1f738713
Update AAXtoMP3 2018-04-06 07:03:25 +01:00
SendSpams
120f02fe07
Modified to work with missing HOME environment variable under Windows
The HOME environment variable is not set on Windows by default. Instead Windows uses USERPROFILE. It is possible for HOME to be set on Windows but for users who have not done this they will get: `HOME: unbound variable`. I have added a line that sets HOME to USERPROFILE if HOME is missing and USERPROFILE is found. This solves the unbound variable error.
2018-04-06 07:02:00 +01:00
KrumpetPirate
2ae7e326bb Renabled AAC for copy with no re-encode step 2018-03-22 14:06:19 -05:00
KrumpetPirate
e3d9a9ea35
Merge pull request #51 from corbolais/master
chg: use authcode file located in HOME dir.
2018-03-14 19:40:34 -05:00
Me
15945b18b1 chg: search HOME and local dir for authcode file in this order, first occurence accepted.
Signed-off-by: Me <corbolais@gmail.com>
2018-03-15 00:35:57 +01:00
Me
1031e3ae1d chg: use authcode file located in HOME dir.
Signed-off-by: Me <corbolais@gmail.com>
2018-03-14 16:46:45 +01:00
KrumpetPirate
626bab226a Updated readme for OPUS convertion, gitignore to ignore aax files in directory and output dir 2018-03-13 19:39:02 -05:00
KrumpetPirate
83e83d959f
Merge pull request #50 from bladegunner/add_opus
add support for the opus codec
2018-03-11 10:08:10 -05:00
Blade Gunner
d7752b4779 add support for the opus codec
it seems like ffmpeg still has some issues with the native opus
container format (*.opus), so let's use the OGG container format for
now.
2018-03-03 18:09:53 +01:00
KrumpetPirate
0c2c439d55 Removed AAX, causes issues with some audiobooks 2018-02-18 01:13:00 -06:00
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
Adam Baxter
1132602f65 Add support for copying to m4b (no reencode) 2017-11-16 00:16:24 +11: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