AlBundy33 / hb_rb

hb.rb is a wrapper-script to automate HandbrakeCLI
https://forum.handbrake.fr/viewtopic.php?f=10&t=26163
GNU General Public License v3.0
7 stars 2 forks source link

--output-move fails #1

Closed pjz closed 7 years ago

pjz commented 9 years ago

Is --output-move not fully supported?

$ hb.rb --input /dev/sr0 --output somefile.mkv --movie --output-move /some/dest/dir
.
.
.

/home/pj/bin/software/hb_rb/lib/commands.rb:75:in `run': undefined method `move' for File:Class (NoMethodError)
    from /home/pj/bin/software/hb_rb/lib/hb_lib.rb:1265:in `block (2 levels) in convert'
    from /home/pj/bin/software/hb_rb/lib/hb_lib.rb:1261:in `each'
    from /home/pj/bin/software/hb_rb/lib/hb_lib.rb:1261:in `block in convert'
    from /home/pj/bin/software/hb_rb/lib/hb_lib.rb:859:in `each'
    from /home/pj/bin/software/hb_rb/lib/hb_lib.rb:859:in `convert'
    from ./hb.rb:66:in `block (2 levels) in <main>'
    from ./hb.rb:58:in `each'
    from ./hb.rb:58:in `block in <main>'
    from ./hb.rb:46:in `each'
    from ./hb.rb:46:in `<main>'
AlBundy33 commented 8 years ago

Sorry for late response - it seems that File::move was only available up to ruby 1.8.

I'll check this

AlBundy33 commented 7 years ago

I'm not sure if I have done anything. I close this issue - if there are still problems simply create a new issue. ;-)