Clear old path replacement before writing new one + linting

This commit is contained in:
mcarlton00 2024-11-14 07:50:18 -05:00
parent 3e3a79c6bb
commit cea2da2e3c
3 changed files with 10 additions and 4 deletions

View file

@ -32,7 +32,6 @@ class API(object):
except Exception as e:
LOG.warning("Addon appears to not be configured yet: {}".format(e))
def get_playcount(self, played, playcount):
"""Convert Jellyfin played/playcount into
the Kodi equivalent. The playcount is tied to the watch status.