little fix on mark as watched

This commit is contained in:
mac12m99
2019-06-04 21:17:06 +02:00
parent 7591a9e206
commit fb5f18a4c3

View File

@@ -722,7 +722,7 @@ def mark_content_as_watched2(item):
if name_file != 'tvshow' :
it.library_playcounts.update({name_file: item.playcount})
if item.contentType == 'episode' or item.contentType == 'list' or name_file == 'tvshow':
if item.contentType == 'episode' or item.contentType == 'tvshow' or item.contentType == 'list' or name_file == 'tvshow':
# elif item.contentType == 'episode':
name_file = os.path.splitext(os.path.basename(item.strm_path))[0]
num_season = name_file [0]