mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Fix typos
Found via `codespell -S resources`
This commit is contained in:
parent
7b1768f654
commit
1f48b62a93
6 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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'][:]
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'):
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue