We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d405792 commit b43f80dCopy full SHA for b43f80d
lib/m3uzi.rb
@@ -188,8 +188,8 @@ def generate_byterange_line(file)
188
189
def add_file(path = nil, duration = nil)
190
new_file = M3Uzi::File.new
191
- new_file.path = path
192
- new_file.duration = duration
+ new_file.path = path if path
+ new_file.duration = duration if duration
193
yield(new_file) if block_given?
194
@playlist_items << new_file
195
end
lib/m3uzi/version.rb
@@ -1,3 +1,3 @@
1
class M3Uzi
2
- VERSION = '0.4.0'
+ VERSION = '0.4.1'
3
0 commit comments