aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-06-03 10:59:13 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-06-03 10:59:13 -0700
commit00423c9661ba334e60b80763e958e1e5f92447da (patch)
tree9c1b8ace5452c2b226a46133fd2ca3a2fe5a2c65
parent2e691a00dc7ca4fdb3eca6b8d1675c7eb97f705a (diff)
downloaddsub-00423c9661ba334e60b80763e958e1e5f92447da.tar.gz
dsub-00423c9661ba334e60b80763e958e1e5f92447da.tar.bz2
dsub-00423c9661ba334e60b80763e958e1e5f92447da.zip
Add description to podcast episode details dialog
Description is contained in album field for podcast episodes for some reason
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 49d6f5a2..29a1619c 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -1024,6 +1024,9 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
if(song.getDuration() != null && song.getDuration() != 0) {
msg += "\nLength: " + Util.formatDuration(song.getDuration());
}
+ if(song instanceof PodcastEpisode) {
+ msg += "\nDescription: " + song.getAlbum();
+ }
Util.info(context, song.getTitle(), msg);
}