~voidraven/mp3me

56ccd7bb0a32b3248234e53aecc666c704a1d2b6 — voidraven 5 months ago a763166
improved help menu, updated README
4 files changed, 17 insertions(+), 19 deletions(-)

M README.md
A TODO.md
M mp3me.sh
D todo.md
M README.md => README.md +7 -8
@@ 14,21 14,20 @@ make uninstall    #(as root)
```

### Dependencies
In order to use this tool, you will need two things installed:
In order to use this tool, you will need a few things installed:

- [FFmpeg](https://ffmpeg.org)
- [GNU Parallel](https://www.gnu.org/software/parallel)
- POSIX [make](https://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html)

>There are no requirements to use a specific shell, but I have not tested on all of them, only ksh and bash.
- POSIX [shell](https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html)

### Usage
```bash
mp3me ./dir                   # convert music files
mp3me -j 8 ./dir              # convert music files, starting 8 jobs (i.e. threads)
mp3me -b 192 ./dir            # convert music files @ 192kbps
mp3me -h                      # show this help message
mp3me -v                      # show the version info
mp3me ./musicdir                   # convert music files
mp3me -j 8 ./musicdir              # convert music files, starting 8 jobs (i.e. threads)
mp3me -b 192 ./musicdir            # convert music files @ 192kbps
mp3me -h                           # show this help message
mp3me -v                           # show the version info
```

### Limitations

A TODO.md => TODO.md +5 -0
@@ 0,0 1,5 @@
- address shellcheck issues
- ADD QUOTE TO FIX LINE 48
- Add video
- add -r flag to recur on dirs
- add -t flag to trash old converted files

M mp3me.sh => mp3me.sh +5 -3
@@ 98,9 98,11 @@ fun_print_info () {
# print usage info
fun_print_usage () {
    echo "-- usage: --------------------"
    echo "       mp3me -j 8 ./mymusicdir"
    echo "       mp3me -h   # shows this help message"
    echo "       mp3me -v   # show the version info"
    echo "       mp3me ./musicdir          # just use defaults"
    echo "       mp3me -j 8 ./musicdir     # jobs (i.e. threads to start)"
    echo "       mp3me -b 192 ./musicdir   # bitrate - default is 320"
    echo "       mp3me -h                  # shows this help message"
    echo "       mp3me -v                  # show the version info"
}



D todo.md => todo.md +0 -8
@@ 1,8 0,0 @@
+ ADD POSIX SHELL DEP IN README
+ address shellcheck issues
+ ADD QUOTE TO FIX LINE 48
+ Add video
+ fix make url in readme (currently a google link)
+ add -r flag to recur on dirs
+ add -t flag to trash old converted files
+ update -h flag