* skip master track types

This commit is contained in:
Seth Call 2015-02-18 10:27:17 -06:00
parent b09825d188
commit 04cce7ef98
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ module JamRuby
Dir.mktmpdir do |tmp_dir|
jam_file_opts=""
jam_track.jam_track_tracks.each do |jam_track_track|
next if jam_track_track.track_type == "Master" # master mixes do not go into the JKZ
# use the jam_track_track ID as the filename.ogg/.wav, because it's important metadata
nm = jam_track_track.id + File.extname(jam_track_track.filename)
track_filename = File.join(tmp_dir, nm)