musical 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e43fc024b34d7ef7ab6ad199b1e04a0df1ecdd7a
4
- data.tar.gz: 861125020b4e6837c92ea2dff8ee98c9f17b4b69
3
+ metadata.gz: b93d23893d873236fd13291ab1ff038c3bcbd308
4
+ data.tar.gz: 4c1c1ed28e90ad688aedb0900a040c72bb4b80aa
5
5
  SHA512:
6
- metadata.gz: 9baf1be7278ac7bfe993cc29fe539c26b7e51010e67f991fd31db7c08feebe5089c7557d3eff6fab11617e117f4ada794620bb8e6a66c3205556db9f3f1f5902
7
- data.tar.gz: 643cc8ea19c0afea3252c5c00f5f816e593b95c6c3dd62b0257d1a716de3ded84482e8651fb733e396a29b2873dc838d659d5c0d45fea93026ca66862a935cea
6
+ metadata.gz: 663e5f7acb2c8094444fc373e9da20a3504cc1e1309c100cef4ffb96fd6ed8f5c9ae8ad1ef5c942fb7362822721624b6e3338036ddcd22110b315794f25e549b
7
+ data.tar.gz: 46f1d27eddcb7f958b506e5d11181184bec321879d129d545efa7b529e07ca655be04344f1fbda65a93fab66849099f9a25b53f0b10d68f9fcc9ee4495819640
@@ -21,7 +21,7 @@ module Musical
21
21
  def to_wav(wav_path = "#{Musical.configuration.output}/chapter_#{@title_number}_#{@chapter_number}.wav")
22
22
  return @wav if @wav
23
23
 
24
- command = "ffmpeg -i #{@vob_path} #{wav_path}"
24
+ command = "ffmpeg -i #{@vob_path} -ac 2 #{wav_path}"
25
25
  execute_command(command, true)
26
26
  DVD::Wav.new(wav_path)
27
27
  end
@@ -1,4 +1,4 @@
1
1
  # coding: utf-8
2
2
  module Musical
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
@@ -33,7 +33,7 @@ describe Musical::DVD::Chapter do
33
33
 
34
34
  before do
35
35
  chapter.should_receive(:execute_command).
36
- with("ffmpeg -i #{vob_path} #{wav_path}", true).
36
+ with("ffmpeg -i #{vob_path} -ac 2 #{wav_path}", true).
37
37
  and_return(FileUtils.touch(wav_path))
38
38
  end
39
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryo katsuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-28 00:00:00.000000000 Z
11
+ date: 2013-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler