changeset 381:53056ce7940d trunk

[svn] - avoid opening VFS FDs for track URIs where we know that the file is valid
author nenolod
date Thu, 14 Dec 2006 18:12:13 -0800
parents 1397798646fb
children 66e09ad0944e
files ChangeLog src/console/Audacious_Driver.cxx
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Dec 14 18:08:50 2006 -0800
+++ b/ChangeLog	Thu Dec 14 18:12:13 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-15 02:08:50 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [832]
+  - change use of printf to g_warning() and g_critical() where appropriate.
+  
+  trunk/src/console/Audacious_Driver.cxx |    4 ++--
+  1 file changed, 2 insertions(+), 2 deletions(-)
+
+
 2006-12-14 04:21:23 +0000  William Pitcock <nenolod@nenolod.net>
   revision [830]
   - fix
--- a/src/console/Audacious_Driver.cxx	Thu Dec 14 18:08:50 2006 -0800
+++ b/src/console/Audacious_Driver.cxx	Thu Dec 14 18:12:13 2006 -0800
@@ -106,6 +106,11 @@
 		track = atoi( args + 1 );
 		track_specified = true;
 	}
+
+	// if the track is specified, then we have a match. don't worry
+	// about it right now -nenolod
+	if (track_specified)
+		return;
 	
 	// open vfs
 	if ( fd )