projects
/
euphoria.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
72e6b21
)
Initialize a song's properties to an empty hash.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 26 Aug 2007 15:32:31 +0000
(17:32 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 26 Aug 2007 15:32:31 +0000
(17:32 +0200)
Seems sometimes we try to access the properties before we got them
from the daemon.
lib/playlist_item.rb
patch
|
blob
|
history
diff --git
a/lib/playlist_item.rb
b/lib/playlist_item.rb
index 91b5bea1024bc8e86566c29772378a9fd1394e29..5b89ea44ba8eb3a7c078b406a706f238f8af89a2 100644
(file)
--- a/
lib/playlist_item.rb
+++ b/
lib/playlist_item.rb
@@
-13,7
+13,7
@@
class PlaylistItem
@selected = false
@hilighted = false
- @props =
nil
+ @props =
{}
@xmms.medialib_get_info(id).notifier do |res|
self.properties = res.value