-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
// list of possibly R18+ tags | ||
def known_tags = [ | ||
"boys' love (bl)", "gay theme", "yaoi", "yuri", "lesbian", "hentai", | ||
"hentai", "sex", "lgbt", "explicit", "adult animation", "adult content", | ||
] | ||
|
||
// Manual list of known R18+ titles, only add if the title is known to be R18+ | ||
// or have a variant that is R18+ | ||
def known_titles = [ | ||
271026, // Taisho Era Contract Marriage, 2024 | ||
220118, // Sazanami Soushi ni Junketsu wo Sasagu, 2023 | ||
] | ||
|
||
// REQUIRES USER TO SET ADDITIONAL PROPERTY ON FILEBOT | ||
// READ: https://www.filebot.net/forums/viewtopic.php?p=58610#p58610 | ||
def is_adult = any { info.adult } { false } | ||
def is_r18 = any { info.Keywords.findAll { it in known_tags } } { id in known_titles } { is_adult } | ||
is_r18 ? "R18+ " : "" | ||
} |