Fix File .nfo in libreria
This commit is contained in:
@@ -377,6 +377,7 @@ def set_watched_on_kod(data):
|
|||||||
filename = 'tvshow.nfo'
|
filename = 'tvshow.nfo'
|
||||||
|
|
||||||
path = filetools.join(path, filename)
|
path = filetools.join(path, filename)
|
||||||
|
if filetools.exists(path):
|
||||||
head_nfo, item = videolibrarytools.read_nfo(path)
|
head_nfo, item = videolibrarytools.read_nfo(path)
|
||||||
if item.library_playcounts:
|
if item.library_playcounts:
|
||||||
item.library_playcounts.update({title: playcount})
|
item.library_playcounts.update({title: playcount})
|
||||||
|
|||||||
Reference in New Issue
Block a user