Filter virtual episodes

This commit is contained in:
angelblue05 2016-09-02 16:42:25 -05:00
parent 6a2ea9a4dd
commit e38bb21a25

View file

@ -657,6 +657,10 @@ class MusicVideos(Items):
artwork = self.artwork artwork = self.artwork
API = api.API(item) API = api.API(item)
if item.get('LocationType') == "Virtual": # TODO: Filter via api instead
log.info("Skipping virtual episode: %s", item['Name'])
return
# If the item already exist in the local Kodi DB we'll perform a full item update # If the item already exist in the local Kodi DB we'll perform a full item update
# If the item doesn't exist, we'll add it to the database # If the item doesn't exist, we'll add it to the database
update_item = True update_item = True