-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent repeat download in single_trailer mode
Previously there was a situation where the script would download multiple trailers, even in single_trailer mode. If a movie only had a "Trailer 2" and no "Trailer 1", the script would download "Trailer 2" in single_trailer mode. Then, if a "Trailer 1" appeared for that movie, the script would have downloaded that trailer as well. This commit changes the behavior so that if the script has downloaded any trailer for a particular movie, it will never download another trailer in single_trailer mode.
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 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