Skip to content

Commit

Permalink
Merge pull request #10 from noxxusnx/fix-release-group-tag
Browse files Browse the repository at this point in the history
pass filename without path to guessit when getting tag
  • Loading branch information
edge20200 authored Jun 8, 2024
2 parents 99a080d + d063c7a commit e860c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ def is_3d(self, mi, bdinfo):

def get_tag(self, video, meta):
try:
tag = guessit(video)['release_group']
tag = guessit(os.path.basename(video))['release_group']
tag = f"-{tag}"
except:
tag = ""
Expand Down

0 comments on commit e860c14

Please sign in to comment.