mirror of
https://github.com/cooperhammond/irs.git
synced 2025-03-08 04:09:38 +00:00
tagger edits
This commit is contained in:
parent
e402bcea14
commit
a786992f7f
|
@ -1,9 +1,5 @@
|
||||||
version: 1.0
|
version: 1.0
|
||||||
shards:
|
shards:
|
||||||
cr-taglib:
|
|
||||||
github: teknomunk/cr-taglib
|
|
||||||
commit: 5bfca75aaac31c0e4eee4c6e0d72c624af773c09
|
|
||||||
|
|
||||||
ydl_binaries:
|
ydl_binaries:
|
||||||
github: cooperhammond/ydl-binaries
|
github: cooperhammond/ydl-binaries
|
||||||
commit: 8a622bf9d2c0b848db8d8db2f46f09334a1f03f8
|
commit: 8a622bf9d2c0b848db8d8db2f46f09334a1f03f8
|
||||||
|
|
|
@ -32,7 +32,7 @@ module Ripper
|
||||||
options.keys.each do |option|
|
options.keys.each do |option|
|
||||||
command += " #{option} #{options[option]}"
|
command += " #{option} #{options[option]}"
|
||||||
end
|
end
|
||||||
|
|
||||||
system(command)
|
system(command)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -34,9 +34,12 @@ class Tags
|
||||||
end
|
end
|
||||||
|
|
||||||
def save
|
def save
|
||||||
@query_args.push(%("#{@filename}"))
|
@query_args.push(%("_#{@filename}"))
|
||||||
command = @BIN_LOC.to_s + "/ffmpeg " + @query_args.join(" ")
|
command = @BIN_LOC.to_s + "/ffmpeg " + @query_args.join(" ")
|
||||||
puts command
|
system command
|
||||||
|
|
||||||
|
File.delete(@filename)
|
||||||
|
File.rename("_" + @filename, @filename)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue