diff --git a/src/ptpapi/scripts/ptp_reseed.py b/src/ptpapi/scripts/ptp_reseed.py index 26ba0e0..3db119c 100755 --- a/src/ptpapi/scripts/ptp_reseed.py +++ b/src/ptpapi/scripts/ptp_reseed.py @@ -511,6 +511,8 @@ def process(cli_args): match = match_by_torrent( ptpapi.Torrent(ID=parsed_url["torrentid"][0]), filename.encode() ) + if match: + match.path = filename elif "id" in parsed_url: match = match_by_movie( ptpapi.Movie(ID=parsed_url["id"][0]), filename.encode()