tagger edits

This commit is contained in:
Cooper Hammond 2019-06-14 18:01:22 -07:00
parent 219cc4bc53
commit cce8e2aeaf
3 changed files with 6 additions and 7 deletions

View file

@ -1,9 +1,5 @@
version: 1.0
shards:
cr-taglib:
github: teknomunk/cr-taglib
commit: 5bfca75aaac31c0e4eee4c6e0d72c624af773c09
ydl_binaries:
github: cooperhammond/ydl-binaries
commit: 8a622bf9d2c0b848db8d8db2f46f09334a1f03f8

View file

@ -32,7 +32,7 @@ module Ripper
options.keys.each do |option|
command += " #{option} #{options[option]}"
end
system(command)
end

View file

@ -34,9 +34,12 @@ class Tags
end
def save
@query_args.push(%("#{@filename}"))
@query_args.push(%("_#{@filename}"))
command = @BIN_LOC.to_s + "/ffmpeg " + @query_args.join(" ")
puts command
system command
File.delete(@filename)
File.rename("_" + @filename, @filename)
end
end