mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
Check for magnet links in watched folders.
Look for files ending with ".magnet" and interpret their contents as a magnet link. This allows scripts to collect magnet links from the web and let qBittorrent download them non-interactively.
This commit is contained in:
committed by
Christophe Dumez
parent
acd4b64a8b
commit
55a6bc3855
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
public slots:
|
||||
QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false);
|
||||
QTorrentHandle addMagnetUri(QString magnet_uri, bool resumed=false);
|
||||
QTorrentHandle addMagnetUri(QString magnet_uri, bool resumed=false, bool fromScanDir=false, const QString &filePath=QString());
|
||||
void loadSessionState();
|
||||
void saveSessionState();
|
||||
void downloadFromUrl(const QString &url, const QList<QNetworkCookie>& cookies = QList<QNetworkCookie>());
|
||||
|
||||
Reference in New Issue
Block a user