diff audacious/playlist.c @ 1237:17630223d25b trunk

[svn] - if a PlaylistEntry does not have a cached tuple, generate it on demand.
author nenolod
date Wed, 14 Jun 2006 22:39:13 -0700
parents 7918849bad3e
children 4c9cc4f67818
line wrap: on
line diff
--- a/audacious/playlist.c	Wed Jun 14 22:30:04 2006 -0700
+++ b/audacious/playlist.c	Wed Jun 14 22:39:13 2006 -0700
@@ -1701,6 +1701,12 @@
 
     tuple = entry->tuple;
 
+    if (tuple == NULL)
+    {
+        playlist_entry_get_info(entry);
+        tuple = entry->tuple;
+    }
+
     PLAYLIST_UNLOCK();
 
     return tuple;