Spotbox.Models.Track = Ember.Object.extend({
  progress: 0,

  percent: function() {
    return this.get("progress") / this.get("length") * 100;
  }.property("progress"),

  artistName: function() {
    var artist_name = _.map(this.get('artists'), function(artist) {
      return artist.name;
    }).join(", ");
    return artist_name;
  }.property("artists"),

  displayDuration: function() {
    var duration = this.get("length");
    var minutes  = Math.floor(duration / 60);
    var seconds  = Math.floor(duration - minutes * 60);
    if (seconds < 10) { seconds = seconds + "0"; }
    return minutes + ":" + seconds;
  }.property("length"),

  albumName: function() {
    return this.getPath("album.name");
  }.property("album"),

  releaseDate: function() {
    return this.getPath("album.released");
  }.property("album"),

  artistAndTrack: function() {
    return this.get("artistName") + " - " + this.get("name");
  }.property("artists", "name"),

  playedAgo: function() {
    var now = new Date();
    var date = new Date(this.get("created_at"));
    var minutes = Math.round((now - date) / (1000 * 60));
    if (minutes > 120) {
      return Math.round(minutes / 60) + " hours ago";
    } else {
      return minutes + " minutes ago";
    }
  }.property()
});

@@ -952,321 +952,8 @@
 me%22)
-,%0A%0A  playedAgo: function() %7B%0A    var now = new Date();%0A    var date = new Date(this.get(%22created_at%22));%0A    var minutes = Math.round((now - date) / (1000 * 60));%0A    if (minutes %3E 120) %7B%0A      return Math.round(minutes / 60) + %22 hours ago%22;%0A    %7D else %7B%0A      return minutes + %22 minutes ago%22;%0A    %7D%0A  %7D.property()
 %0A%7D);

Remove usused method