changeset 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 fc478bfe6fe6
children dc6f7048a9fa
files ChangeLog audacious/playlist.c
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 14 22:30:04 2006 -0700
+++ b/ChangeLog	Wed Jun 14 22:39:13 2006 -0700
@@ -1,3 +1,16 @@
+2006-06-15 05:30:04 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1386]
+  - disconnect the scrobbler client from metatag logically
+  
+
+  Changes:        Modified:
+  +15 -8          trunk/Plugins/General/scrobbler/queue.c  
+  +3 -1           trunk/Plugins/General/scrobbler/queue.h  
+  +2 -2           trunk/Plugins/General/scrobbler/scrobbler.c  
+  +3 -1           trunk/Plugins/General/scrobbler/scrobbler.h  
+  +26 -2          trunk/Plugins/General/scrobbler/xmms_scrobbler.c  
+
+
 2006-06-15 05:17:20 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1384]
   - more sanity for input_get_song_tuple()
--- 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;