[banshee] Do not resume playback when finished with preview
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Do not resume playback when finished with preview
- Date: Sun, 11 Jul 2010 01:33:53 +0000 (UTC)
commit 122941eb5d23a76363072bed61340660e4aeb21f
Author: Aaron Bockover <abockover novell com>
Date: Sat Jul 10 21:22:45 2010 -0400
Do not resume playback when finished with preview
If nothing was previously playing, it's awkward after playing an Amazon
MP3 preview, because Banshee will start playing the next track in queue,
which will likely be the HEAD of the music library.
.../Banshee.AmazonMp3.Store/StoreView.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs b/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
index 1d762f6..db36076 100644
--- a/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
+++ b/src/Extensions/Banshee.AmazonMp3.Store/Banshee.AmazonMp3.Store/StoreView.cs
@@ -87,6 +87,7 @@ namespace Banshee.AmazonMp3.Store
return dest_uri.AbsoluteUri;
case "audio/x-mpegurl":
Banshee.Streaming.RadioTrackInfo.OpenPlay (uri);
+ Banshee.ServiceStack.ServiceManager.PlaybackController.StopWhenFinished = true;
return null;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]