Disable more debug output
Disable in fetcher and datamanager
This commit is contained in:
parent
6cb062dd9c
commit
6a256baa18
@ -21,7 +21,7 @@ DataManager::DataManager()
|
|||||||
{
|
{
|
||||||
// connect signals to lambda slots
|
// connect signals to lambda slots
|
||||||
connect(&Fetcher::instance(), &Fetcher::feedDetailsUpdated, this, [this](const QString &url, const QString &name, const QString &image, const QString &link, const QString &description, const QDateTime &lastUpdated) {
|
connect(&Fetcher::instance(), &Fetcher::feedDetailsUpdated, this, [this](const QString &url, const QString &name, const QString &image, const QString &link, const QString &description, const QDateTime &lastUpdated) {
|
||||||
qDebug() << "Start updating feed details" << m_feeds;
|
//qDebug() << "Start updating feed details" << m_feeds;
|
||||||
Feed* feed = getFeed(url);
|
Feed* feed = getFeed(url);
|
||||||
if (feed != nullptr) {
|
if (feed != nullptr) {
|
||||||
feed->setName(name);
|
feed->setName(name);
|
||||||
|
@ -118,7 +118,7 @@ void Fetcher::processFeed(Syndication::FeedPtr feed, const QString &url)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
authorname = otherItems.value(QStringLiteral("http://www.itunes.com/dtds/podcast-1.0.dtdauthor")).text();
|
authorname = otherItems.value(QStringLiteral("http://www.itunes.com/dtds/podcast-1.0.dtdauthor")).text();
|
||||||
qDebug() << "authorname" << authorname;
|
//qDebug() << "authorname" << authorname;
|
||||||
}
|
}
|
||||||
if (!authorname.isEmpty()) processAuthor(url, QLatin1String(""), authorname, QLatin1String(""), authoremail);
|
if (!authorname.isEmpty()) processAuthor(url, QLatin1String(""), authorname, QLatin1String(""), authoremail);
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ void Fetcher::processFeed(Syndication::FeedPtr feed, const QString &url)
|
|||||||
|
|
||||||
bool Fetcher::processEntry(Syndication::ItemPtr entry, const QString &url, const bool &isNewFeed)
|
bool Fetcher::processEntry(Syndication::ItemPtr entry, const QString &url, const bool &isNewFeed)
|
||||||
{
|
{
|
||||||
qDebug() << "Processing" << entry->title();
|
//qDebug() << "Processing" << entry->title();
|
||||||
|
|
||||||
// Retrieve "other" fields; this will include the "itunes" tags
|
// Retrieve "other" fields; this will include the "itunes" tags
|
||||||
QMultiMap<QString, QDomElement> otherItems = entry->additionalProperties();
|
QMultiMap<QString, QDomElement> otherItems = entry->additionalProperties();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user