diff --git a/addon.xml b/addon.xml index e5b1926..e3fd0c7 100644 --- a/addon.xml +++ b/addon.xml @@ -2,7 +2,7 @@ - + @@ -28,6 +28,10 @@ [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.artwork)) + String.IsEmpty(ListItem.Property(item.info)) + + + [String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.addlibrary)) + String.IsEmpty(ListItem.Property(item.info)) + diff --git a/lib/context.py b/lib/context.py index b061413..3ff0432 100644 --- a/lib/context.py +++ b/lib/context.py @@ -68,6 +68,11 @@ 'movie': BASIC_MOVIE, 'tvshow': BASIC_TVSHOW, 'episode': BASIC_EPISODE + }, + 'add_to_library': { + 'movie': BASIC_MOVIE, + 'tvshow': BASIC_TVSHOW, + 'episode': BASIC_EPISODE } }