Rhythmbox asks to overwrite files during transfer to iPod

Bug #312902 reported by Xero Xenith on 2009-01-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

After deleting all music from my iPod Classic, I put more music back on with Rhythmbox. But I found that if the first 27 characters of several song filenames (excluding extension) are the same, Rhythmbox sometimes pauses the transfer and asks if you want to overwrite the first one with the second. No matter whether you say yes or no, one of the two songs is not transferred.

Expected outcome:
Rhythmbox renames the file, as this has no effect on iPods, and transfers it.

Related branches

Pedro Villavicencio (pedro) wrote :

Thanks for the report, could you get a rhythmbox log of the operation? please run rhythmbox as: rhythmbox --debug&> rhythmbox-debug.txt ; perform the operation in order to reproduce the bug and attach the resulting file to the report, thanks.

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Xero Xenith (xero-xenith) wrote :

Of course, the log is extremely large (>10MB) however thanks in part to it listing every song in my ~5k collection many times over. I've found the section of it that seems to document only the bug; I'll post that as a separate attachment.

Xero Xenith (xero-xenith) wrote :

Just in case this helps, here's just the section that documents the bug. I tested it by copying over 30 blank MP3s all starting with "This is actually a blank MP3 and not anything else, remember", and the bug came up a few times.

Thanks a lot :)

Changed in rhythmbox:
status: Incomplete → New
Sebastien Bacher (seb128) wrote :

what ubuntu version do you use?

Xero Xenith (xero-xenith) wrote :

8.10 Intrepid, 64-bit, with all the latest updates from intrepid-security and intrepid-updates. I experienced the same issue just today.

Sebastien Bacher (seb128) wrote :

The bug is described in details on http://bugzilla.gnome.org/show_bug.cgi?id=570600

Changed in rhythmbox:
status: New → Triaged
milestone: none → ubuntu-9.04-beta
Changed in rhythmbox:
status: Unknown → New
Changed in rhythmbox (Ubuntu):
milestone: ubuntu-9.04-beta → ubuntu-9.04
Robert Ancell (robert-ancell) wrote :

Patch which adds a suffix to truncated file names. This reduces the chance of name collision enough to allow groups of songs to be copied.

Changed in rhythmbox (Ubuntu):
status: Triaged → In Progress
Robert Ancell (robert-ancell) wrote :

Updated simpler patch as recommended upstream. Tested and works.

Sebastien Bacher (seb128) wrote :

thanks Robert, when you do a new revision update better to add a debdiff to the bug though, it's easier to review in the webbrowser and apply to the current source

Sebastien Bacher (seb128) wrote :

your update had an extra translation template added to the source, otherwise it looks good I will sponsor the upload

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rhythmbox - 0.12.0-0ubuntu3

rhythmbox (0.12.0-0ubuntu3) jaunty; urgency=low

  * debian/patches/04_ipod_name_truncate.patch
    - Add a random suffix onto truncated filenames written to iPod - this
      stops collisions when copying tracks that have similar filenames
      (LP: #312902)

 -- Robert Ancell <email address hidden> Thu, 02 Apr 2009 23:46:50 +1100

Changed in rhythmbox (Ubuntu):
status: In Progress → Fix Released
Changed in rhythmbox:
status: New → Fix Released
Changed in rhythmbox:
status: Fix Released → New
Lee Colleton (lee-colleton) wrote :

I observe this behaviour in rhythmbox 0.12.8-0ubuntu

Copying data to or from an Apple iPod produces multiple prompts to overwrite files.

Changed in rhythmbox:
importance: Unknown → Medium
Changed in rhythmbox:
status: New → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.