Initialize a song's properties to an empty hash.
[euphoria.git] / lib / playlist_item.rb
index a4ed9896a8efe9bcdb6ee149676be7bfcc4f6bda..5b89ea44ba8eb3a7c078b406a706f238f8af89a2 100644 (file)
@@ -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
 
@@ -15,7 +13,7 @@ class PlaylistItem
                @selected = false
                @hilighted = false
 
-               @props = nil
+               @props = {}
 
                @xmms.medialib_get_info(id).notifier do |res|
                        self.properties = res.value