Merge pull request #691 from kianmeng/fix-typos

Fix typos
This commit is contained in:
Odd Stråbø 2022-11-15 20:50:34 +01:00 committed by GitHub
commit b248961517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 13 deletions

View file

@ -23,7 +23,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Parse Changlog
- name: Parse Changelog
run: |
pip install emoji
cat << EOF >> cl.md

View file

@ -274,7 +274,7 @@ def _get_items(query, server_id=None):
items['Items'].extend(result['Items'])
# Using items to return data and communicate a restore point back to the callee is
# a violation of the SRP. TODO: Seperate responsibilities.
# a violation of the SRP. TODO: Separate responsibilities.
items['RestorePoint'] = query
yield items
del items['Items'][:]

View file

@ -512,7 +512,7 @@ class FullSync(object):
def refresh_boxsets(self, library):
''' Delete all exisitng boxsets and re-add.
''' Delete all existing boxsets and re-add.
'''
with self.video_database_locks() as (videodb, jellyfindb):
obj = Movies(self.server, jellyfindb, videodb, self.direct_path, library)

View file

@ -94,7 +94,7 @@ class ConnectionManager(object):
LOG.info("Failed to login as `"+username+"`")
return {}
LOG.info("Succesfully logged in as %s" % (username))
LOG.info("Successfully logged in as %s" % (username))
# TODO Change when moving to database storage of server details
credentials = self.credentials.get()
@ -267,7 +267,7 @@ class ConnectionManager(object):
return servers
# TODO: Make IPv6 compatable
# TODO: Make IPv6 compatible
def _convert_endpoint_address_to_manual_address(self, info):
if info.get('Address') and info.get('EndpointAddress'):

View file

@ -188,17 +188,17 @@ class Movies(KodiDb):
obj['Path'] = obj['Path'].replace(obj['Filename'], "")
'''check dvd directries and point it to ./VIDEO_TS/VIDEO_TS.IFO'''
'''check dvd directories and point it to ./VIDEO_TS/VIDEO_TS.IFO'''
if validate_dvd_dir(obj['Path'] + obj['Filename']):
obj['Path'] = obj['Path'] + obj['Filename'] + '/VIDEO_TS/'
obj['Filename'] = 'VIDEO_TS.IFO'
LOG.debug("DVD directry %s", obj['Path'])
LOG.debug("DVD directory %s", obj['Path'])
'''check bluray directries and point it to ./BDMV/index.bdmv'''
'''check bluray directories and point it to ./BDMV/index.bdmv'''
if validate_bluray_dir(obj['Path'] + obj['Filename']):
obj['Path'] = obj['Path'] + obj['Filename'] + '/BDMV/'
obj['Filename'] = 'index.bdmv'
LOG.debug("Bluray directry %s", obj['Path'])
LOG.debug("Bluray directory %s", obj['Path'])
else:
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']

View file

@ -411,17 +411,17 @@ class TVShows(KodiDb):
obj['Path'] = obj['Path'].replace(obj['Filename'], "")
'''check dvd directries and point it to ./VIDEO_TS/VIDEO_TS.IFO'''
'''check dvd directories and point it to ./VIDEO_TS/VIDEO_TS.IFO'''
if validate_dvd_dir(obj['Path'] + obj['Filename']):
obj['Path'] = obj['Path'] + obj['Filename'] + '/VIDEO_TS/'
obj['Filename'] = 'VIDEO_TS.IFO'
LOG.debug("DVD directry %s", obj['Path'])
LOG.debug("DVD directory %s", obj['Path'])
'''check bluray directries and point it to ./BDMV/index.bdmv'''
'''check bluray directories and point it to ./BDMV/index.bdmv'''
if validate_bluray_dir(obj['Path'] + obj['Filename']):
obj['Path'] = obj['Path'] + obj['Filename'] + '/BDMV/'
obj['Filename'] = 'index.bdmv'
LOG.debug("Bluray directry %s", obj['Path'])
LOG.debug("Bluray directory %s", obj['Path'])
else:
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['SeriesId']