Cleanup up bluray.com and kinopolis providers

This commit is contained in:
Ruud
2012-07-02 23:38:10 +02:00
parent 30dd68720e
commit 4e10fddf95
7 changed files with 33 additions and 47 deletions
@@ -25,7 +25,7 @@ config = [{
},
{
'name': 'rating',
'default': 6.0,
'default': 7.0,
'type': 'float',
},
{
+5 -1
View File
@@ -19,4 +19,8 @@ class Automation(Plugin):
movies = fireEvent('automation.get_movies', merge = True)
for imdb_id in movies:
fireEvent('movie.add', params = {'identifier': imdb_id}, force_readd = False)
prop_name = 'automation.added.%s' % imdb_id
added = Env.prop(prop_name, default = False)
if not added:
fireEvent('movie.add', params = {'identifier': imdb_id}, force_readd = False)
Env.prop(prop_name, True)