mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Fix spelling
This commit is contained in:
parent
2ad9f2e35f
commit
c5b60adb33
6 changed files with 15 additions and 15 deletions
|
@ -94,7 +94,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
|||
if clientAgent != 'manual':
|
||||
core.pause_torrent(clientAgent, inputHash, inputID, inputName)
|
||||
|
||||
# Incase input is not directory, make sure to create one.
|
||||
# In case input is not directory, make sure to create one.
|
||||
# This way Processing is isolated.
|
||||
if not os.path.isdir(os.path.join(inputDirectory, inputName)):
|
||||
basename = os.path.basename(inputDirectory)
|
||||
|
@ -170,7 +170,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
|||
logger.debug("Looking for files with modified/created dates less than 5 minutes old.")
|
||||
if (mtime_lapse < datetime.timedelta(minutes=5)) or (ctime_lapse < datetime.timedelta(minutes=5)):
|
||||
foundFile = True
|
||||
logger.debug("Found file {0} with date modifed/created less than 5 minutes ago.".format(fullFileName))
|
||||
logger.debug("Found file {0} with date modified/created less than 5 minutes ago.".format(fullFileName))
|
||||
else:
|
||||
continue # This file has not been recently moved or created, skip it
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@ def buildCommands(file, newDir, movieName, bitbucket):
|
|||
)
|
||||
if w_scale > 1:
|
||||
video_cmd.extend(['-vf', 'scale={width}'.format(width=scale)])
|
||||
else: # lower or mathcing ratio, scale by height only.
|
||||
else: # lower or matching ratio, scale by height only.
|
||||
scale = "{width}:{height}".format(
|
||||
width=int((width / h_scale) / 2) * 2,
|
||||
height=scale.split(':')[1],
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
|
||||
# create a duplicate, or replace the original (0, 1).
|
||||
#
|
||||
# set to 1 to cretae a new file or 0 to replace the original
|
||||
# set to 1 to create a new file or 0 to replace the original
|
||||
# duplicate=1
|
||||
|
||||
# ignore extensions.
|
||||
|
@ -169,12 +169,12 @@
|
|||
|
||||
# allSubLanguages (0,1).
|
||||
#
|
||||
# allSubLanguages. 1 will keep all exisiting sub languages. 0 will discare those not in your list above.
|
||||
# allSubLanguages. 1 will keep all existing sub languages. 0 will discard those not in your list above.
|
||||
# allSubLanguages=0
|
||||
|
||||
# embedSubs (0,1).
|
||||
#
|
||||
# embedSubs. 1 will embded external sub/srt subs into your video if this is supported.
|
||||
# embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
|
||||
# embedSubs=1
|
||||
|
||||
# burnInSubtitle (0,1).
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
# Mylar host.
|
||||
#
|
||||
# The ipaddress for your Mylar server. e.g For the Same system use localhost or 127.0.0.1
|
||||
# The ip address for your Mylar server. e.g For the Same system use localhost or 127.0.0.1
|
||||
# myhost=localhost
|
||||
|
||||
# Mylar port.
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
# NzbDrone host.
|
||||
#
|
||||
# The ipaddress for your NzbDrone/Sonarr server. e.g For the Same system use localhost or 127.0.0.1
|
||||
# The ip address for your NzbDrone/Sonarr server. e.g For the Same system use localhost or 127.0.0.1
|
||||
# ndhost=localhost
|
||||
|
||||
# NzbDrone port.
|
||||
|
@ -124,7 +124,7 @@
|
|||
|
||||
# create a duplicate, or replace the original (0, 1).
|
||||
#
|
||||
# set to 1 to cretae a new file or 0 to replace the original
|
||||
# set to 1 to create a new file or 0 to replace the original
|
||||
# duplicate=1
|
||||
|
||||
# ignore extensions.
|
||||
|
@ -159,12 +159,12 @@
|
|||
|
||||
# allSubLanguages (0,1).
|
||||
#
|
||||
# allSubLanguages. 1 will keep all exisiting sub languages. 0 will discare those not in your list above.
|
||||
# allSubLanguages. 1 will keep all existing sub languages. 0 will discard those not in your list above.
|
||||
# allSubLanguages = 0
|
||||
|
||||
# embedSubs (0,1).
|
||||
#
|
||||
# embedSubs. 1 will embded external sub/srt subs into your video if this is supported.
|
||||
# embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
|
||||
# embedSubs = 1
|
||||
|
||||
# burnInSubtitle (0,1).
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
# SickBeard host.
|
||||
#
|
||||
# The ipaddress for your SickBeard/SickRage server. e.g For the Same system use localhost or 127.0.0.1
|
||||
# The ip address for your SickBeard/SickRage server. e.g For the Same system use localhost or 127.0.0.1
|
||||
# sbhost=localhost
|
||||
|
||||
# SickBeard port.
|
||||
|
@ -137,7 +137,7 @@
|
|||
|
||||
# create a duplicate, or replace the original (0, 1).
|
||||
#
|
||||
# set to 1 to cretae a new file or 0 to replace the original
|
||||
# set to 1 to create a new file or 0 to replace the original
|
||||
# duplicate=1
|
||||
|
||||
# ignore extensions.
|
||||
|
@ -172,12 +172,12 @@
|
|||
|
||||
# allSubLanguages (0,1).
|
||||
#
|
||||
# allSubLanguages. 1 will keep all exisiting sub languages. 0 will discare those not in your list above.
|
||||
# allSubLanguages. 1 will keep all existing sub languages. 0 will discard those not in your list above.
|
||||
# allSubLanguages=0
|
||||
|
||||
# embedSubs (0,1).
|
||||
#
|
||||
# embedSubs. 1 will embded external sub/srt subs into your video if this is supported.
|
||||
# embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
|
||||
# embedSubs=1
|
||||
|
||||
# burnInSubtitle (0,1).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue