View | Details | Raw Unified | Return to bug 131712
Collapse All | Expand All

(-)rhythmbox-devel/files/patch-plugins_mtpdevice_rb-mtp-source.c (+20 lines)
Line 0 Link Here
1
--- plugins/mtpdevice/rb-mtp-source.c.orig	2009-02-15 22:33:07.000000000 +0900
2
+++ plugins/mtpdevice/rb-mtp-source.c	2009-02-15 22:35:14.000000000 +0900
3
@@ -357,7 +357,7 @@
4
 
5
 	g_assert (db != NULL);
6
 
7
-	tracks = LIBMTP_Get_Tracklisting (priv->device);
8
+	tracks = LIBMTP_Get_Tracklisting_With_Callback (priv->device, NULL, NULL);
9
 	if (tracks != NULL) {
10
 		LIBMTP_track_t *track, *tmp = NULL;
11
 		for (track = tracks; track != NULL; track = track->next) {
12
@@ -714,7 +714,7 @@
13
 		trackmeta->filetype = mimetype_to_filetype (mimetype);
14
 	}
15
 
16
-	if (LIBMTP_Send_Track_From_File (device, filename, trackmeta, NULL, NULL, 0) != 0) {
17
+	if (LIBMTP_Send_Track_From_File (device, filename, trackmeta, NULL, NULL) != 0) {
18
 		LIBMTP_destroy_track_t (trackmeta);
19
 		rb_debug ("Tracktransfer failed\n");
20
 		return NULL;

Return to bug 131712