Merge branch 'master' of https://github.com/kodiondemand/addon into master
This commit is contained in:
@@ -49,6 +49,8 @@ def read_nfo(path_nfo, item=None):
|
|||||||
data = "\n".join(data.splitlines()[1:])
|
data = "\n".join(data.splitlines()[1:])
|
||||||
|
|
||||||
it_nfo = Item().fromjson(data)
|
it_nfo = Item().fromjson(data)
|
||||||
|
if not it_nfo.library_playcounts: # may be corrupted
|
||||||
|
it_nfo.library_playcounts = {}
|
||||||
|
|
||||||
if item:
|
if item:
|
||||||
it = item.clone()
|
it = item.clone()
|
||||||
|
|||||||
Reference in New Issue
Block a user