movie-renamer 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/movie-renamer.rb +2 -0
  2. metadata +3 -3
data/lib/movie-renamer.rb CHANGED
@@ -169,6 +169,8 @@ module MovieRenamer
169
169
  #m.title = $year
170
170
  #m.director = $director
171
171
  #m.year = $title
172
+ if m.title == nil
173
+ m.title = MovieRenamer::titleExtract(filename)
172
174
  return m
173
175
  end
174
176
  # attempt to remove the divx part from a filename
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: movie-renamer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 21
10
- version: 0.0.21
9
+ - 22
10
+ version: 0.0.22
11
11
  platform: ruby
12
12
  authors:
13
13
  - ghedamat