From c6d98ed6a120307183d1a6a788d6ce70c5cee370 Mon Sep 17 00:00:00 2001 From: Ben Gadbois Date: Thu, 21 May 2015 15:04:14 -0700 Subject: Changing to MD --- README | 20 -------------------- README.md | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 20 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index dc7be571..00000000 --- a/README +++ /dev/null @@ -1,20 +0,0 @@ -Basic Instructions -Run these commands to grab dependent libraries: -git submodule init -git submodule update - -Go to DragSortListView/library, and ServerProxy and build project files with: -android update project --path ./ - -Add both projects and all .jar's in the libs folder - -SDK Project Dependencies (under sdk -> extras): -android -> support -> v7 -> appcompat -android -> support -> v7 -> mediarouter -google -> google_play_services -> libproject -> google-play-services_lib - -SDK Library Dependencies: -android -> support -> v4 -> android-support-v4.jar -android -> support -> v7 -> appcompat -> libs android-support-v7-appcompat.jar -android -> support -> v7 -> mediarouter -> libs -> android-support-v7-mediarouter.jar -google -> google_play_services -> libproject -> google-play-services_lib -> lib -> google-play-services.jar \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..343ff873 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +##Basic Instructions +Grab dependent libraries +``` +git submodule init +git submodule update +``` + +Go to DragSortListView/library and ServerProxy and build project files +``` +android update project --path ./ +``` + +Add both projects and all .jar's in the libs folder + +##SDK Project Dependencies +Under sdk -> extras:
+android -> support -> v7 -> appcompat
+android -> support -> v7 -> mediarouter
+google -> google_play_services -> libproject -> google-play-services_lib + +##SDK Library Dependencies +android -> support -> v4 -> android-support-v4.jar
+android -> support -> v7 -> appcompat -> libs android-support-v7-appcompat.jar
+android -> support -> v7 -> mediarouter -> libs -> android-support-v7-mediarouter.jar
+google -> google_play_services -> libproject -> google-play-services_lib -> lib -> google-play-services.jar -- cgit v1.2.3 From 4e4e910a81f1029d86d94b172ee5810674da15d9 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 23 May 2015 12:59:14 -0700 Subject: Force use of local debug.keystore --- app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 97e72a11..0eeaec1d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,6 +23,12 @@ android { lintOptions { checkReleaseBuilds false } + + signingConfigs { + debug { + storeFile file('../debug.keystore') + } + } } dependencies { -- cgit v1.2.3 From 329330f7b18b1d88236a234bb15cef22529aef02 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 23 May 2015 13:03:20 -0700 Subject: #511 Cap isPastCutoff to a max of 10 minutes (for very large podcasts) --- app/src/main/java/github/daneren2005/dsub/service/DownloadService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java index c0268933..9e57f5b0 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java @@ -2104,7 +2104,8 @@ public class DownloadService extends Service { return false; } - int cutoffPoint = (int) (duration * DELETE_CUTOFF); + // Make cutoff a maximum of 10 minutes + int cutoffPoint = Math.min((int) (duration * DELETE_CUTOFF), 10 * 60 * 1000); boolean isPastCutoff = duration > 0 && position > cutoffPoint; // Check to make sure song isn't within 10 seconds of where it was created -- cgit v1.2.3 From 04bf2e345beae36a512aa50b5b920a4af9345743 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 19 Jun 2015 08:24:21 -0700 Subject: Add warning log when failing to refresh album list --- .../main/java/github/daneren2005/dsub/service/CachedMusicService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java b/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java index f161cac6..3bc7f2a3 100644 --- a/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java +++ b/app/src/main/java/github/daneren2005/dsub/service/CachedMusicService.java @@ -489,6 +489,7 @@ public class CachedMusicService implements MusicService { FileUtil.serialize(context, dir, getCacheName(context, type, Integer.toString(offset))); return dir; } catch(IOException e) { + Log.w(TAG, "Failed to refresh album list: ", e); MusicDirectory dir = FileUtil.deserialize(context, getCacheName(context, type, Integer.toString(offset)), MusicDirectory.class); if(dir == null) { -- cgit v1.2.3