diff options
Diffstat (limited to 'source/xap/audacious-plugins/audacious-plugins.libmtp8.diff')
-rw-r--r-- | source/xap/audacious-plugins/audacious-plugins.libmtp8.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/xap/audacious-plugins/audacious-plugins.libmtp8.diff b/source/xap/audacious-plugins/audacious-plugins.libmtp8.diff new file mode 100644 index 00000000..6c224fa5 --- /dev/null +++ b/source/xap/audacious-plugins/audacious-plugins.libmtp8.diff @@ -0,0 +1,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");
|