do not update language for rarbg
This commit is contained in:
parent
d2b01e7727
commit
2094975d61
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ async function checkAndUpdateTorrent(torrent) {
|
|||
storedTorrent.provider = torrent.provider;
|
||||
storedTorrent.torrentId = torrent.torrentId;
|
||||
}
|
||||
if (!storedTorrent.languages && torrent.languages) {
|
||||
if (!storedTorrent.languages && torrent.languages && storedTorrent.provider !== 'RARBG') {
|
||||
storedTorrent.languages = torrent.languages;
|
||||
storedTorrent.save();
|
||||
console.log(`Updated [${torrent.infoHash}] ${torrent.title} language to ${torrent.languages}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue