]> git.pld-linux.org Git - packages/audacious-plugins.git/commitdiff
- fix for libmtp 0.3.0 API
authorhawk <hawk@pld-linux.org>
Mon, 4 Aug 2008 07:44:33 +0000 (07:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    audacious-plugins-libmtp.patch -> 1.1

audacious-plugins-libmtp.patch [new file with mode: 0644]

diff --git a/audacious-plugins-libmtp.patch b/audacious-plugins-libmtp.patch
new file mode 100644 (file)
index 0000000..ae57fd9
--- /dev/null
@@ -0,0 +1,17 @@
+diff -ur audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c audacious-plugins-1.5.1/src/mtp_up/mtp.c
+--- audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c      2008-05-24 00:44:20.000000000 +0200
++++ audacious-plugins-1.5.1/src/mtp_up/mtp.c   2008-08-04 09:38:35.000000000 +0200
+@@ -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");
This page took 0.038843 seconds and 4 git commands to generate.