flac2mp3 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/History.txt +5 -0
- data/README.md +63 -0
- data/lib/flac2mp3/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NzI4MzFlZWZkMmU0ZTM1YzQzODFiNmQ5ZDAwYjFmZWRiYjk5N2EzNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZjY4YTRjMGVkNjE5MWJhNzJmOTYwMDkwMDZmNjRhNjU2MzUzMWUxOQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTExNTM2OWEzYWUyNGE2ZDRjMzcxOTI3ZDkyNTQ3MGU4ZmQzMDQ3NmIyN2Y1
|
|
10
|
+
NjhiMTJhMTM2N2JkMzM4MmEzNDNjZGMyZDkxOGZjZmZjZmZjMWI4MzkyYWQ5
|
|
11
|
+
MzQ0NWMzNmUxZjBmODM0ZDUwZTkzMzUxYWJjNTM5NjY2NzA1NmI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ODNiMjcyYWQ2NTJiN2UwZTg4NmM0Mjk4NGRhY2Q1ZGU2MWIyYWFmMjcyOGUy
|
|
14
|
+
NWIyNGY0YWUwMjMxYzhhNWI1ZTgwOWVhNGNkZGRhZTQxYmY2M2IwOTI3M2Zm
|
|
15
|
+
ZWJiOTYyZmVhZDJhYThjNmEzOGE1MmRhNDFjMWNmNzE0M2Y0NjI=
|
data/History.txt
CHANGED
data/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# flac2mp3
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
|
|
5
|
+
`flac2mp3` is meant to, as the name implies, convert FLAC files to MP3 files
|
|
6
|
+
|
|
7
|
+
## Features/Problems
|
|
8
|
+
|
|
9
|
+
* Will convert a file from FLAC to MP3 format, natch.
|
|
10
|
+
* Not *only* is the song data converted, but so is the metadata!
|
|
11
|
+
* Options:
|
|
12
|
+
* silent running
|
|
13
|
+
* delete the FLAC after conversion
|
|
14
|
+
* MP3 encoding (defaults to `--preset standard`)
|
|
15
|
+
* Reads options from YAML config file, `~/.flac2mp3`
|
|
16
|
+
|
|
17
|
+
Currently operates on one file at a time. To convert more, try something like
|
|
18
|
+
|
|
19
|
+
for f in *.flac; do flac2mp3 "$f"; done
|
|
20
|
+
|
|
21
|
+
or
|
|
22
|
+
|
|
23
|
+
find . -name '*.flac' -exec flac2mp3 {} \;
|
|
24
|
+
|
|
25
|
+
If neither of those commands will work for you, try using a different OS.
|
|
26
|
+
|
|
27
|
+
## Synopsis
|
|
28
|
+
|
|
29
|
+
$ flac2mp3 flac_filename
|
|
30
|
+
$ flac2mp3 flac_filename --silent
|
|
31
|
+
$ flac2mp3 --meta flac_filename mp3_filename
|
|
32
|
+
|
|
33
|
+
(or)
|
|
34
|
+
|
|
35
|
+
$ metaflac2mp3 flac_filename mp3_filename
|
|
36
|
+
|
|
37
|
+
or, if you insist
|
|
38
|
+
|
|
39
|
+
``` ruby
|
|
40
|
+
require 'flac2mp3'
|
|
41
|
+
|
|
42
|
+
Flac2mp3.convert(flac_filename)
|
|
43
|
+
Flac2mp3.convert(flac_filename, :silent => true)
|
|
44
|
+
Flac2mp3.convert_metadata(flac_filename, mp3_filename)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
* `flac`, the binary
|
|
50
|
+
* `lame`, the binary
|
|
51
|
+
* `flacinfo-rb`, the gem
|
|
52
|
+
* `ruby-mp3info`, the gem
|
|
53
|
+
* ruby, the interpreter
|
|
54
|
+
|
|
55
|
+
## Install
|
|
56
|
+
|
|
57
|
+
gem install flac2mp3
|
|
58
|
+
|
|
59
|
+
## Thanks
|
|
60
|
+
|
|
61
|
+
* Rich Lafferty, for turning me on to the wonderful idea of keeping everything in FLAC format
|
|
62
|
+
* Apple, for having a bunch of little-i, capital-letter products that don't like FLAC format
|
|
63
|
+
* Robin Bowes, for `flac2mp3.pl`, which annoyed me enough to get me to write this
|
data/lib/flac2mp3/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flac2mp3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yossef Mendelssohn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-04-
|
|
11
|
+
date: 2013-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bacon
|
|
@@ -77,6 +77,7 @@ extra_rdoc_files: []
|
|
|
77
77
|
files:
|
|
78
78
|
- License.txt
|
|
79
79
|
- History.txt
|
|
80
|
+
- README.md
|
|
80
81
|
- lib/flac2mp3/version.rb
|
|
81
82
|
- lib/flac2mp3.rb
|
|
82
83
|
- spec/flac2mp3_command_spec.rb
|