[banshee] Fixed the playing indicator (bgo#585798)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Fixed the playing indicator (bgo#585798)
- Date: Sun, 28 Jun 2009 00:38:01 +0000 (UTC)
commit e8a49a61d14d68910f8cd897b7b609e9d061e166
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sun Jun 28 10:34:34 2009 +1000
Fixed the playing indicator (bgo#585798)
When the playing song was included multiple times into a playlist, the
indicator was shown next to each instance of the song.
.../Banshee.MediaEngine/PlayerEngineService.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs b/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs
index ebd455e..967c1a8 100644
--- a/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs
+++ b/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs
@@ -113,7 +113,8 @@ namespace Banshee.MediaEngine
MetadataService.Instance.HaveResult += OnMetadataServiceHaveResult;
TrackInfo.IsPlayingMethod = track => IsPlaying (track) &&
- ServiceManager.PlaybackController.Source == ServiceManager.SourceManager.ActiveSource;
+ track.CacheModelId == CurrentTrack.CacheModelId &&
+ track.CacheEntryId.Equals (CurrentTrack.CacheEntryId);
}
private void InitializeEngine (PlayerEngine engine)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]