mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-19 06:36:12 +00:00
Clear old path replacement before writing new one + linting
This commit is contained in:
parent
3e3a79c6bb
commit
cea2da2e3c
3 changed files with 10 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue