Blame audacious-plugins-1.5.1-libmtp.patch
|
|
7b13496 |
diff -ur audacious-plugins-fedora-1.5.1-orig/src/mtp_up/mtp.c audacious-plugins-fedora-1.5.1/src/mtp_up/mtp.c
|
|
|
7b13496 |
--- audacious-plugins-fedora-1.5.1-orig/src/mtp_up/mtp.c 2008-08-17 21:29:48.000000000 +0200
|
|
|
7b13496 |
+++ audacious-plugins-fedora-1.5.1/src/mtp_up/mtp.c 2008-08-17 22:35:10.000000000 +0200
|
|
|
7b13496 |
@@ -192,12 +192,12 @@
|
|
|
7b13496 |
|
|
|
7b13496 |
g_free(from_path);
|
|
|
7b13496 |
g_free(tmp);
|
|
|
7b13496 |
- parent_id = mtp_device->default_music_folder;
|
|
|
7b13496 |
+ gentrack->parent_id = mtp_device->default_music_folder;
|
|
|
7b13496 |
|
|
|
7b13496 |
#if DEBUG
|
|
|
7b13496 |
g_print("Uploading track '%s'\n",filename);
|
|
|
7b13496 |
#endif
|
|
|
7b13496 |
- ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
|
|
|
7b13496 |
+ ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
|
|
|
7b13496 |
LIBMTP_destroy_track_t(gentrack);
|
|
|
7b13496 |
if (ret == 0)
|
|
|
7b13496 |
g_print("Track upload finished!\n");
|