diff --git a/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java b/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java index cf4744c3e..da398d83e 100644 --- a/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java +++ b/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java @@ -5,7 +5,7 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.core.util.ObjectsCompat; -import de.danoeh.antennapod.model.feed.FeedItem; + import org.json.JSONException; import org.json.JSONObject; @@ -15,6 +15,8 @@ import java.util.Date; import java.util.Locale; import java.util.TimeZone; +import de.danoeh.antennapod.model.feed.FeedItem; + public class EpisodeAction { private static final String TAG = "EpisodeAction"; private static final String PATTERN_ISO_DATEFORMAT = "yyyy-MM-dd'T'HH:mm:ss"; @@ -238,6 +240,7 @@ public class EpisodeAction { public Builder(FeedItem item, Action action) { this(item.getFeed().getDownload_url(), item.getMedia().getDownload_url(), action); + this.guid(item.getItemIdentifier()); } public Builder(String podcast, String episode, Action action) {