diff --git a/.github/workflows/create-prepare-release-pr.yaml b/.github/workflows/create-prepare-release-pr.yaml index 094ef647..1c16e39d 100644 --- a/.github/workflows/create-prepare-release-pr.yaml +++ b/.github/workflows/create-prepare-release-pr.yaml @@ -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 diff --git a/jellyfin_kodi/downloader.py b/jellyfin_kodi/downloader.py index b52128c6..fa91c398 100644 --- a/jellyfin_kodi/downloader.py +++ b/jellyfin_kodi/downloader.py @@ -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'][:] diff --git a/jellyfin_kodi/full_sync.py b/jellyfin_kodi/full_sync.py index 9617f9e0..44af7db5 100644 --- a/jellyfin_kodi/full_sync.py +++ b/jellyfin_kodi/full_sync.py @@ -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) diff --git a/jellyfin_kodi/jellyfin/connection_manager.py b/jellyfin_kodi/jellyfin/connection_manager.py index bdba0652..9e562a63 100644 --- a/jellyfin_kodi/jellyfin/connection_manager.py +++ b/jellyfin_kodi/jellyfin/connection_manager.py @@ -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'): diff --git a/jellyfin_kodi/objects/movies.py b/jellyfin_kodi/objects/movies.py index 6406e094..ffcb8fec 100644 --- a/jellyfin_kodi/objects/movies.py +++ b/jellyfin_kodi/objects/movies.py @@ -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'] diff --git a/jellyfin_kodi/objects/tvshows.py b/jellyfin_kodi/objects/tvshows.py index 61809779..3b169e1b 100644 --- a/jellyfin_kodi/objects/tvshows.py +++ b/jellyfin_kodi/objects/tvshows.py @@ -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']