[banshee] [Mtp] Force all videos (podcast or otherwise) to the video folder
- From: Alan McGovern <alanmc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Mtp] Force all videos (podcast or otherwise) to the video folder
- Date: Tue, 7 Sep 2010 20:24:47 +0000 (UTC)
commit 5c260e2722d3c1381a1c2fdc5d93a0a4047d11c1
Author: Alan McGovern <alan mcgovern gmail com>
Date: Mon Sep 6 23:32:59 2010 +0100
[Mtp] Force all videos (podcast or otherwise) to the video folder
If a video is not in the video folder, it may not be playable on the
device. There appears to be no safe way to indicate that a video is also
a podcast so this is the best we can do.
.../Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs b/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
index ac8ea71..2236f66 100644
--- a/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
+++ b/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs
@@ -368,10 +368,10 @@ namespace Banshee.Dap.Mtp
private Folder GetFolderForTrack (TrackInfo track)
{
- if (track.HasAttribute (TrackMediaAttributes.Podcast)) {
- return mtp_device.PodcastFolder;
- } else if (track.HasAttribute (TrackMediaAttributes.VideoStream)) {
+ if (track.HasAttribute (TrackMediaAttributes.VideoStream)) {
return mtp_device.VideoFolder;
+ } else if (track.HasAttribute (TrackMediaAttributes.Podcast)) {
+ return mtp_device.PodcastFolder;
} else {
return mtp_device.MusicFolder;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]