changeset 1252:ece68ef26b94 trunk

[svn] - we don't really have to unwire track 0 this way, as 0 will be selected by default if no subsong URI is given
author nenolod
date Thu, 15 Jun 2006 05:17:49 -0700
parents 5f09d64c61e2
children 665dfbf5e9a1
files ChangeLog Plugins/Input/console/Audacious_Driver.cpp
diffstat 2 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 15 05:07:23 2006 -0700
+++ b/ChangeLog	Thu Jun 15 05:17:49 2006 -0700
@@ -1,3 +1,14 @@
+2006-06-15 12:07:23 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1416]
+  - sort by Artist
+  
+
+  Changes:        Modified:
+  +52 -21         trunk/audacious/playlist.c  
+  +1 -0           trunk/audacious/playlist.h  
+  +13 -0          trunk/audacious/ui_playlist.c  
+
+
 2006-06-15 11:54:42 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1414]
   - use tuplecache to optimise title sorts
--- a/Plugins/Input/console/Audacious_Driver.cpp	Thu Jun 15 05:07:23 2006 -0700
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Thu Jun 15 05:17:49 2006 -0700
@@ -768,9 +768,6 @@
 			return ret;
 		}
 
-		// do subsong stuff here
-		ret = FALSE;			// dewire track 0 from this stuff
-
 		switch ( type )
 		{
 			case type_nsf: load_file( tag, in, 0, NULL, (Nsf_Emu*) 0 ); break;
@@ -785,7 +782,7 @@
 		if (emu == NULL)
 			return FALSE;
 
-		for (int i = 0; i < emu->track_count(); i++)
+		for (int i = 1; i < emu->track_count(); i++)
 		{
 			gchar _buf[65535];
 			g_snprintf(_buf, 65535, "%s?%d", path2, i);