MTP android sync fails when adding new files to an existing folder
Submitted by Alec Schule
Link to original bug (#792140)
Description
Created attachment 366225 snippet from 'rhythmbox --debug' output
I use Rhythmbox to sync portions of my music library to my Android phone by selecting playlists to sync. When syncing to the first time, this works perfectly, but subsequent syncs run into problems. I believe this occurs when the folder a song should be written to already exists. For example:
Album 'X' has songs 'A', 'B', and 'C' in my library. 'A' and 'B' already exist on my device, which means the folder 'Music/Artist/X/' also exists, and contains 'A' and 'B'. I add 'C' to one of my selected playlists and try to sync.
Expected behavior is that 'C' is placed in the same folder as 'A' and 'B'. Actual behavior is that the song is not transferred and I get an error popup titled 'Error transferring track', with the message 'Could not write to resource'.
I ran rhythmbox with the debug flag and got a lot of output. What I believe is the part related to the sync process is attached to this post.
I am using Rhythmbox 3.4.2 on Linux 4.14.10-1-ARCH.
Please let me know if there is any other helpful information I can provide. Thank you.
Attachment 366225, "snippet from 'rhythmbox --debug' output":
rhythmbox_sync_error.txt
Version: 3.4.x