changeset 1128:69b1707d83a5 trunk

[svn] - fix NSFE metadata
author nenolod
date Sat, 03 Jun 2006 12:19:34 -0700
parents a49cc8e8e38d
children c59fe7000c95
files Plugins/Input/console/Audacious_Driver.cpp
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp	Sat Jun 03 12:09:25 2006 -0700
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Sat Jun 03 12:19:34 2006 -0700
@@ -607,10 +607,10 @@
 	if ( audcfg.resample )
 		sample_rate = audcfg.resample_rate;
 	track_info_t info;
-	info.track = track;
 	if ( begin_get_info( path2, &info ) )
 		return;
-	
+	info.track = track;
+
 	// load in emulator and get info
 	switch ( type )
 	{
@@ -732,15 +732,12 @@
 			case type_spc: load_file( tag, in, 0, NULL, (Spc_Emu*) 0 ); break;
 		}
 
-		printf("number of tracks: %d\n", emu->track_count());
-
 		for (int i = 0; i < emu->track_count(); i++)
 		{
 			gchar _buf[65535];
 			g_snprintf(_buf, 65535, "%s?%d", path2, i);
 
 			playlist_add_url(_buf);
-			
 		}
 
 		unload_file();