]> git.pld-linux.org Git - packages/audacious-plugins.git/blob - audacious-plugins-libmtp.patch
- up to 2.1.0
[packages/audacious-plugins.git] / audacious-plugins-libmtp.patch
1 diff -ur audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c audacious-plugins-1.5.1/src/mtp_up/mtp.c
2 --- audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c       2008-05-24 00:44:20.000000000 +0200
3 +++ audacious-plugins-1.5.1/src/mtp_up/mtp.c    2008-08-04 09:38:35.000000000 +0200
4 @@ -193,11 +193,12 @@
5      g_free(from_path);\r
6      g_free(tmp);\r
7      parent_id = mtp_device->default_music_folder;\r
8 +    gentrack->parent_id = parent_id;\r
9  \r
10  #if DEBUG\r
11      g_print("Uploading track '%s'\n",filename);\r
12  #endif\r
13 -    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);\r
14 +    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);\r
15      LIBMTP_destroy_track_t(gentrack);\r
16      if (ret == 0) \r
17          g_print("Track upload finished!\n");\r
This page took 0.077726 seconds and 3 git commands to generate.