Skip to content

Commit

Permalink
Add auto ID tag for some ambiguous titles
Browse files Browse the repository at this point in the history
  • Loading branch information
nattadasu committed Aug 7, 2024
1 parent f17f1eb commit ef02d2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common_tv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
is_anime ? "Videos/Anime/" : "Videos/TV Series/"
}
@./medianame.groovy
@./forceshowid_tv.groovy
@./season.groovy
@./filename_tv.groovy
@./filename_tv.groovy
7 changes: 7 additions & 0 deletions forceshowid_tv.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
def show_id = [
239779, 112888
]
def is_id_matches = show_id.find { curr_id -> tmdbid == curr_id } ?: ""
is_id_matches ? " ($y) [tmdbid-$is_id_matches]" : ""
}

0 comments on commit ef02d2c

Please sign in to comment.