mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
FEATURE: Added support for BitComet links (bc://bt/...)
This commit is contained in:
parent
7a2c0d5d5a
commit
3d4c1fe7da
9 changed files with 43 additions and 3 deletions
|
@ -333,6 +333,10 @@ void HttpConnection::respondCommand(QString command)
|
|||
foreach(QString url, list){
|
||||
url = url.trimmed();
|
||||
if(!url.isEmpty()){
|
||||
if(url.startsWith("bc://bt/", Qt::CaseInsensitive)) {
|
||||
qDebug("Converting bc link to magnet link");
|
||||
url = misc::bcLinkToMagnet(url);
|
||||
}
|
||||
if(url.startsWith("magnet:", Qt::CaseInsensitive)) {
|
||||
emit MagnetReadyToBeDownloaded(url);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue