[banshee] Stop playing from audio CD when it's ejected (bgo#475094)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Stop playing from audio CD when it's ejected (bgo#475094)
- Date: Thu, 16 Jul 2009 07:50:16 +0000 (UTC)
commit 9e0abe4efa7ae1979f529efabf18ef30aa0e49ef
Author: Olivier Duff <olivier duff gmail com>
Date: Thu Jul 16 11:47:32 2009 +0400
Stop playing from audio CD when it's ejected (bgo#475094)
Signed-off-by: Alexander Kojevnikov <alexander kojevnikov com>
.../Banshee.AudioCd/AudioCdService.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
index c59d919..30097d3 100644
--- a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
+++ b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
@@ -140,6 +140,7 @@ namespace Banshee.AudioCd
lock (this) {
if (sources.ContainsKey (uuid)) {
AudioCdSource source = sources[uuid];
+ source.StopPlayingDisc();
ServiceManager.SourceManager.RemoveSource (source);
sources.Remove (uuid);
Log.DebugFormat ("Unmapping audio CD ({0})", uuid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]