lib/overlayer.rb in sensible-cinema-0.7.3 vs lib/overlayer.rb in sensible-cinema-0.7.4
- old
+ new
@@ -85,11 +85,11 @@
@am_muted = false
@am_blanked = false
@mutex = Mutex.new
@cv = ConditionVariable.new
@file_mtime = nil
- reload_yaml!
+ check_reload_yaml
@start_time = Time.now_f # assume they want to start immediately...
if minutes
self.set_seconds self.class.translate_string_to_seconds(minutes)
end
end
@@ -110,10 +110,10 @@
maps.each{|start,endy|
# both are like 1:02.0
start = translate_string_to_seconds(start)
endy = translate_string_to_seconds(endy)
if start == 0 || endy == 0
- p 'warning--possible error in the scene list someline not parsed! (NB if you want one to start at time 0 please use 0.0001)', start, endy unless $DEBUG
+ p 'warning--possible error in the scene descriptions file some line not parsed! (NB if you want one to start at time 0 please use 0.0001)', start, endy unless $DEBUG
# drop it in bitbucket...
else
new[start] = endy
end
}