-# $Id: playlist_item.rb,v 1.21 2006/07/29 01:55:31 tilman Exp $
-
class PlaylistItem
attr_reader :id, :edje, :position, :selected, :hilighted
set_parts_text unless @edje.nil?
end
+ def track_info_message
+ unless @props[:channel].nil?
+ Edje::Message.new(0, channel)
+ else
+ Edje::Message.new(0, artist, title, album)
+ end
+ end
+
private
def set_parts_text
tmp = (duration == -1) ? "" :