Revert "Don't list collections/sets also as Kodi tags"

This reverts commit 3f1da3c1ea.
This commit is contained in:
croneter 2018-02-25 13:25:31 +01:00
parent 3f1da3c1ea
commit eb0d1d21bb

View file

@ -447,6 +447,7 @@ class Movies(Items):
self.kodi_db.addStudios(movieid, studios, "movie") self.kodi_db.addStudios(movieid, studios, "movie")
# Process tags: view, Plex collection tags # Process tags: view, Plex collection tags
tags = [viewtag] tags = [viewtag]
tags.extend(collections)
if userdata['Favorite']: if userdata['Favorite']:
tags.append("Favorite movies") tags.append("Favorite movies")
self.kodi_db.addTags(movieid, tags, "movie") self.kodi_db.addTags(movieid, tags, "movie")
@ -735,6 +736,7 @@ class TVShows(Items):
self.kodi_db.addStudios(showid, studios, "tvshow") self.kodi_db.addStudios(showid, studios, "tvshow")
# Process tags: view, PMS collection tags # Process tags: view, PMS collection tags
tags = [viewtag] tags = [viewtag]
tags.extend(collections)
self.kodi_db.addTags(showid, tags, "tvshow") self.kodi_db.addTags(showid, tags, "tvshow")
@catch_exceptions(warnuser=True) @catch_exceptions(warnuser=True)