diff options
author | Gabriel Burt <gabriel.burt@gmail.com> | 2010-12-08 16:16:57 -0600 |
---|---|---|
committer | Gabriel Burt <gabriel.burt@gmail.com> | 2010-12-08 16:16:57 -0600 |
commit | 71053b75d05111b3aa49d6ea0e92021a6d8c1310 (patch) | |
tree | ae06bbb19a0ba7434465ae7cb403ac9cf591dd60 /src/Dap | |
parent | 3dae86f5a5fd26f5f3bc5c0c1383a5544c1ed22b (diff) |
[AppleDevice] Fix podcast flag for video podcasts
Also, set the SkipWhenShuffling flag, might be necessary for podcasts to
be correctly categorized on some iOS devices (bgo#630209)
Diffstat (limited to 'src/Dap')
-rw-r--r-- | src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs | 3 |
1 files changed, 2 insertions, 1 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 2c97e023c..5d85d89fa 100644 --- a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs +++ b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceTrackInfo.cs @@ -240,6 +240,8 @@ namespace Banshee.Dap.AppleDevice if (HasAttribute (TrackMediaAttributes.Podcast)) { track.Description = description; track.RememberPlaybackPosition = true; + track.SkipWhenShuffling = true; + track.Flag4 = (byte)1; track.MarkUnplayed = (track.PlayCount == 0); } @@ -263,7 +265,6 @@ 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)) { |