]>
Commit | Line | Data |
---|---|---|
bece25da | 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); | |
6 | g_free(tmp); | |
7 | parent_id = mtp_device->default_music_folder; | |
8 | + gentrack->parent_id = parent_id; | |
9 | ||
10 | #if DEBUG | |
11 | g_print("Uploading track '%s'\n",filename); | |
12 | #endif | |
13 | - ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id); | |
14 | + ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL); | |
15 | LIBMTP_destroy_track_t(gentrack); | |
16 | if (ret == 0) | |
17 | g_print("Track upload finished!\n"); |