aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-07-16 20:31:44 -0700
committerScott Jackson <daneren2005@gmail.com>2013-07-16 20:31:44 -0700
commit9c5ebc26eb15be080c042f4324238d24d7c1caad (patch)
treea6d00470ee49654899452ca2776694b0b5446a02 /subsonic-android
parent33c631965eca67a18e5fe5105b4f005ac9229c34 (diff)
downloaddsub-9c5ebc26eb15be080c042f4324238d24d7c1caad.tar.gz
dsub-9c5ebc26eb15be080c042f4324238d24d7c1caad.tar.bz2
dsub-9c5ebc26eb15be080c042f4324238d24d7c1caad.zip
Better message for trying to click on downloading podcast channel
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/res/values/strings.xml1
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java4
2 files changed, 4 insertions, 1 deletions
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index 39cdf075..65dfc9d1 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -136,6 +136,7 @@
<string name="select_podcasts.empty">No podcasts found</string>
<string name="select_podcasts.error">This podcast had an error while downloading on the server. The server must download it first.</string>
<string name="select_podcasts.skipped">This podcast has not been downloaded on the server. The server must download it first.</string>
+ <string name="select_podcasts.initializing">This podcast channel is being initialized on the server. Please reload after a moment.</string>
<string name="select_podcasts.server_download">Download on server</string>
<string name="select_podcasts.server_delete">Delete from server</string>
<string name="select_podcasts.downloading">Now downloading %s on the server</string>
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java
index 6936096c..f0f78569 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPodcastsFragment.java
@@ -176,7 +176,9 @@ public class SelectPodcastsFragment extends SubsonicFragment implements AdapterV
if("error".equals(channel.getStatus())) {
Util.toast(context, context.getResources().getString(R.string.select_podcasts_invalid_podcast_channel, channel.getErrorMessage() == null ? "error" : channel.getErrorMessage()));
- } else if(!"downloading".equals(channel.getStatus())) {
+ } else if("downloading".equals(channel.getStatus())) {
+ Util.toast(context, R.string.select_podcasts_initializing);
+ } else {
SubsonicFragment fragment = new SelectDirectoryFragment();
Bundle args = new Bundle();
args.putString(Constants.INTENT_EXTRA_NAME_PODCAST_ID, channel.getId());