Enlightenment CVS committal Author : tsauerbeck Project : e17 Module : apps/euphoria
Dir : e17/apps/euphoria/lib Modified Files: playlist.rb playlist_item.rb Log Message: even better fix =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/euphoria/lib/playlist.rb,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- playlist.rb 2 May 2005 14:55:15 -0000 1.12 +++ playlist.rb 2 May 2005 17:07:32 -0000 1.13 @@ -1,4 +1,4 @@ -# $Id: playlist.rb,v 1.12 2005/05/02 14:55:15 tsauerbeck Exp $ +# $Id: playlist.rb,v 1.13 2005/05/02 17:07:32 tsauerbeck Exp $ require "euphoria/playlist_item" @@ -43,7 +43,6 @@ @xmms.broadcast_medialib_entry_changed.notifier do |res| @xmms.medialib_get_info(res.value).notifier do |res2| props = res2.value - props.default = "unknown" find_all { |i| i.id == props[:id] }.each do |item| item.properties = props =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/euphoria/lib/playlist_item.rb,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- playlist_item.rb 2 May 2005 14:55:15 -0000 1.4 +++ playlist_item.rb 2 May 2005 17:07:32 -0000 1.5 @@ -1,4 +1,4 @@ -# $Id: playlist_item.rb,v 1.4 2005/05/02 14:55:15 tsauerbeck Exp $ +# $Id: playlist_item.rb,v 1.5 2005/05/02 17:07:32 tsauerbeck Exp $ class PlaylistItem attr_reader :id, :edje @@ -83,6 +83,8 @@ def properties=(hash) @props = hash || {} + @props.default = "unknown" + set_parts_text unless @edje.nil? end ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs