Commit Graph

350 Commits

Author SHA1 Message Date
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
Alexander Greim
a276e8d731 Don't use -r switch on sed as it's not portable 2016-07-13 11:28:36 +02:00
Alexander Greim
d7f997376c Comply with bash being installed in a different path 2016-07-13 11:25:43 +02:00
KrumpetPirate
9d28be4f06 Added support for chapters as well as convert to bash script 2016-03-30 21:48:35 -05:00
KrumpetPirate
c387b1e03b Fixed README 2015-12-18 13:11:39 -06:00
KrumpetPirate
d8b3888600 Merge branch 'development' 2015-12-18 13:08:32 -06:00
KrumpetPirate
1ca0cd08fd Updated README to remove chapters support 2015-12-18 13:07:59 -06:00
KrumpetPirate
3a38567eea Merge branch 'development' 2015-12-18 13:06:25 -06:00
KrumpetPirate
9f8af5932f Removed chapters functionality and fixed automatic titles 2015-12-18 13:04:23 -06:00
KrumpetPirate
9eeef9de04 Merge branch 'development'
Added libmp3lame to requirements
2015-12-13 17:07:38 -06:00
KrumpetPirate
6687a49104 Made changes to README to include libmp3lame 2015-12-13 17:06:54 -06:00
KrumpetPirate
e0c49a1f68 Merge pull request #1 from KrumpetPirate/development
Development
2015-12-13 16:52:36 -06:00
KrumpetPirate
325ea95ebb Version 1.0 2015-12-13 16:48:30 -06:00
KrumpetPirate
ed281c6336 Initial commit for AAXtoMP3.py script for conversion. 2015-12-13 01:20:05 -06:00
KrumpetPirate
aabc5071b9 Initial Commit 2015-12-13 00:12:37 -06:00
KrumpetPirate
14fef78f64 Initial commit 2015-12-12 23:44:34 -06:00