diff --git a/src/updatefeedjob.cpp b/src/updatefeedjob.cpp index 3472c1b5..cd8265f1 100644 --- a/src/updatefeedjob.cpp +++ b/src/updatefeedjob.cpp @@ -221,14 +221,6 @@ bool UpdateFeedJob::processEntry(Syndication::ItemPtr entry) { qCDebug(kastsFetcher) << "Processing" << entry->title(); - // Retrieve "other" fields; this will include the "itunes" tags - QMultiMap otherItems = entry->additionalProperties(); - - for (QString key : otherItems.uniqueKeys()) { - qCDebug(kastsFetcher) << "other elements"; - qCDebug(kastsFetcher) << key << otherItems.value(key).tagName(); - } - // check against existing entries in database if (m_existingEntryIds.contains(entry->id())) return false; @@ -239,6 +231,14 @@ bool UpdateFeedJob::processEntry(Syndication::ItemPtr entry) return false; // entry already exists } + // Retrieve "other" fields; this will include the "itunes" tags + QMultiMap otherItems = entry->additionalProperties(); + + for (QString key : otherItems.uniqueKeys()) { + qCDebug(kastsFetcher) << "other elements"; + qCDebug(kastsFetcher) << key << otherItems.value(key).tagName(); + } + EntryDetails entryDetails; entryDetails.feed = m_url; entryDetails.id = entry->id();