[banshee] Patch from Jack Deslippe for playlists on Android
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Patch from Jack Deslippe for playlists on Android
- Date: Thu, 9 Jul 2009 04:20:51 +0000 (UTC)
commit 4d267ef4ce04c6df65bc61384dca376fa467b304
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Jul 8 23:15:04 2009 -0500
Patch from Jack Deslippe for playlists on Android
Specifies the format and location the G1, at least, supports (BGO #583335)
.../Banshee.Dap.MassStorage/AndroidDevice.cs | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs
index b4a2c0b..47c3d79 100644
--- a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs
+++ b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs
@@ -55,6 +55,12 @@ namespace Banshee.Dap.MassStorage
"Music/",
"amazonmp3/"
};
+
+ private static string [] playlist_formats = new string [] {
+ "audio/x-mpegurl"
+ };
+
+ private static string playlists_path = "Playlists/";
private static string [] icon_names = new string [] {
"phone-htc-g1-white", DapSource.FallbackIcon
@@ -83,7 +89,15 @@ namespace Banshee.Dap.MassStorage
public override string [] AudioFolders {
get { return audio_folders; }
}
+
+ public override string [] PlaylistFormats {
+ get { return playlist_formats; }
+ }
+ public override string PlaylistPath {
+ get { return playlists_path; }
+ }
+
public override string [] PlaybackMimeTypes {
get { return playback_mime_types; }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]