ripdiru 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. data/lib/ripdiru.rb +2 -2
  2. data/lib/ripdiru/version.rb +1 -1
  3. metadata +1 -1
data/lib/ripdiru.rb CHANGED
@@ -93,7 +93,6 @@ module Ripdiru
93
93
  puts "Ripping audio file to #{tempfile}"
94
94
 
95
95
  command = %W(
96
- timeout --foreground -s 2 #{duration}
97
96
  ffmpeg -y -i #{mms_url} -vn
98
97
  -loglevel error
99
98
  -metadata author="NHK"
@@ -104,7 +103,8 @@ module Ripdiru
104
103
  -metadata year="#{program.effective_date.year}"
105
104
  -acodec libmp3lame -ar 44100 -ab #{bitrate} -ac 2
106
105
  -id3v2_version 3
107
- #{tempfile}
106
+ #{tempfile} &
107
+ sleep #{duration}; kill $!
108
108
  )
109
109
 
110
110
  system command.join(" ")
@@ -1,3 +1,3 @@
1
1
  module Ripdiru
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripdiru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: