Make minimal movie automation clearer. fix #1923
This commit is contained in:
@@ -11,7 +11,7 @@ config = [{
|
|||||||
'list': 'automation_providers',
|
'list': 'automation_providers',
|
||||||
'name': 'bluray_automation',
|
'name': 'bluray_automation',
|
||||||
'label': 'Blu-ray.com',
|
'label': 'Blu-ray.com',
|
||||||
'description': 'Imports movies from blu-ray.com. (uses minimal requirements)',
|
'description': 'Imports movies from blu-ray.com.',
|
||||||
'options': [
|
'options': [
|
||||||
{
|
{
|
||||||
'name': 'automation_enabled',
|
'name': 'automation_enabled',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ config = [{
|
|||||||
'list': 'automation_providers',
|
'list': 'automation_providers',
|
||||||
'name': 'itunes_automation',
|
'name': 'itunes_automation',
|
||||||
'label': 'iTunes',
|
'label': 'iTunes',
|
||||||
'description': 'From any <a href="http://itunes.apple.com/rss">iTunes</a> Store feed. Url should be the RSS link. (uses minimal requirements)',
|
'description': 'From any <a href="http://itunes.apple.com/rss">iTunes</a> Store feed. Url should be the RSS link.',
|
||||||
'options': [
|
'options': [
|
||||||
{
|
{
|
||||||
'name': 'automation_enabled',
|
'name': 'automation_enabled',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ config = [{
|
|||||||
'list': 'automation_providers',
|
'list': 'automation_providers',
|
||||||
'name': 'kinepolis_automation',
|
'name': 'kinepolis_automation',
|
||||||
'label': 'Kinepolis',
|
'label': 'Kinepolis',
|
||||||
'description': 'Imports movies from the current top 10 of kinepolis. (uses minimal requirements)',
|
'description': 'Imports movies from the current top 10 of kinepolis.',
|
||||||
'options': [
|
'options': [
|
||||||
{
|
{
|
||||||
'name': 'automation_enabled',
|
'name': 'automation_enabled',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ config = [{
|
|||||||
'list': 'automation_providers',
|
'list': 'automation_providers',
|
||||||
'name': 'moviemeter_automation',
|
'name': 'moviemeter_automation',
|
||||||
'label': 'Moviemeter',
|
'label': 'Moviemeter',
|
||||||
'description': 'Imports movies from the current top 10 of moviemeter.nl. (uses minimal requirements)',
|
'description': 'Imports movies from the current top 10 of moviemeter.nl.',
|
||||||
'options': [
|
'options': [
|
||||||
{
|
{
|
||||||
'name': 'automation_enabled',
|
'name': 'automation_enabled',
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ config = [{
|
|||||||
{
|
{
|
||||||
'name': 'tomatometer_percent',
|
'name': 'tomatometer_percent',
|
||||||
'default': '80',
|
'default': '80',
|
||||||
'label': 'Tomatometer'
|
'label': 'Tomatometer',
|
||||||
|
'description': 'Use as extra scoring requirement',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class Rottentomatoes(Automation, RSS):
|
|||||||
year = datetime.datetime.now().strftime("%Y")
|
year = datetime.datetime.now().strftime("%Y")
|
||||||
imdb = self.search(name, year)
|
imdb = self.search(name, year)
|
||||||
|
|
||||||
if imdb:
|
if imdb and self.isMinimalMovie(imdb):
|
||||||
movies.append(imdb['imdb'])
|
movies.append(imdb['imdb'])
|
||||||
|
|
||||||
return movies
|
return movies
|
||||||
|
|||||||
Reference in New Issue
Block a user