summaryrefslogtreecommitdiff
path: root/source/xap/audacious-plugins/audacious-plugins.libmtp8.diff
blob: 6c224fa5dfefb3a092b430dacd3fa708f9496c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ./src/mtp_up/mtp.c.orig	2008-05-23 17:44:20.000000000 -0500
+++ ./src/mtp_up/mtp.c	2008-09-14 14:28:44.000000000 -0500
@@ -193,11 +193,12 @@
     g_free(from_path);
     g_free(tmp);
     parent_id = mtp_device->default_music_folder;
+    gentrack->parent_id = parent_id;
 
 #if DEBUG
     g_print("Uploading track '%s'\n",filename);
 #endif
-    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
+    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
     LIBMTP_destroy_track_t(gentrack);
     if (ret == 0) 
         g_print("Track upload finished!\n");