       el.value = tag.tags.title
     else if tag.tags.artist
       el.value = tag.tags.artist
+    else
+      el.value = filename.replace(/\.[^/.]+$/, '')
 
   # read id3 tag data when file is chosen
   handleFileChange = (i,event) ->

      handle: '.fi-list'
      animation: 150

  # populate song-artist when id3 tag is read
  populateName = (i, tag) ->
    el = document.getElementById('mix_tracks_attributes_' + i + '_name')
    if tag.tags.title && tag.tags.artist
      el.value = tag.tags.title + ' - ' + tag.tags.artist

      'artist'
    ]).read
      onSuccess: (tag) ->
        populateName i,tag,file.name
        return
      onError: (error) ->
        console.log ':(', error.type, error.info
