aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/values/strings.xml6
-rw-r--r--src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java4
-rw-r--r--src/github/daneren2005/dsub/util/SyncUtil.java3
3 files changed, 7 insertions, 6 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8bd333bc..1d2cde0d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -195,9 +195,9 @@
<string name="download.downloading_title">Downloading %1$d songs</string>
<string name="download.downloading_summary">Current: %1$s</string>
- <string name="sync.title">New content is available</string>
- <string name="sync.new_podcasts">New podcasts for: %s</string>
- <string name="sync.new_playlists">New songs in playlists: %s</string>
+ <string name="sync.title">DSub: New media is available</string>
+ <string name="sync.new_podcasts">New podcasts: %s</string>
+ <string name="sync.new_playlists">New in playlists: %s</string>
<string name="sync.new_albums">New albums: %s</string>
<string name="sync.new_starred">New starred songs</string>
diff --git a/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java b/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java
index d22a11b9..e97f32d2 100644
--- a/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java
+++ b/src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java
@@ -85,8 +85,8 @@ public class PodcastSyncAdapter extends SubsonicSyncAdapter {
// Only add if actualy downloaded correctly
if(file.isSaved()) {
existingEpisodes.add(entry.getId());
- if(!updated.contains(entry.getAlbum())) {
- updated.add(entry.getAlbum());
+ if(!updated.contains(podcasts.getName())) {
+ updated.add(podcasts.getName());
}
}
}
diff --git a/src/github/daneren2005/dsub/util/SyncUtil.java b/src/github/daneren2005/dsub/util/SyncUtil.java
index f595ff27..aed43f77 100644
--- a/src/github/daneren2005/dsub/util/SyncUtil.java
+++ b/src/github/daneren2005/dsub/util/SyncUtil.java
@@ -147,9 +147,10 @@ public final class SyncUtil {
NotificationCompat.Builder builder;
builder = new NotificationCompat.Builder(context)
- .setSmallIcon(R.drawable.stat_notify_download)
+ .setSmallIcon(R.drawable.stat_notify_sync)
.setContentTitle(context.getResources().getString(R.string.sync_title))
.setContentText(content)
+ .setStyle(new NotificationCompat.BigTextStyle().bigText(content))
.setOngoing(false);
Intent notificationIntent = new Intent(context, SubsonicFragmentActivity.class);