diff --git a/src/tr-web-control/script/system.js b/src/tr-web-control/script/system.js index 8af1a8e..64753b4 100644 --- a/src/tr-web-control/script/system.js +++ b/src/tr-web-control/script/system.js @@ -2595,7 +2595,9 @@ var system = { } torrent.completeSize = (torrent.totalSize - torrent.leftUntilDone); - torrent.moreInfosTag = true; + if (("files" in torrent) && torrent.files.length > 0) { + torrent.moreInfosTag = true; + } system.fillTorrentBaseInfos(torrent); system.fillTorrentFileList(torrent); system.fillTorrentServerList(torrent); diff --git a/src/tr-web-control/script/transmission.torrents.js b/src/tr-web-control/script/transmission.torrents.js index cb54c03..d6f5251 100644 --- a/src/tr-web-control/script/transmission.torrents.js +++ b/src/tr-web-control/script/transmission.torrents.js @@ -16,7 +16,7 @@ transmission.torrents = { pausedTorrentCount: 0, fields: { base: "id,name,status,hashString,totalSize,percentDone,addedDate,trackerStats,leftUntilDone,rateDownload,rateUpload,recheckProgress" + ",rateDownload,rateUpload,peersGettingFromUs,peersSendingToUs,uploadRatio,uploadedEver,downloadedEver,downloadDir,error,errorString,doneDate,queuePosition,activityDate", - status: "id,status,percentDone,trackerStats,leftUntilDone,rateDownload,rateUpload" + ",rateDownload,rateUpload,peersGettingFromUs,peersSendingToUs,uploadRatio,uploadedEver,downloadedEver,error,errorString,doneDate,queuePosition,activityDate", + status: "id,name,status,totalSize,percentDone,trackerStats,leftUntilDone,rateDownload,rateUpload" + ",rateDownload,rateUpload,peersGettingFromUs,peersSendingToUs,uploadRatio,uploadedEver,downloadedEver,error,errorString,doneDate,queuePosition,activityDate", config: "downloadLimit,downloadLimited,peer-limit,seedIdleLimit,seedIdleMode,seedRatioLimit,seedRatioMode,uploadLimit,uploadLimited" }, // List of all the torrents that have been acquired