[goobox] Fixed loading of the CDs



commit 807aea171cbc6b9bb16d85736f3786a3ff92d30c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Aug 22 17:44:49 2011 +0200

    Fixed loading of the CDs
    
    Use device instead of disc_id which is always NULL.

 src/metadata.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/metadata.c b/src/metadata.c
index 358c262..a79a23d 100644
--- a/src/metadata.c
+++ b/src/metadata.c
@@ -219,7 +219,7 @@ get_cd_info_from_device_thread (GSimpleAsyncResult *result,
 	data->album_info = album_info_new ();
 	tracks = NULL;
 	disc = discid_new ();
-	if (discid_read (disc, data->disc_id)) {
+	if (discid_read (disc, data->device)) {
 		int first_track;
 		int last_track;
 		int i;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]