Skip to content

Commit

Permalink
feat(lossy): add a warning that lossy web/master transcode require ma…
Browse files Browse the repository at this point in the history
…nual report
  • Loading branch information
DevYukine committed Jan 12, 2024
1 parent b0470f7 commit 784a01f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ async fn handle_url(
return Ok(());
}

if torrent.lossy_web_approved || torrent.lossy_master_approved {
term.write_line(&format!(
"{} Torrent {} in group {} is a lossy web/master release, once you upload a transcode you should report it and get staff approval",
WARNING, torrent_id, group_id
))?;
}

let mut existing_formats = HashSet::new();

group_torrents
Expand Down

0 comments on commit 784a01f

Please sign in to comment.