diff --git a/lib/general.py b/lib/general.py index 053ba12..ff81b16 100644 --- a/lib/general.py +++ b/lib/general.py @@ -179,7 +179,7 @@ def item_set_info( line_item, properties ): if KODI_VERSION > 19.8: vidtag = line_item.getVideoInfoTag() if properties.get( 'year' ): - vidtag.setYear( properties.get( 'year' ) ) + vidtag.setYear( int( properties.get( 'year' ) ) ) if properties.get( 'episode' ): vidtag.setEpisode( properties.get( 'episode' ) ) if properties.get( 'season' ): diff --git a/main.py b/main.py index eb58bbd..67e5136 100644 --- a/main.py +++ b/main.py @@ -262,14 +262,18 @@ def dir_list_create( data, cat, video_type='video', search = False, play=0 ): if videos: amount = len(videos) for link, img, year, month, day, title, channel_link, channel_name in videos: + + info_labels = {} + if '