iPhone sync during the copy of files

Bug #498167 reported by simonnix
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rhythmbox
Unknown
Medium
libgpod (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: rhythmbox

Ubuntu 9.10
rhythmbox : 0.12.5
gvfs : 1.5.1-0ubuntu1~ppa2
libgpod4 : 0.7.3+git20091215+teuf
libiphone0 : 0.9.5-1ubuntu1~ppa2

Using an iPhone 3GS (firmware 3.1.2) works with rhythmbox using the ipod plugins, the new gvfs-backend-afc, libiphone, libgpod, usbmuxd etc...

Everything works great (tagging, covert art, etc..) except that when I am copying a lot of files, the (database, ArtworkDB) syncing process on the iPhone is launched after a few files is copied to the iPhone and slows down the copying process. After a few minutes (depending on the size of the ArtworkDB) the process ends successfully and the copying process returns to its original speed but a few seconds later its the same thing all over again. Once again at the end of the copying process, this slow sync process is done again.

Could it be possible to execute this sync process only one, at the end of the copying process and not during? Or maybe configure it to be done once in every Nth file or something? The difference in speed is 4 to 1 during sync.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, the versions you are in using are not ubuntu ones though so this issue is not really an ubuntu issue or something the ubuntu team will change, could you open the bug upstream rather?

Changed in rhythmbox (Ubuntu):
importance: Undecided → Low
Revision history for this message
simonnix (simon-huet) wrote : Re: [Bug 498167] Re: iPhone sync during the copy of files

I looked at the code of the ipod plugin from the Ubuntu source and it's
there.

I will say it's not an Ubuntu problem yet as the iPhone is not yet
supported. I have found the source code and will inquiry over at Gnome.

Sorry and thanks.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

could you tell us the bug number there or shall we go ahead and close this report? Thanks.

Changed in rhythmbox (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Incomplete
Revision history for this message
simonnix (simon-huet) wrote :

I submitted two bug report.

The slow sync process appears when using the gvfs-afc backend and not when
using the ifuse fuse filesystem, so there are maybe some issues in gvfs :
https://bugzilla.gnome.org/show_bug.cgi?id=605126 .

I filled also a bug report for rhythmbox to maybe add an option to differ
the save process. I made and included a patch to just do that (without
adding an option in the interface to activate this feature) . Basically the
database save is an event that is scheduled to start 15 seconds later. I
just added some code to restart the schedule if a new save action is
triggered when this event goes up. This resolve my issue :
https://bugzilla.gnome.org/show_bug.cgi?id=605140 .

2009/12/21 Pedro Villavicencio <email address hidden>

> could you tell us the bug number there or shall we go ahead and close
> this report? Thanks.
>
> ** Changed in: rhythmbox (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: rhythmbox (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
>
> --
> iPhone sync during the copy of files
> https://bugs.launchpad.net/bugs/498167
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “rhythmbox” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: rhythmbox
>
> Ubuntu 9.10
> rhythmbox : 0.12.5
> gvfs : 1.5.1-0ubuntu1~ppa2
> libgpod4 : 0.7.3+git20091215+teuf
> libiphone0 : 0.9.5-1ubuntu1~ppa2
>
> Using an iPhone 3GS (firmware 3.1.2) works with rhythmbox using the ipod
> plugins, the new gvfs-backend-afc, libiphone, libgpod, usbmuxd etc...
>
> Everything works great (tagging, covert art, etc..) except that when I am
> copying a lot of files, the (database, ArtworkDB) syncing process on the
> iPhone is launched after a few files is copied to the iPhone and slows down
> the copying process. After a few minutes (depending on the size of the
> ArtworkDB) the process ends successfully and the copying process returns to
> its original speed but a few seconds later its the same thing all over
> again. Once again at the end of the copying process, this slow sync process
> is done again.
>
> Could it be possible to execute this sync process only one, at the end of
> the copying process and not during? Or maybe configure it to be done once in
> every Nth file or something? The difference in speed is 4 to 1 during sync.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/498167/+subscribe
>

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks, linking the report.

Changed in rhythmbox (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
PatrickSCarrroll (patrickscarroll-hotmail) wrote :

How does one get ahold of this fix in binary form? I spent all night trying to sync music to my iPhone 3GS, and it still only got through 33% of it...and it taking forever to complete. This fix would be perfect and would save days of syncing time.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Patrick, there's no fix for it yet so we cannot release one. please have a look to the upstream report if you want to know the state of the bug, thanks.

Revision history for this message
simonnix (simon-huet) wrote :

I posted a small patch upstream that differ the sync process for 15
seconds more if a new sync request is requested (like when a new song
is copied). It is not perfect because if a new song file tales too
much time to be copied and does not differ the sync process in time,
well, the sync process start during the copy process.

Anyway, this patch can still be applied to the Ubuntu package until a
better solution is found.

-Simon Huet-

Le 22 janv. 2010 à 13:31, Pedro Villavicencio <email address hidden> a
écrit :

> Patrick, there's no fix for it yet so we cannot release one. please
> have
> a look to the upstream report if you want to know the state of the
> bug,
> thanks.
>
> --
> iPhone sync during the copy of files
> https://bugs.launchpad.net/bugs/498167
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Rhythmbox Music Management Application: Unknown
> Status in “rhythmbox” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: rhythmbox
>
> Ubuntu 9.10
> rhythmbox : 0.12.5
> gvfs : 1.5.1-0ubuntu1~ppa2
> libgpod4 : 0.7.3+git20091215+teuf
> libiphone0 : 0.9.5-1ubuntu1~ppa2
>
> Using an iPhone 3GS (firmware 3.1.2) works with rhythmbox using the
> ipod plugins, the new gvfs-backend-afc, libiphone, libgpod, usbmuxd
> etc...
>
> Everything works great (tagging, covert art, etc..) except that when
> I am copying a lot of files, the (database, ArtworkDB) syncing
> process on the iPhone is launched after a few files is copied to the
> iPhone and slows down the copying process. After a few minutes
> (depending on the size of the ArtworkDB) the process ends
> successfully and the copying process returns to its original speed
> but a few seconds later its the same thing all over again. Once
> again at the end of the copying process, this slow sync process is
> done again.
>
> Could it be possible to execute this sync process only one, at the
> end of the copying process and not during? Or maybe configure it to
> be done once in every Nth file or something? The difference in speed
> is 4 to 1 during sync.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/rhythmbox/+bug/498167/+subscribe

Revision history for this message
PatrickSCarrroll (patrickscarroll-hotmail) wrote :

Thanks simonnix! Many people will be much appreciated as iPhone sync support appears to be better in the latest Lucid Update (not sure if your patch is included), or will be in the future.

Changed in rhythmbox:
status: Unknown → Invalid
Revision history for this message
Pedro Villavicencio (pedro) wrote :

the issue is a libgpod one, reassigning.

affects: rhythmbox (Ubuntu) → libgpod (Ubuntu)
Changed in libgpod (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Changed in rhythmbox:
importance: Unknown → Medium
status: Invalid → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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