--- audacious-plugins-1.5.1/src/mtp_up/mtp.c.orig 2008-05-24 02:44:20 +0400 +++ audacious-plugins-1.5.1/src/mtp_up/mtp.c 2008-12-31 05:39:30 +0300 @@ -197,7 +197,8 @@ gint upload_file(Tuple *from_tuple) #if DEBUG g_print("Uploading track '%s'\n",filename); #endif - ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id); + gentrack->parent_id = 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");