After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339729 - play sound effect when ripping and burning are done
play sound effect when ripping and burning are done
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 576237 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-25 16:08 UTC by William Jon McCann
Modified: 2018-05-24 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Play sound effect when ripping & burning are done (5.16 KB, patch)
2009-05-02 03:06 UTC, Robin Sonefors (ozamosi)
none Details | Review
Play sound effect when ripping & burning are done (5.16 KB, patch)
2009-05-02 03:07 UTC, Robin Sonefors (ozamosi)
needs-work Details | Review

Description William Jon McCann 2006-04-25 16:08:47 UTC
Might be nice to play a short sound effect when ripping and burning are done.  I think I saw this in iTunes on Windows.  It is helpful when you start the process and walk away to do something else so you don't have to keep checking back.
Comment 1 James "Doc" Livingston 2006-04-26 05:31:51 UTC
I wonder if any of the standard sounds would be appropriate.
Comment 2 Bastien Nocera 2008-09-08 16:03:09 UTC
This would be easy using libcanberra-gtk now. See bug 542693.
Comment 3 Jonathan Matthew 2009-03-21 22:00:32 UTC
*** Bug 576237 has been marked as a duplicate of this bug. ***
Comment 4 Robin Sonefors (ozamosi) 2009-05-02 03:06:12 UTC
Created attachment 133776 [details] [review]
Play sound effect when ripping & burning are done

Add an optional dependency on libcanberra-gtk. Play a sound effect
when ripping is complete, and when burning through libnautilus is
complete.
Comment 5 Robin Sonefors (ozamosi) 2009-05-02 03:07:09 UTC
Created attachment 133777 [details] [review]
Play sound effect when ripping & burning are done

Add an optional dependency on libcanberra-gtk. Play a sound effect
when ripping is complete, and when burning through libnautilus is
complete.
Comment 6 Jonathan Matthew 2009-05-02 03:48:33 UTC
@@ -1934,6 +1938,12 @@ rb_shell_transfer_progress_cb (RBRemovableMediaManager *mgr,
 		g_free (s);
 	} else {
 		rb_statusbar_set_progress (shell->priv->statusbar, -1, NULL);
+#ifdef HAVE_LIBCANBERRA_GTK
+		ca_context_play (ca_gtk_context_get (), 0,
+				 CA_PROP_EVENT_ID, "complete-media-rip",
+				 CA_PROP_EVENT_DESCRIPTION, _("Extraction completed"),
+				 NULL);
+#endif
 	}
 }

This is going to happen when any transfer finishes, not just CD ripping.  complete-media-rip probably isn't appropriate for transfers to/from ipods or other devices.  There isn't really a way to distinguish between them at that point, though.
Comment 7 Jonathan Matthew 2009-05-07 07:50:17 UTC
So, I guess what we need to do is have the target source add a transfer-progress signal handler (in rb-library-source for the library, rb-removable-media-source for devices) that plays the sound when the transfer is finished, then disconnects itself.

The library implementation could look at the source URIs to decide what event ID to use (complete-media-rip for cdda://, something else for other schemes), maybe.
Comment 8 GNOME Infrastructure Team 2018-05-24 11:33:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/181.