[banshee/stable-1.8] [AppleDevice] Fix podcast support (bgo#631172)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/stable-1.8] [AppleDevice] Fix podcast support (bgo#631172)
- Date: Sun, 7 Nov 2010 20:36:50 +0000 (UTC)
commit aea8f6f0254a94e42f0605ccc7c1d7f4a30279d8
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sun Nov 7 14:34:43 2010 -0600
[AppleDevice] Fix podcast support (bgo#631172)
Quite a lovely API; gotta set Flag4 = 1 to have podcasts work. :) Trick
brought over from my work on ipod-sharp.
.../AppleDeviceTrackInfo.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
index 3963613..2c97e02 100644
--- a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
+++ b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs
@@ -263,6 +263,7 @@ namespace Banshee.Dap.AppleDevice
} else {
if (HasAttribute (TrackMediaAttributes.Podcast)) {
track.MediaType = GPod.MediaType.Podcast;
+ track.Flag4 = (byte)1;
} else if (HasAttribute (TrackMediaAttributes.AudioBook)) {
track.MediaType = GPod.MediaType.Audiobook;
} else if (HasAttribute (TrackMediaAttributes.Music)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]