Skip to content

Commit

Permalink
Update animes-renamer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Arial-Z committed Jan 14, 2023
1 parent 521f99a commit 44bde88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion animes-renamer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MATCH_LOG=$LOG_FOLDER/missing-id.log

# function
function get-mal-id () {
jq ".[] | select( .tvdb_id == ${tvdb_id} ) | .mal_id" -r $SCRIPT_FOLDER/tmp/pmm_anime_ids.json
jq ".[] | select( .tvdb_id == ${tvdb_id} ) | select( .tvdb_season == 1 ) | select( .tvdb_epoffset == 0 ) | .mal_id" -r $SCRIPT_FOLDER/tmp/pmm_anime_ids.json
}
function get-anilist-id () {
jq ".[] | select( .mal_id == ${mal_id} ) | .anilist_id" -r $SCRIPT_FOLDER/tmp/pmm_anime_ids.json
Expand Down

0 comments on commit 44bde88

Please sign in to comment.