projects
/
euphoria.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed RCS headers.
[euphoria.git]
/
lib
/
playlist_item.rb
diff --git
a/lib/playlist_item.rb
b/lib/playlist_item.rb
index f3d397f0de97b62e9ba86dc09891ecddfe2186d5..91b5bea1024bc8e86566c29772378a9fd1394e29 100644
(file)
--- a/
lib/playlist_item.rb
+++ b/
lib/playlist_item.rb
@@
-1,5
+1,3
@@
-# $Id: playlist_item.rb,v 1.21 2006/07/29 01:55:31 tilman Exp $
-
class PlaylistItem
attr_reader :id, :edje, :position, :selected, :hilighted
class PlaylistItem
attr_reader :id, :edje, :position, :selected, :hilighted
@@
-116,6
+114,14
@@
class PlaylistItem
set_parts_text unless @edje.nil?
end
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) ? "" :
private
def set_parts_text
tmp = (duration == -1) ? "" :