SOURCES: audacious-plugins-libmtp.patch (NEW) - fix for libmtp 0.3.0 API
hawk
hawk at pld-linux.org
Mon Aug 4 09:44:39 CEST 2008
Author: hawk Date: Mon Aug 4 07:44:38 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix for libmtp 0.3.0 API
---- Files affected:
SOURCES:
audacious-plugins-libmtp.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/audacious-plugins-libmtp.patch
diff -u /dev/null SOURCES/audacious-plugins-libmtp.patch:1.1
--- /dev/null Mon Aug 4 09:44:39 2008
+++ SOURCES/audacious-plugins-libmtp.patch Mon Aug 4 09:44:33 2008
@@ -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");
================================================================
More information about the pld-cvs-commit
mailing list