success=true will always be in the response: deal with it
This commit is contained in:
parent
3271759fba
commit
9134a231b3
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ MediaHandlers.torrent = MediaHandlers.base.extend({
|
|||
|
||||
download: async function(item) {
|
||||
let status = await this.status(item.url);
|
||||
if (status && Object.keys(status).length) {
|
||||
if (status && Object.keys(status).length > 1) {
|
||||
createNotification({
|
||||
text: 'This torrent is already being downloaded, please play the downloading local media file instead',
|
||||
image: {
|
||||
|
|
Loading…
Reference in a new issue