Skip to content

Commit

Permalink
torrent WEBUI for #546
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Jul 6, 2016
1 parent 77dc235 commit 1b226c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/services/TorrentClients/uTorrentWebUI.js
Expand Up @@ -36,6 +36,9 @@ uTorrentWebUIData.extends(TorrentData, {
return results;
}.bind(this));
},
getDownloadDir: function() {
return this.download_dir;
},
isStarted: function() {
return this.status % 2 === 1;
}
Expand Down Expand Up @@ -122,7 +125,8 @@ DuckieTorrent.factory('uTorrentWebUIRemote', ["BaseTorrentRemote",
stream_id: torrent[22],
added_on: torrent[23],
completed_on: torrent[24],
app_update_url: torrent[25]
app_update_url: torrent[25],
download_dir: torrent[26]
};
});
});
Expand Down

0 comments on commit 1b226c8

Please sign in to comment.