lib/m3uzi/file.rb in m3uzi-0.2.0 vs lib/m3uzi/file.rb in m3uzi-0.2.1
- old
+ new
@@ -3,10 +3,10 @@
attr_accessor :path, :duration, :description, :byterange
def attribute_string
if duration.kind_of?(Float)
- "#{sprintf('%0.3f',duration)},#{description}"
+ "#{sprintf('%0.4f',duration)},#{description}"
else
"#{duration},#{description}"
end
end