diff options
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/sync/PodcastSyncAdapter.java | 4 | ||||
-rw-r--r-- | src/github/daneren2005/dsub/util/SyncUtil.java | 3 |
2 files changed, 4 insertions, 3 deletions
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);
|