@@ -224,20 +224,20 @@ def _prettyfilename(self):
224224 # This is just for compat.
225225 return self .title
226226
227- def download (self , savepath = None , keep_orginal_name = False , ** kwargs ):
227+ def download (self , savepath = None , keep_original_name = False , ** kwargs ):
228228 """ Download video files to specified directory.
229229
230230 Parameters:
231231 savepath (str): Defaults to current working dir.
232- keep_orginal_name (bool): True to keep the original file name otherwise
232+ keep_original_name (bool): True to keep the original file name otherwise
233233 a friendlier is generated.
234234 **kwargs: Additional options passed into :func:`~plexapi.base.PlexObject.getStreamURL()`.
235235 """
236236 filepaths = []
237237 locations = [i for i in self .iterParts () if i ]
238238 for location in locations :
239239 name = location .file
240- if not keep_orginal_name :
240+ if not keep_original_name :
241241 title = self .title .replace (' ' , '.' )
242242 name = '%s.%s' % (title , location .container )
243243 if kwargs is not None :
@@ -376,18 +376,18 @@ def get(self, title=None, season=None, episode=None):
376376 """ Alias to :func:`~plexapi.video.Show.episode()`. """
377377 return self .episode (title , season , episode )
378378
379- def download (self , savepath = None , keep_orginal_name = False , ** kwargs ):
379+ def download (self , savepath = None , keep_original_name = False , ** kwargs ):
380380 """ Download video files to specified directory.
381381
382382 Parameters:
383383 savepath (str): Defaults to current working dir.
384- keep_orginal_name (bool): True to keep the original file name otherwise
384+ keep_original_name (bool): True to keep the original file name otherwise
385385 a friendlier is generated.
386386 **kwargs: Additional options passed into :func:`~plexapi.base.PlexObject.getStreamURL()`.
387387 """
388388 filepaths = []
389389 for episode in self .episodes ():
390- filepaths += episode .download (savepath , keep_orginal_name , ** kwargs )
390+ filepaths += episode .download (savepath , keep_original_name , ** kwargs )
391391 return filepaths
392392
393393
@@ -477,18 +477,18 @@ def unwatched(self):
477477 """ Returns list of unwatched :class:`~plexapi.video.Episode` objects. """
478478 return self .episodes (watched = False )
479479
480- def download (self , savepath = None , keep_orginal_name = False , ** kwargs ):
480+ def download (self , savepath = None , keep_original_name = False , ** kwargs ):
481481 """ Download video files to specified directory.
482482
483483 Parameters:
484484 savepath (str): Defaults to current working dir.
485- keep_orginal_name (bool): True to keep the original file name otherwise
485+ keep_original_name (bool): True to keep the original file name otherwise
486486 a friendlier is generated.
487487 **kwargs: Additional options passed into :func:`~plexapi.base.PlexObject.getStreamURL()`.
488488 """
489489 filepaths = []
490490 for episode in self .episodes ():
491- filepaths += episode .download (savepath , keep_orginal_name , ** kwargs )
491+ filepaths += episode .download (savepath , keep_original_name , ** kwargs )
492492 return filepaths
493493
494494 def _defaultSyncTitle (self ):
0 commit comments