mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
add offcloud download error message
This commit is contained in:
@@ -164,7 +164,7 @@ function statusDownloading(torrent) {
|
||||
}
|
||||
|
||||
function statusError(torrent) {
|
||||
return torrent.status === 'error'
|
||||
return ['error', 'canceled'].includes(torrent.status);
|
||||
}
|
||||
|
||||
function statusReady(torrent) {
|
||||
@@ -172,5 +172,5 @@ function statusReady(torrent) {
|
||||
}
|
||||
|
||||
function errorExpiredSubscriptionError(error) {
|
||||
return error?.includes && (error.includes('not_available') || error.includes('NOAUTH'));
|
||||
return error?.includes && (error.includes('not_available') || error.includes('NOAUTH') || error.includes('premium membership'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user