[banshee] Mpris: Fix SetPosition method (bgo#654524)
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] Mpris: Fix SetPosition method (bgo#654524)
- Date: Fri, 19 Aug 2011 14:06:45 +0000 (UTC)
commit a2fe9cfe8691dc9c8edf967b3fcfe4f72d187fdc
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Fri Aug 19 16:04:17 2011 +0200
Mpris: Fix SetPosition method (bgo#654524)
The trackid lookup would always fail, so SetPosition wouldn't do
anything.
.../Banshee.Mpris/Banshee.Mpris/MediaPlayer.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Mpris/Banshee.Mpris/MediaPlayer.cs b/src/Extensions/Banshee.Mpris/Banshee.Mpris/MediaPlayer.cs
index 03e6b8d..c8c8aaa 100644
--- a/src/Extensions/Banshee.Mpris/Banshee.Mpris/MediaPlayer.cs
+++ b/src/Extensions/Banshee.Mpris/Banshee.Mpris/MediaPlayer.cs
@@ -294,7 +294,7 @@ namespace Banshee.Mpris
return;
}
- if (String.IsNullOrEmpty (trackid) || trackid != (string)Metadata["trackid"]) {
+ if (String.IsNullOrEmpty (trackid) || trackid != (string)Metadata["mpris:trackid"]) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]