MythTV
master
|
#include <QString>
#include <QDateTime>
#include "mythbaseexp.h"
#include "rssparse.h"
#include "netgrabbermanager.h"
#include "rssmanager.h"
Go to the source code of this file.
MBASE_PUBLIC QString GetDownloadFilename | ( | const QString & | title, |
const QString & | url | ||
) |
Definition at line 853 of file netutils.cpp.
Referenced by NetBase::DoDeleteVideo(), NetBase::DoDownloadAndPlay(), NetBase::DoPlayVideo(), NetSearch::ShowMenu(), and NetTree::UpdateCurrentItem().
MBASE_PUBLIC bool findTreeGrabberInDB | ( | const QString & | commandline, |
ArticleType | type | ||
) |
Definition at line 11 of file netutils.cpp.
Referenced by TreeEditor::FindGrabberInDB().
MBASE_PUBLIC GrabberScript* findTreeGrabberByCommand | ( | const QString & | url, |
ArticleType | type | ||
) |
Definition at line 51 of file netutils.cpp.
MBASE_PUBLIC GrabberScript::scriptList findAllDBTreeGrabbersByHost | ( | ArticleType | type | ) |
Definition at line 149 of file netutils.cpp.
Referenced by NetTree::Load().
MBASE_PUBLIC GrabberScript::scriptList findAllDBTreeGrabbers | ( | void | ) |
Definition at line 115 of file netutils.cpp.
Referenced by GrabberDownloadThread::run(), and NetTree::TreeRefresh().
MBASE_PUBLIC bool findSearchGrabberInDB | ( | const QString & | commandline, |
ArticleType | type | ||
) |
Definition at line 31 of file netutils.cpp.
Referenced by SearchEditor::FindGrabberInDB().
MBASE_PUBLIC GrabberScript* findSearchGrabberByCommand | ( | const QString & | url, |
ArticleType | type | ||
) |
Definition at line 83 of file netutils.cpp.
MBASE_PUBLIC GrabberScript::scriptList findAllDBSearchGrabbers | ( | ArticleType | type | ) |
Definition at line 184 of file netutils.cpp.
Referenced by NetSearch::DoListRefresh(), and NetSearch::Load().
MBASE_PUBLIC bool markTreeUpdated | ( | GrabberScript * | script, |
const QDateTime & | curTime | ||
) |
Definition at line 314 of file netutils.cpp.
Referenced by GrabberScript::run().
MBASE_PUBLIC bool needsUpdate | ( | GrabberScript * | script, |
std::chrono::hours | updateFreq | ||
) |
Definition at line 330 of file netutils.cpp.
Referenced by GrabberDownloadThread::run().
MBASE_PUBLIC QDateTime lastUpdate | ( | GrabberScript * | script | ) |
Definition at line 338 of file netutils.cpp.
Referenced by needsUpdate(), and MusicMetadata::updateStreamList().
MBASE_PUBLIC bool clearTreeItems | ( | const QString & | feedcommand | ) |
Definition at line 360 of file netutils.cpp.
Referenced by TreeEditor::RemoveFromDB(), and GrabberScript::run().
MBASE_PUBLIC bool isTreeInUse | ( | const QString & | feedcommand | ) |
Definition at line 379 of file netutils.cpp.
Referenced by TreeEditor::RemoveFromDB().
MBASE_PUBLIC bool insertTreeArticleInDB | ( | const QString & | feedtitle, |
const QString & | path, | ||
const QString & | paththumb, | ||
ResultItem * | item, | ||
ArticleType | type | ||
) |
Definition at line 399 of file netutils.cpp.
Referenced by GrabberScript::parseDBTree().
MBASE_PUBLIC QMultiMap<QPair<QString,QString>, ResultItem*> getTreeArticles | ( | const QString & | feedtitle, |
ArticleType | type | ||
) |
Definition at line 463 of file netutils.cpp.
Referenced by NetTree::FillTree().
MBASE_PUBLIC bool insertTreeInDB | ( | GrabberScript * | script, |
ArticleType | type | ||
) |
Definition at line 230 of file netutils.cpp.
Referenced by TreeEditor::InsertInDB().
MBASE_PUBLIC bool insertSearchInDB | ( | GrabberScript * | script, |
ArticleType | type | ||
) |
Definition at line 219 of file netutils.cpp.
Referenced by SearchEditor::InsertInDB().
MBASE_PUBLIC bool insertGrabberInDB | ( | const QString & | name, |
const QString & | thumbnail, | ||
ArticleType | type, | ||
const QString & | author, | ||
const QString & | description, | ||
const QString & | commandline, | ||
double | version, | ||
bool | search, | ||
bool | tree, | ||
bool | podcast | ||
) |
Definition at line 241 of file netutils.cpp.
Referenced by insertSearchInDB(), and insertTreeInDB().
MBASE_PUBLIC bool removeTreeFromDB | ( | GrabberScript * | script | ) |
Definition at line 276 of file netutils.cpp.
Referenced by TreeEditor::RemoveFromDB().
MBASE_PUBLIC bool removeSearchFromDB | ( | GrabberScript * | script | ) |
Definition at line 283 of file netutils.cpp.
Referenced by SearchEditor::RemoveFromDB().
MBASE_PUBLIC bool removeGrabberFromDB | ( | const QString & | commandline, |
bool | search | ||
) |
Definition at line 290 of file netutils.cpp.
Referenced by removeSearchFromDB(), and removeTreeFromDB().
MBASE_PUBLIC bool findInDB | ( | const QString & | url, |
ArticleType | type | ||
) |
Definition at line 527 of file netutils.cpp.
Referenced by insertInDB(), and MythNewsConfig::populateSites().
MBASE_PUBLIC RSSSite* findByURL | ( | const QString & | url, |
ArticleType | type | ||
) |
Definition at line 542 of file netutils.cpp.
Referenced by RSSEditPopup::Create().
MBASE_PUBLIC RSSSite::rssList findAllDBRSS | ( | void | ) |
Definition at line 610 of file netutils.cpp.
Referenced by RSSManager::doUpdate(), NetTree::Load(), RSSEditor::LoadData(), main(), NetTree::TreeRefresh(), and NetTree::UpdateRSS().
MBASE_PUBLIC RSSSite::rssList findAllDBRSSByType | ( | ArticleType | type | ) |
Definition at line 577 of file netutils.cpp.
MBASE_PUBLIC bool insertInDB | ( | RSSSite * | site | ) |
Definition at line 643 of file netutils.cpp.
Referenced by insertInDB(), RSSEditPopup::ParseAndSave(), MythNewsEditor::Save(), RSSEditPopup::SlotSave(), and MythNewsConfig::toggleItem().
MBASE_PUBLIC bool insertInDB | ( | const QString & | name, |
const QString & | sortname, | ||
const QString & | thumbnail, | ||
const QString & | description, | ||
const QString & | url, | ||
const QString & | author, | ||
bool | download, | ||
const QDateTime & | updated, | ||
ArticleType | type | ||
) |
Definition at line 653 of file netutils.cpp.
MBASE_PUBLIC bool removeFromDB | ( | RSSSite * | site | ) |
Definition at line 685 of file netutils.cpp.
Referenced by MythNews::deleteNewsSite(), RSSEditor::DoDeleteSite(), RSSEditPopup::ParseAndSave(), removeFromDB(), MythNewsEditor::Save(), and MythNewsConfig::toggleItem().
MBASE_PUBLIC bool removeFromDB | ( | const QString & | url, |
ArticleType | type | ||
) |
Definition at line 692 of file netutils.cpp.
MBASE_PUBLIC void markUpdated | ( | RSSSite * | site | ) |
Definition at line 707 of file netutils.cpp.
Referenced by RSSManager::slotRSSRetrieved().
MBASE_PUBLIC bool clearRSSArticles | ( | const QString & | feedtitle, |
ArticleType | type | ||
) |
Definition at line 721 of file netutils.cpp.
Referenced by RSSManager::processAndInsertRSS().
MBASE_PUBLIC bool insertRSSArticleInDB | ( | const QString & | feedtitle, |
ResultItem * | item, | ||
ArticleType | type | ||
) |
Definition at line 741 of file netutils.cpp.
Referenced by RSSManager::processAndInsertRSS().
MBASE_PUBLIC ResultItem::resultList getRSSArticles | ( | const QString & | feedtitle, |
ArticleType | type | ||
) |
Definition at line 796 of file netutils.cpp.
Referenced by NetTree::FillTree().