GNOME Bugzilla – Bug 405267
banshee should stop playing before trying to eject ipod
Last modified: 2010-02-04 04:02:08 UTC
This should only happen if banshee is playing from ipod at this time. The result is the user will not get an error about ejecting the ipod because it is busy. Other information:
Should we assume that you mean it should stop playing only if it is playing something on the iPod? Also, do you want the the iPod to stop playing or put up an error message that you should stop play or both? Currently on Mass Storage DAPs, the user get a message that they need to start playing a song not on the device.
(In reply to comment #1) > Should we assume that you mean it should stop playing only if it is playing > something on the iPod? Also, do you want the the iPod to stop playing or put up > an error message that you should stop play or both? > > Currently on Mass Storage DAPs, the user get a message that they need to start > playing a song not on the device. > Of course, only if it's playing something on the iPod. Banshee should not show an error message. That would be no real improvement. I think the best way to handle this is just stop playing and eject the iPod and in my opinion this should also be done for Mass Storage DAPs.
Created attachment 84421 [details] [review] a patch to stop playing songs from devices when ejecting them There seems to be some necessary kludginess in this process: see the patch.
Is this patch still usable?
A variation this patch is now committed in the stable branch. http://svn.gnome.org/viewvc/banshee/tags/banshee/banshee-pre-ng-merge/src/Core/Banshee.Base/Dap/Dap.cs?r1=2542&r2=2541&pathrev=2542