X-Git-Url: http://git.code-monkey.de/?p=euphoria.git;a=blobdiff_plain;f=lib%2Fplaylist_item.rb;h=a4ed9896a8efe9bcdb6ee149676be7bfcc4f6bda;hp=f3d397f0de97b62e9ba86dc09891ecddfe2186d5;hb=dd2beb9c6c0688714643fd0c08fecc17a1e32a74;hpb=12d14c472fdb872efc6d657852346ee7ee8092b1 diff --git a/lib/playlist_item.rb b/lib/playlist_item.rb index f3d397f..a4ed989 100644 --- a/lib/playlist_item.rb +++ b/lib/playlist_item.rb @@ -116,6 +116,14 @@ class PlaylistItem 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) ? "" :